Borrowing it
Nothing to install: this file belongs to Artesiana/agent2. 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/Artesiana/agent2/main/.agents/skills/brain-clone/SKILL.mdgit clone --depth 1 https://github.com/Artesiana/agent2Wrote 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/skills/artesiana/agent2/brain-clone)<a href="https://agentmods.dev/skills/artesiana/agent2/brain-clone"><img src="https://agentmods.dev/badge/skills/artesiana/agent2/brain-clone/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/skills/artesiana/agent2/brain-clone"><img src="https://agentmods.dev/badge/skills/artesiana/agent2/brain-clone.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.00096 | $0.08368 |
| Opus 5.5 | $0.00038 | $0.03347 |
| Sonnet 5.5 | $0.00019 | $0.01674 |
| Haiku 4.5 | $0.00010 | $0.00837 |
Grade A, and why
brain-clone 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 2mo 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 — 790 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Brain Clone
Overview
Turn a domain expert's brain into a production Agent2 agent through structured interview. The skill extracts tacit professional knowledge — not just facts, but the expert's Chain-of-Thought — and generates a complete agent following the proven Sachbearbeiter architecture: 5-layer Chain-of-Thought prompt, tool metaphors, knowledge collections, memory, sandbox tools, and structured output with outcome consistency validation.
Canonical references in this repo:
docs/brain-clone-pattern.mdexplains the Agent2 Brain Clone pattern.docs/reference-agents/sachbearbeiter-pattern.mdexplains the production reference architecture.agents/procurement-compliance-officeris the full public flagship example to study before generating a serious domain agent.
Core insight: Domain expertise is not a list of rules. It is a Sachbearbeiter-style Chain-of-Thought: a professional mental loop of intake, lookup, checking, clarification, decision, and memory update. Facts go into knowledge books. The expert's Chain-of-Thought goes into the prompt.
Important: In Agent2, "Chain-of-Thought" means the domain professional's explicit work-thinking pattern, not a request to expose private model internals. The prompt should make the agent run the expert's mental chain; the output should expose concise reasoning and review_steps[] as the observable trace of that work.
When to Use
- Domain expert wants to "clone" their professional decision-making into an AI agent
- User says "brain clone", "clone my brain", "create domain expert", "extract my expertise"
- Building an agent for a regulated/specialized domain (accounting, legal, medical, compliance, procurement, HR, insurance)
- Need to go beyond simple "You are an expert in X" prompts to Sachbearbeiter-level Chain-of-Thought prompts
Do NOT use for: Generic chatbots, simple CRUD agents, or agents that don't need domain expertise. Use creating-agents skill instead.
The 5-Layer Prompt Architecture
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.
- 2mo ago First seen · 790 lines · 96 tokens per session scan A 3ccbe56ce80d
brain-clone is a skill published in the GitHub repository Artesiana/agent2 (37 stars, last pushed 6mo ago), licensed MIT. It adds 96 tokens to every session and 8,368 once invoked, about $0.0004 per session on Opus 5.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.
brain-clone compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| brain-cloneArtesiana/agent2 | Skill | 37 | 6mo ago | MIT | A | 96 | Claude Code, Codex |
| academic_paper_expertcrane-in-clear-sky/WorkWit-AI-Agent | Skill | 108 | 2mo ago | none | A | 93 | Claude Code |
| Tutor Reasoningmeiiie/wiii | Skill | 6 | 29d ago | AGPL-3.0 | A | 19 | Claude Code, Codex |
| traffic_signsmeiiie/wiii | Skill | 6 | 29d ago | AGPL-3.0 | A | 17 | Claude Code, Codex |
| fastapi-modern-patternsMidOSresearch/midos | Skill | 7 | 6mo ago | MIT | A | 5 | Claude Code, Codex |
| canvasNousResearch/hermes-agent | Skill | 261k | today | MIT | A | 12 | Claude Code, Codex |
| playwrightopenai/openai-agents-python | Skill | 31k | today | MIT | A | 19 | Claude Code, Codex |