·hierarchical-agents
{}

hierarchical-agents

為程式碼庫產生分層 AGENTS.md 結構,以最佳化 AI 代理令牌的使用。在建立 AGENTS.md 檔案、記錄程式碼庫結構、設定代理程式指導、組織 AI 工具的專案文件、實作 JIT 索引或使用需要輕量級根指導和詳細子資料夾文件的 monorepos 時使用。涵蓋儲存庫分析、根 AGENTS.md 產生、子資料夾 AGENTS.md 建立以及令牌高效能文件模式。

23安裝·0熱度·@majesticlabs-dev

安裝

$npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill hierarchical-agents

如何安裝 hierarchical-agents

透過命令列快速安裝 hierarchical-agents AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill hierarchical-agents
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:majesticlabs-dev/majestic-marketplace。

SKILL.md

查看原文

Create a hierarchical AGENTS.md system for codebases that enables AI coding agents to work efficiently with minimal token usage. Generates lightweight root documentation with detailed sub-folder guidance following the "nearest-wins" principle.

Follow these phases in order. See references/generation-process.md for complete details.

Output: Structured map of the repository before generating any files.

為程式碼庫產生分層 AGENTS.md 結構,以最佳化 AI 代理令牌的使用。在建立 AGENTS.md 檔案、記錄程式碼庫結構、設定代理程式指導、組織 AI 工具的專案文件、實作 JIT 索引或使用需要輕量級根指導和詳細子資料夾文件的 monorepos 時使用。涵蓋儲存庫分析、根 AGENTS.md 產生、子資料夾 AGENTS.md 建立以及令牌高效能文件模式。 來源:majesticlabs-dev/majestic-marketplace。

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill hierarchical-agents
分類
{}資料分析
認證
收錄時間
2026-02-23
更新時間
2026-03-11

Browse more skills from majesticlabs-dev/majestic-marketplace

快速解答

什麼是 hierarchical-agents?

為程式碼庫產生分層 AGENTS.md 結構,以最佳化 AI 代理令牌的使用。在建立 AGENTS.md 檔案、記錄程式碼庫結構、設定代理程式指導、組織 AI 工具的專案文件、實作 JIT 索引或使用需要輕量級根指導和詳細子資料夾文件的 monorepos 時使用。涵蓋儲存庫分析、根 AGENTS.md 產生、子資料夾 AGENTS.md 建立以及令牌高效能文件模式。 來源:majesticlabs-dev/majestic-marketplace。

如何安裝 hierarchical-agents?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill hierarchical-agents 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

https://github.com/majesticlabs-dev/majestic-marketplace