AgentHub CLAUDE.md

AgentHub CLAUDE.md is an instructions file for coding agents from Stanshy/AgentHub. It costs 1,049 tokens per session, scanned A, original, MIT.

Project instructions for AgentHub, an Electron desktop app for managing AI-agent teams. They define the required rules, commands, and documentation to read before making changes.

In plain words
What is it for?
Following the project workflow, finding the right technical documents, running development and checking commands, and avoiding blocked or unsafe operations.
Why use it?
They give coding agents a shared source of truth, reducing guesswork and keeping code, architecture documents, and communication between app layers consistent.

Instructions file

Install

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.

agentmods
npx agentmods add instructions/stanshy/agenthub/claude-md
Clone the repo
git clone --depth 1 https://github.com/Stanshy/AgentHub

Wrote 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.

agentmods badge for AgentHub CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/stanshy/agenthub/claude-md.svg)](https://agentmods.dev/instructions/stanshy/agenthub/claude-md)
Your own site
<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>
Per session 1,049 This file is loaded in full into every session.
When invoked 1,049 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 5d ago against content hash 155895bdb8b7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

CLAUDE.md · 78 lines

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 條致命規則)

  1. 文件就是法律 — 程式碼必須與規範文件一致,不一致以文件為準。 → 完整 8 條規則見 .knowledge/doc-governance.md

  2. IPC 四方同步ipc.tspreload.tsuseIpc.tsenv.d.ts 缺一不可。 → 詳見 .knowledge/architecture.md「IPC 三方一致規則」

  3. 不確定就去讀,不要猜 — 不得憑空想像任何資料結構或 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 內部審查報告範本

Read the full file on GitHub · 78 lines

Changes

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.

  1. 5d ago First seen · 78 lines · 1,049 tokens per session scan A 155895bdb8b7

Subscribe to this mod's changes

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.