Borrowing it
Nothing to install: this file belongs to agents-universe/agents-universe. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/agents-universe/agents-universe/main/CLAUDE.mdgit clone --depth 1 https://github.com/agents-universe/agents-universeWrote 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/agents-universe/agents-universe/claude-md)<a href="https://agentmods.dev/instructions/agents-universe/agents-universe/claude-md"><img src="https://agentmods.dev/badge/instructions/agents-universe/agents-universe/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/agents-universe/agents-universe/claude-md"><img src="https://agentmods.dev/badge/instructions/agents-universe/agents-universe/claude-md.svg" alt="Reviewed on agentmods" width="80" 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.01950 | $0.01950 |
| Opus 5 | $0.00975 | $0.00975 |
| Sonnet 5 | $0.00390 | $0.00390 |
| Haiku 4.5 | $0.00195 | $0.00195 |
Grade A, and why
agents-universe 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 11d 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 — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agents Universe — Enterprise AI Agent Framework
Project Overview
Full-stack enterprise AI agent framework running in Linux containers: autonomous planning, multi-LLM providers (Anthropic / OpenAI / Azure OpenAI / Google Gemini), on-demand knowledge loading, Codex-style web UI.
Core principle: project knowledge loads in full on project selection. No embedding model — context via MD cross-references ([[slug]]).
Monorepo Layout
packages/agent-core/— Python 3.12 LLM orchestration engine (pure library, no HTTP)packages/api/— Python 3.12 FastAPI web service: auth, DB, WebSocketpackages/web/— TypeScript + Vue 3 Codex-style browser UIagents/— agent definitions (*.agent.md) and skills (skills/**/*.md)knowledge/— global framework knowledge base (system/, technical/, _template/);categories.yaml— project category registry (template subsets per category)workflows/— workflow definitions (*.workflow.md); agent reads and follows
Development Commands
# API (from packages/api/)
PYTHONPATH=src python -m uvicorn api.main:app --port 8000
# Frontend (from packages/web/)
npm run dev
# Run knowledge indexer for a project
python -m agent_core.knowledge.index --project {slug}
# DB migrations (from packages/api/)
alembic upgrade head
alembic revision --autogenerate -m "description"
# Docker local stack
docker compose up
docker compose up --build
Key Conventions
- Token security — Encrypted tokens are never logged, printed, or included in error messages. AES-256-GCM in
token_vault.py. - Knowledge cross-links —
[[slug]]inside Markdown files; resolved toknowledge_idat index time. - Project context loading —
knowledge/loader.pytwo-tier model on project selection: primary files load in full from disk;knowledge_level: detailfiles are indexed in DB (metadata + summary only) and loaded on demand viaknowledge_rw. - DB primary keys — Model layer always client-side
String(36)+uuid4()(models/_compat.py::new_uuid), portable across all dialects. NeverIDENTITY;UNIQUEIDENTIFIER DEFAULT NEWID()appears only in MSSQL-only migration DDL branches. - DB drivers — Four first-class dialects, switched via
DATABASE_URL(async app driver → sync alembic driver): SQL Servermssql+aioodbc→mssql+pyodbc(neverpymssql), PostgreSQLpostgresql+asyncpg→postgresql+psycopg2, MySQLmysql+aiomysql→mysql+pymysql, SQLitesqlite+aiosqlite→sqlite. DB_* fields build the default MSSQL URL;MSSQL_CONNECTION_STRINGis legacy fallback. T-SQL-only DDL must be guarded by dialect branches; SQLite table rewrites useop.batch_alter_table; data backfills guardcontext.is_offline_mode(). - Project isolation — Knowledge queries always scope to
project_id = :current OR project_id IS NULL. No cross-project queries. - Agent definitions — Markdown frontmatter + body in
agents/*.agent.md(global, synced at startup). Project-scoped agents live in{PROJECTS_ROOT}/{slug}/agents/{project_slug}--{name}.agent.mdwith matchingskills/andworkflows/dirs; lazily synced to theagentstable (columnproject_id), selectable only within their project, shadowing global skills/workflows of the same slug at runtime. Created/deleted via the 智能体定制专家 conversation (file write/delete + lazy sync) — no restart needed. Models are NOT defined per-agent: configured in Settings → AI Models (user_model_configstable), one per conversation.model_low/mid/highon theagentstable andcomplexity.pyare legacy — no complexity-based routing at runtime. @-mention agent routing: typing@in the composer lists agents only (popup-driven; hand-typed@namestays plain text); selecting one inserts@{display_name}and routes that single turn to the mentioned agent (per-messageagent_idis a slug, resolved per turn inhandlers.py). The conversation's default agent is unchanged. Attribution is stored onmessages.agent_slug;_load_historyprefixes other agents' replies with[display_name]:so the mentioned agent can tell whose output is whose. Mid-run injections cannot switch agents (the running agent owns the turn). - Skill types —
guidance(LLM instructions),template(code templates),executable(runnable code blocks),composite(chains other skills). - Workflow definitions — Same format as skills; files end in
.workflow.md. No YAML engine — agent reads and executes. - Image outputs — Stored in
{PROJECTS_ROOT}/{slug}/.tmp/media/{conversation_id}/; served via/api/media/with JWT auth. Never stored as DB blobs. - Secret management - Two-tier encrypted storage:
user_tokens(per-user, cross-project),project_secrets(per-project); both AES-256-GCM intoken_vault.py.secret_vaultmanages the user vault (list/save/delete);api_requestresolves secrets viasecret_ref/secret_refs+secret_scope(project->user fallback). Secret prompts (user_confirm/api_request) usesave_to_project_secretsorsave_to_user_tokens(mutually exclusive) - plaintext never reaches the LLM. Secrets never stored inpersonal_memories(memory_rwrejects them). Keys never put in URL query parameters. - MCP integration - Agents connect to external MCP (Model Context Protocol) servers declared in
knowledge/integrations/mcp-servers.md(project-level YAML catalog). Agent frontmattertools:list declaresmcp(all enabled servers) ormcp:<slug>(specific). Tools discovered at runtime, injected asmcp__<server>__<tool>viaattach_mcp_tools()inhandlers.py(beforeagent.run()). Transport: Streamable HTTP with SSE fallback. Secrets reuseproject_secrets/user_tokensviasecret_ref; SSRF validation, header blacklist, destructive-tool confirmation gate, and response redaction are built in.MCPConnectionManagerholds connections perToolContext(cleaned up inToolContext.cleanup()). MCP failures never block the conversation (degraded to warning).
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.
- 11d ago First seen · 91 lines · 1,950 tokens per session scan A f5c08ea1ccb9
agents-universe CLAUDE.md is an instructions file published in the GitHub repository agents-universe/agents-universe (377 stars, last pushed yesterday), licensed Apache-2.0. It adds 1,950 tokens to every session, about $0.0097 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
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.