Install
openclaw skills install repo-agent-briefGenerate concise, safety-aware repository orientation briefs with repo-agent-brief/agent-brief before coding-agent work, reviews, handoffs, PR analysis, unfamiliar repo edits, diff-aware branch handoffs, or when an agent needs stack/commands/context/risk signals before changing files.
openclaw skills install repo-agent-briefUse repo-agent-brief to orient an agent before it edits or reviews a repository. It finds high-signal context files, infers stack/commands, builds a compact repo map, and flags obvious secret/risky-instruction patterns.
From the repository root:
npx repo-agent-brief . > AGENT_BRIEF.md
sed -n '1,220p' AGENT_BRIEF.md
For in-progress branches:
npx repo-agent-brief . --diff origin/main > AGENT_HANDOFF.md
sed -n '1,260p' AGENT_HANDOFF.md
For machine-readable automation:
npx repo-agent-brief . --format json > agent-brief.json
--fail-on-high-risk in CI or strict agent workflows.npx repo-agent-brief .
npx repo-agent-brief . --diff HEAD
npx repo-agent-brief . --diff origin/main --fail-on-high-risk
npx repo-agent-brief . --no-snippets