- name
SKILL.md
技能文件保留在发布者的仓库中。
在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add omagents/omagents --skill init-deep -a cursor -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add omagents/omagents --skill init-deep -a claude-code -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add omagents/omagents --skill init-deep -a codex -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add omagents/omagents --skill init-deep -a grok -y在 Grok Bot 聊天中发送复制的消息。Bot 会从 GitHub 获取这个 SKILL.md,并添加到你所有 Bot 共享的技能中。
Install this skill: https://github.com/omagents/omagents/tree/HEAD/packages/core/skills/init-deep来自发布者
Generate hierarchical AGENTS.md files so agents auto-read relevant context per directory, reducing token usage and improving accuracy.
/init-deep, "generate AGENTS.md", or "set up agent context"project/
├── AGENTS.md ← project-wide context
├── src/
│ ├── AGENTS.md ← src-specific context
│ └── components/
│ └── AGENTS.md ← component-specific context
Each AGENTS.md is scoped to its directory. Agents entering a subdirectory read only that context plus the root.
ls, glob)package.json, pyproject.toml, Cargo.toml, go.mod, README.md, existing AGENTS.mdInclude:
Create AGENTS.md for directories that:
Do NOT create AGENTS.md for:
assets/, public/)node_modules/, .git/, dist/, build/For each identified subdirectory, include:
npm test or pytest tests/Auto-generate hierarchical AGENTS.md files throughout a project. Trigger when the user says 'init-deep', 'generate AGENTS.md', or wants to set up project context for AI agents. Scans the codebase and
---name: init-deepdescription: Auto-generate hierarchical AGENTS.md files throughout a project. Trigger when the user says 'init-deep'…---# packages/core/skills/init-deep/SKILL.md概览
Auto-generate hierarchical AGENTS.md files throughout a project. Trigger when the user says 'init-deep', 'generate AGENTS.md', or wants to set up project context for AI agents. Scans the codebase and creates context files at each meaningful directory level.
常见问题
从发布者处下载 packages/core/skills/init-deep/SKILL.md,或复制路径后打开仓库。PlugMCP 只收录该技能,不托管文件。
发布者将它存放在 https://github.com/omagents/omagents。
Claude、Cursor、Codex 和 Grok Build 可以读取你从发布者仓库添加的 SKILL.md。在聊天中发送技能的 GitHub 文件夹链接,Grok Bot 就会安装它。