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/intelligencedev/manifold/claude-mdgit clone --depth 1 https://github.com/intelligencedev/manifoldWrote 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/intelligencedev/manifold/claude-md)<a href="https://agentmods.dev/instructions/intelligencedev/manifold/claude-md"><img src="https://agentmods.dev/badge/instructions/intelligencedev/manifold/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.02315 | $0.02315 |
| Opus 5 | $0.01157 | $0.01157 |
| Sonnet 5 | $0.00463 | $0.00463 |
| Haiku 4.5 | $0.00231 | $0.00231 |
Grade A, and why
manifold 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 4d 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 manifold AGENTS.md — 0 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 — 171 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Go/manifold
Coding Conventions
Project Structure & Module Organization
Source lives in internal/ (e.g., internal/agent, internal/orchestrator); keep new packages focused on one concern and avoid import cycles. CLI/Server entrypoints sit under cmd/ with binaries for the agent, HTTP server (manifold, implemented in cmd/agentd), and embedctl (if present). Docs reside in docs/, assets in assets/, and deployment scaffolding in docker/, configs/, and top-level example.env. Co-locate tests with their packages and share fakes through internal/testhelpers.
Package Organization
- Keep packages small and focused on a single responsibility.
- Avoid cyclical dependencies; extract interfaces when necessary.
Dependency Injection
- Promote testability via interface‑driven design.
- Use constructor functions (e.g.,
NewService(...)) to inject dependencies.
Concurrency
Follows Go's concurrency mantra: "Don't communicate by sharing memory; share memory by communicating." The channel becomes the synchronization point.
Essential Go CLI Tools
The following Go command-line tools are essential for development, testing, and maintenance in this project. Use them as described to ensure code quality and consistency:
| Tool | Purpose |
|---|---|
go build |
Compiles packages and their dependencies into an executable. |
go run |
Compiles and runs the specified Go program. |
go fmt |
Formats Go source code according to the language's style guidelines. |
gofmt |
Standalone formatter; also available as an executable. |
go test |
Runs tests and benchmarks. Use -coverprofile with go tool cover to analyze test coverage. |
go vet |
Examines Go source code and reports suspicious constructs that could be bugs. |
go doc |
Extracts and generates documentation for Go packages. |
go get |
Adds, updates, or removes dependencies in the go.mod file. |
go mod |
Provides access to module operations (e.g., go mod tidy to clean up dependencies). |
go tool |
Runs the specified Go tool (see below for examples). |
cgo |
Enables the creation of Go packages that call C code. |
pprof |
For profiling Go programs. |
fix |
Rewrites Go programs that use old language and library features. |
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.
- 4d ago First seen · 171 lines · 2,315 tokens per session scan A b71c212722b2
manifold CLAUDE.md is an instructions file published in the GitHub repository intelligencedev/manifold (497 stars, last pushed 26d ago), licensed MIT. It adds 2,315 tokens to every session, about $0.0116 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to manifold AGENTS.md, differing in 0 lines, and is treated as a copy.
Other instructions, from other repositories
ollama AGENTS.md
AGENTS.md instructions for ollama/ollama, covering agents.md and building.
LightRAG AGENTS.md
AGENTS.md instructions for HKUDS/LightRAG, covering repository guidelines, project overview, project structure, module layout (lightrag/) and core architecture.
ollama CLAUDE.md
Claude Code instructions for ollama/ollama: See AGENTS.md for the shared agent instructions for this repository.
mirascope AGENTS.md
AGENTS.md instructions for Mirascope/mirascope, covering ai agent context guide, primary context sources, codebase overview, key principles and quick reference.
openhuman AGENTS.md
AGENTS.md instructions for tinyhumansai/openhuman, covering openhuman, repository layout, runtime scope, ios client (experimental, non-shipping) and commands (from repo root).
langgraphjs AGENTS.md
AGENTS.md instructions for langchain-ai/langgraphjs, covering repository instructions and corridor security analysis.