Side-effect-free distillation of a single OpenClaw PR into a short intent memo (stdout-only).
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "distill-pr-intent" 技能: 1. 下载 https://raw.githubusercontent.com/openclaw/clawdinators/main/clawdinator/workspace/skills/distill-pr-intent/SKILL.md 2. 保存为 ~/.claude/skills/distill-pr-intent/SKILL.md 3. 装好后重载技能,告诉我可以用了
Given one PR number in openclaw/openclaw, output a short memo answering:
What was the author trying to accomplish (motivation / problem framing / bet), as evidenced by the code change?
openclaw/openclaw).PR INTENT (openclaw#<PR>)
<free prose, up to ~5 sentences; keep under ~10 lines>
cd /var/lib/clawd/repos/openclaw
scripts/pr review-init <PR>
scripts/pr review-checkout-pr <PR>
source .local/review-context.env
git diff --name-status "$MERGE_BASE"..HEAD > .local/intent.name-status.txt
git diff --stat "$MERGE_BASE"..HEAD > .local/intent.stat.txt
# Patch budget: 200KB
patch_bytes=$(git diff "$MERGE_BASE"..HEAD | wc -c | tr -d ' ')
if [ "$patch_bytes" -le 200000 ]; then
git diff "$MERGE_BASE"..HEAD > .local/intent.patch.txt
echo PATCH_OK > .local/intent.patch-mode.txt
else
: > .local/intent.patch.txt
echo TOO_LONG > .local/intent.patch-mode.txt
fi
PATCH_OK: infer intent from .local/intent.patch.txt.TOO_LONG: infer intent from .local/intent.name-status.txt + .local/intent.stat.txt.If multiple intents exist, mention 2–3 briefly.
If nothing coherent: say Intent unclear: ....
Run PR intent distillation across a PR set and persist outputs + sidecar metadata to /memory/pr-intent.
Control CLAWDINATOR fleet lifecycle via the control API. Use for /fleet deploy or /fleet status.
Land an OpenClaw PR end-to-end using the repo landpr checklist. Use when someone requests “/landpr” or asks to merge/land a PR.
Monitor Discord channel activity and persist notable items to memory. Run from main session during heartbeat.
Analyze GitHub and Discord signals to prioritize maintainer attention. Use when asked about priorities, what's hot, what needs attention, or project status.
Summarize CodexBar local cost logs by model for Codex or Claude, including current or full breakdowns.