- 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 就會安裝它。