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/u9401066/hyperhierarchicalrag/claude-mdgit clone --depth 1 https://github.com/u9401066/HyperHierarchicalRAGWrote 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/u9401066/hyperhierarchicalrag/claude-md)<a href="https://agentmods.dev/instructions/u9401066/hyperhierarchicalrag/claude-md"><img src="https://agentmods.dev/badge/instructions/u9401066/hyperhierarchicalrag/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.1 | $0.01149 | $0.01149 |
| Opus 5 | $0.00575 | $0.00575 |
| Sonnet 5 | $0.00230 | $0.00230 |
| Haiku 4.5 | $0.00115 | $0.00115 |
Grade A, and why
HyperHierarchicalRAG 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.
This is a copy
100% identical to nsforge-mcp CLAUDE.md — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md - Claude Code 專案指引
此文件為 Claude Code(Anthropic 的 AI 編程助手)提供專案上下文。 當使用 Claude Code 時,它會自動讀取此文件以了解專案規範。
專案概述
這是一個 AI 輔助開發專案模板,整合了:
- 憲法-子法層級規則系統
- Claude Skills 模組化技能
- Memory Bank 專案記憶
- DDD + DAL 獨立架構
法規層級
CONSTITUTION.md ← 最高原則(不可違反)
│
├── .github/bylaws/ ← 子法(細則規範)
│ ├── ddd-architecture.md
│ ├── git-workflow.md
│ └── memory-bank.md
│
└── .claude/skills/ ← 實施細則(操作程序)
核心原則
0. 開發哲學 💡
「想要寫文件的時候,就更新 Memory Bank 吧!」
「想要零散測試的時候,就寫測試檔案進 tests/ 資料夾吧!」
- 不要另開檔案寫筆記,直接寫進 Memory Bank
- 今天的零散測試,就是明天的回歸測試
1. DDD 架構
- Domain Layer 不依賴外部
- DAL (Data Access Layer) 必須獨立
- 使用 Repository Pattern
- 參見:
.github/bylaws/ddd-architecture.md
2. Python 環境(uv 優先)
# 初始化
uv venv && uv sync --all-extras
# 安裝依賴
uv add package-name
uv add --dev pytest ruff mypy
- 參見:
.github/bylaws/python-environment.md
3. Memory Bank 同步
每次重要操作必須更新:
memory-bank/progress.md- 進度追蹤memory-bank/activeContext.md- 當前焦點memory-bank/decisionLog.md- 重要決策
4. Git 工作流
提交前執行檢查清單:
- Memory Bank 同步
- README 更新(如需要)
- CHANGELOG 更新
- ROADMAP 標記
可用 Skills
| Skill | 用途 |
|---|---|
git-precommit |
Git 提交前編排器 |
ddd-architect |
DDD 架構輔助 |
code-refactor |
主動重構與模組化 |
memory-updater |
Memory Bank 同步 |
memory-checkpoint |
記憶檢查點(Summarize 前外部化) |
readme-updater |
README 智能更新 |
changelog-updater |
CHANGELOG 自動更新 |
roadmap-updater |
ROADMAP 狀態追蹤 |
code-reviewer |
程式碼審查 |
test-generator |
測試生成(Unit/Integration/E2E) |
project-init |
專案初始化 |
💸 Memory Checkpoint 規則
主動觸發時機
- 對話超過 10 輪 時,主動建議 checkpoint
- 完成 重大功能 後,主動執行 checkpoint
- 使用者說要 離開/等等繼續 時,主動執行 checkpoint
Checkpoint 內容必須包含
- 具體檔案路徑
- 變更摘要
- 下一步計畫
- 重要決策(如有)
觸發指令
「記憶檢查點」 / 「checkpoint」 / 「存檔」
「保存記憶」 / 「sync memory」
常用指令
「準備 commit」 → 執行完整提交流程
「快速 commit」 → 只同步 Memory Bank
「建立新功能 X」 → 生成 DDD 結構
「review 程式碼」 → 程式碼審查
「更新 memory bank」 → 同步專案記憶
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 · 130 lines · 1,149 tokens per session scan A 74cf3ef9f5a1
HyperHierarchicalRAG CLAUDE.md is an instructions file published in the GitHub repository u9401066/HyperHierarchicalRAG (2 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 1,149 tokens to every session, about $0.0057 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to nsforge-mcp CLAUDE.md, differing in 2 lines, and is treated as a copy.
Other instructions, from other repositories
repo-graphrag-mcp AGENTS.md
Instructions for yumeiriowl/repo-graphrag-mcp, covering repo graphrag mcp usage guide, prerequisites, three tools, tool 1: graphcreate and tool 2: graphquery.
DocGraph AGENTS.md
Instructions for Detective-XH/DocGraph, covering agents.md — docgraph fit guide for llm agents, the fit decision, decisive signals — any one means: use docgraph, supporting signals — useful when several hold together and anti-signals — prefer your own grep/read.
VelociRAG AGENTS.md
Instructions for HaseebKhalid1507/VelociRAG, covering agents.md — velocirag for ai coding agents, what is this?, architecture, module map and key classes.
myrmion-graphrag CLAUDE.md
Claude Code instructions for e2its/myrmion-graphrag, covering claude.md, qué es esto, herramientas del servidor myrmion-graphrag (documentos), herramientas del servidor myrmion-codebase (código) and mantenimiento obligatorio del codebaseinventory.
UltraRAG AGENTS.md
AGENTS.md instructions for OpenBMB/UltraRAG, covering agents.md, 1) project identity, 2) repository map (what matters most), 3) mental model of the system and 4) two-phase execution lifecycle.
ai-demo AGENTS.md
Instructions for symfony/ai-demo, covering agents.md, project overview, development commands, setup and vector store must be set up before indexing.