Repo Agent Brief
/install repo-agent-brief
Repo Agent Brief Skill
Use 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.
Default workflow
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
When to use
- First pass in an unfamiliar repo.
- Before delegating to a coding agent.
- PR/branch handoff where changed files matter.
- Safety preflight before touching CI, migrations, deploy scripts, auth, or config.
Safety
- This is not a full secret scanner. Use Gitleaks/TruffleHog for full audits.
- If high-risk patterns are found, inspect before proceeding.
- Use
--fail-on-high-riskin CI or strict agent workflows. - Generated briefs may include snippets from repo context files; avoid posting publicly without review.
Useful commands
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
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install repo-agent-brief - 安装完成后,直接呼叫该 Skill 的名称或使用
/repo-agent-brief触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Repo Agent Brief 是什么?
Generate concise, safety-aware repository orientation briefs with repo-agent-brief/agent-brief before coding-agent work, reviews, handoffs, PR analysis, unfa... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 10 次。
如何安装 Repo Agent Brief?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install repo-agent-brief」即可一键安装,无需额外配置。
Repo Agent Brief 是免费的吗?
是的,Repo Agent Brief 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Repo Agent Brief 支持哪些平台?
Repo Agent Brief 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Repo Agent Brief?
由 BuiltByEcho(@builtbyecho)开发并维护,当前版本 v0.2.1。