Install
openclaw skills install @myd2002/eval-repoFetch GitHub repository metadata and project files, generate an evidence-based repository evaluation, and save the evaluation into the target knowledge base.
openclaw skills install @myd2002/eval-repo当用户发 GitHub 仓库并要求“评估/值不值得/能不能复现/环境怎么配”时,抓取 README、依赖和元信息,结合目标知识库上下文生成评估报告并保存。
Activate when:
Do NOT activate when:
ingest_documentbatch_compilepython3 scripts/fetch_github.py --url "<github repo url>"
脚本返回 text_path,里面包含 README、依赖文件和仓库元信息。
先解析目标:
python3 scripts/resolve_eval_target.py \
--sender_id <SenderId> \
--chat_type <ChatType> \
--chat_id <GroupSubject> \
--message_sid <MessageSid>
目标规则:
GroupSubject -> chat_bindings.json 找到团队,默认保存到该团队知识库必须包含:
python3 scripts/save_eval.py \
--owner <owner> --repo <repo> \
--title "<标题>" \
--eval_file /tmp/paperkb/draft_eval.md \
--brief "<简介>" \
--keywords "关键词1,关键词2" \
--score 8 \
--source_url "<github url>"
回复必须给:
resolve_eval_target.py:解析私聊/群聊保存目标chat_context.py:解析 OpenClaw 群聊上下文和群绑定fetch_github.py:抓取 GitHub 仓库信息save_eval.py:保存 GitHub 评估