Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/stanshy/agenthub/claude-mdgit clone --depth 1 https://github.com/Stanshy/AgentHubWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/stanshy/agenthub/claude-md)<a href="https://agentmods.dev/instructions/stanshy/agenthub/claude-md"><img src="https://agentmods.dev/badge/instructions/stanshy/agenthub/claude-md.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.01049 | $0.01049 |
| Opus 5 | $0.00524 | $0.00524 |
| Sonnet 5 | $0.00210 | $0.00210 |
| Haiku 4.5 | $0.00105 | $0.00105 |
Grade A, and why
AgentHub CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AgentHub — Agent 指南(索引)
本文件是地圖,不是百科全書。詳細規範見索引指向的 .knowledge/ 文件。 所有 Agent 執行任務前必須先閱讀本文件,再依索引查閱對應文件。
🚀 首次 clone 後請執行:
bash scripts/install-skills.sh(將公司級 Skills 安裝到全域~/.claude/commands/)
專案簡介
- 專案名稱: AgentHub (Maestro v2)
- 類型: Electron 桌面應用(AI Agent 團隊管理平台)
- 核心價值: 用 Harness(Skill + Hook + FileWatcher)驅動虛擬開發公司,GUI 只做監控和 3 個操作
- 目標用戶: 老闆(一人公司創辦人)
- 開發平台: Windows 11
最高原則(3 條致命規則)
-
文件就是法律 — 程式碼必須與規範文件一致,不一致以文件為準。 → 完整 8 條規則見
.knowledge/doc-governance.md -
IPC 四方同步 —
ipc.ts→preload.ts→useIpc.ts→env.d.ts缺一不可。 → 詳見.knowledge/architecture.md「IPC 三方一致規則」 -
不確定就去讀,不要猜 — 不得憑空想像任何資料結構或 API 格式。 → 真相來源表見
.knowledge/coding-standards.md「禁止憑空想像規則」
※ 危險指令已由 PreToolUse Hook 強制攔截(kill-port / --no-verify / force push main),見
.claude/settings.json
常用指令
npm run dev # 啟動開發模式
npm run test # 單元測試
npm run lint # ESLint 檢查
npm run typecheck # TypeScript 型別檢查
npm run build # 打包
專案文件索引
專案級規範(.knowledge/)
| 文件 | 用途 | 版本 |
|---|---|---|
.knowledge/project-overview.md |
專案概述、目標、技術棧、v1→v2 變更摘要 | v1.1 |
.knowledge/architecture.md |
系統架構、服務清單、IPC 架構、三方一致規則 | v1.1 |
.knowledge/directory-structure.md |
目錄結構詳細說明 | v1.0 |
.knowledge/coding-standards.md |
編碼規範、命名、Commit 紀律、依賴規則、禁止憑空想像 | v1.1 |
.knowledge/testing-standards.md |
測試策略與規範 | v1.0 |
.knowledge/quality-checklist.md |
G0-G6 品質檢查清單 | v1.0 |
.knowledge/postmortem-log.md |
踩坑快速參考 + 歷史紀錄 | v1.1 |
.knowledge/doc-governance.md |
文件治理 8 條完整規則 | v1.0 |
.knowledge/team-hierarchy.md |
團隊架構、指揮鏈、Sprint 概覽 | v1.0 |
公司規範(.knowledge/company/)
| 文件 | 用途 |
|---|---|
.knowledge/company/sop/sprint-planning.md |
Sprint 規劃 SOP v4.1 |
.knowledge/company/sop/code-review.md |
程式碼審查 SOP |
.knowledge/company/standards/coding-standards.md |
公司編碼標準 |
.knowledge/company/standards/api-standards.md |
公司 API 標準 |
.knowledge/company/standards/quality-checklist.md |
公司品質檢查清單 |
.knowledge/company/standards/project-rules.md |
子專案共用開發規則 |
.knowledge/company/standards/team-workflow.md |
子專案共用團隊流程 |
.knowledge/company/templates/sprint-proposal.md.template |
Sprint 提案書範本 |
.knowledge/company/templates/dev-plan.md.template |
開發計畫書範本 |
.knowledge/company/templates/internal-review.md.template |
內部審查報告範本 |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 78 lines · 1,049 tokens per session scan A 155895bdb8b7
AgentHub CLAUDE.md is an instructions file published in the GitHub repository Stanshy/AgentHub (200 stars, last pushed 4mo ago), licensed MIT. It adds 1,049 tokens to every session, about $0.0052 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
vscode design-philosophy.instructions.md
VS Code design philosophy — the shared Values→Principles→Moves vocabulary for reasoning about UI in design terms rather than raw pixels. Use when creating, editing, or reviewing any visual surface (CSS, DOM, theming, icons, motion). Name the value/principle before reaching for a token.
mediago AGENTS.md
AGENTS.md instructions for mediago-dev/mediago, covering repository guidelines, project structure & module organization, tooling and script placement, documentation site safety and build, test, and development commands.
openscreen AGENTS.md
AGENTS.md instructions for getopenscreen/openscreen, covering agents.md, setup commands, development principles, project layout and code style.
vibe-coding-prompt-template backend.instructions.md
Instructions for KhazP/vibe-coding-prompt-template: Read AGENTS.md, agentdocs/techstack.md, and agentdocs/codepatterns.md.
holaOS CLAUDE.md
Claude Code instructions for holaboss-ai/holaOS, covering holaos — repo guide and hola — debug the hola (pi) brain from the cli.
code-by-wire CLAUDE.md
Instructions for luojiahai/code-by-wire, covering claude.md, development, website, architecture and code style.