init
@outlinedriven · 收录于 1 周前
Analyzes a codebase and creates or improves an AGENTS.md file. Use when onboarding to a repo, capturing hidden conventions, or preserving hard-to-rediscover constraints and rationale.
适合你,如果需要在接手项目时快速了解代码库的约定和约束。
/ 下载安装
用别的 agent?下载 .zip 解压,把文件夹放进它的技能目录
Claude Code
~/.claude/skills/(项目级 .claude/skills/)Codex CLI
~/.codex/skills/Cursor自动读取上面两处目录
其他工具见其文档的「skills」目录;两个下载是同一份文件,只是名字不同
/ 通过 npx 安装 校验哈希
npx oh-my-skill add outlinedriven/odin-claude-plugin/init/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- outlinedriven/odin-claude-plugin/init/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify outlinedriven/odin-claude-plugin/init安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
28GitHub stars
待重算上下文体积
镜像托管
怎么用
技能原文 SKILL.md
Init - AGENTS.md Generator
Analyze this codebase and create or improve an AGENTS.md file for future ODIN Code Agent instances.
Core principle
Only encode knowledge that is expensive to rediscover. An agent can fd, rg, ast-grep, and read files in seconds. If the information is one search away, omit it.
Objective guard
AGENTS.md is for priming and guiding future agents with conventions, constraints, and rationale. It is not a repository summary.
What to include
- Cross-cutting conventions and boundaries that span multiple files.
- Implicit contracts and operational constraints that are easy to miss in quick code exploration.
- Non-obvious command guidance only when hidden constraints matter (required ordering, flags, env vars, caveats).
- For each included item, state:
- the rule or constraint
- why it exists (rationale)
What to omit (the agent can discover these)
- File trees, per-directory descriptions, or component inventories.
- Dependency/version tables.
- Generic development best practices.
- Information that is easily discoverable via search/read.
- Fabricated filler sections such as "Common Development Tasks", "Tips", or "Support".
- Any summary-style prose that restates code organization without conventions or rationale.
Workflow
- If
AGENTS.mdalready exists, suggest targeted improvements instead of rewriting. - Do not repeat yourself. Each fact appears once.
- Every statement must be grounded in files you actually read. Never invent.
- If uncertain, omit the claim rather than speculate.
按 Apache-2.0 许可原样转载,未经改动 · 在 GitHub 查看 →
评论
登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。
…