github-fetcher
根据 GitHub URL 获取并分析代码库内容,支持自动提取仓库信息。
下载 16
自动分析 GitHub 仓库发布内容并生成摘要,支持手动与定时任务模式。
openclaw skills install @stoner-byte/github-release-analyzer命令、参数、文件名以原文为准
使用此技能作为固定流程:
准备 -> 摘要 -> 渲染 -> 交付 -> 提交只有 摘要 步骤为自由格式。准备、渲染 和 提交 均为确定性脚本步骤。
https://github.com/<所有者>/<仓库> 或 <所有者>/<仓库>stateKey:{所有者}__{仓库}default- 手动模式:仅最新正式发布版本,不读写状态
- 定时任务模式:仅正式发布版本,首次运行选择最新版本,后续运行选择未处理版本
references/execution-modes.md 并选择 manual 或 cron 模式。python3 skills/github-release-analyzer/scripts/run.py prepare --repo <仓库> --mode <manual|cron>常用参数:
--state-key <键>--limit <数量>--include-prerelease--output-template default--initial-cron-behavior latest-onlystatus=has_updates,读取 references/summary-contract.md,为每个选中的发布版本生成一条摘要字符串。保持摘要语言与调用指令的主语言一致。
python3 skills/github-release-analyzer/scripts/run.py render --repo <仓库> --mode <manual|cron> < payload.json构建 render 的输入数据时,请保留 render 所需的发布字段,特别是 tag_name、published_at 和 html_url。
python3 skills/github-release-analyzer/scripts/run.py commit \
--repo <仓库> \
--mode cron \
--processed-tags <逗号分隔的标签列表> \
--latest-release-id <ID> \
--latest-published-at <ISO8601 格式时间>prepare 的输出视为选择、排序、首次运行行为、仓库规范化和状态路径的唯一依据。render。 - 若 status=no_update 或 status=no_release,返回 NO_REPLY
- 若 status=has_updates,仅输出最终渲染的消息
prepare 步骤。render 步骤。prepare 选定的发布版本。commit。commit。summaries[] 字符串数组格式。status=no_update 或 status=no_release 时,必须精确返回 NO_REPLY。references/execution-modes.mdreferences/summary-contract.mdreferences/templates.mdreferences/state-format.md已收录 1 个 Skill