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 skills add luiseiman/dotforge --skill domain-extractgit clone --depth 1 https://github.com/luiseiman/dotforgeWrote 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/luiseiman/dotforge/domain-extract)<a href="https://agentmods.dev/skills/luiseiman/dotforge/domain-extract"><img src="https://agentmods.dev/badge/skills/luiseiman/dotforge/domain-extract/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/luiseiman/dotforge/domain-extract"><img src="https://agentmods.dev/badge/skills/luiseiman/dotforge/domain-extract.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.00024 | $0.01610 |
| Opus 5.5 | $0.00010 | $0.00644 |
| Sonnet 5.5 | $0.00005 | $0.00322 |
| Haiku 4.5 | $0.00002 | $0.00161 |
Grade A, and why
domain-extract 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 1mo 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 — 181 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Domain Extract
Analyze existing project sources to propose domain knowledge rules for approval.
Dispatch
Based on $ARGUMENTS after "domain":
domain extract→ Step 1-5 (full extraction)domain list→ Step 6 (list only)domain sync-vault→ Step 7 (vault sync only)
Step 1: Gather sources
Read these project sources (skip any that don't exist):
- CLAUDE.md — sections below
<!-- forge:custom -->(user-written content) - Auto-memory — resolve the project's memory directory:
- Compute project path hash: the memory lives in
~/.claude/projects/-<path-with-dashes>/memory/ - Read MEMORY.md index, then read each linked memory file
- Filter: keep only entries with business/domain content (not purely technical)
- Compute project path hash: the memory lives in
- CLAUDE_ERRORS.md — read all entries. Flag errors where the root cause is "Claude didn't know X about the business"
- Agent memory — read
.claude/agent-memory/implementer/*.mdand.claude/agent-memory/architect/*.md- Filter: keep domain-relevant learnings (business logic, API behavior, deployment procedures)
- Existing rules — read all
.claude/rules/*.md. Identify files that mix domain + technical content - Git log — run
git log --oneline -50to identify domain-related commits (keywords: fix, deploy, API, auth, config)
Step 2: Classify findings
For each piece of domain knowledge found, classify:
- Category: deploy, api-integration, business-logic, data-model, auth-flow, external-service, workflow
- Source: which file(s) it came from
- Confidence: high (explicit in CLAUDE.md/rules), medium (in memory/errors), low (inferred from git)
- Overlap: does it duplicate existing
.claude/rules/domain/*.mdcontent?
Discard:
- Pure technical patterns (import order, test fixtures, lint rules)
- Already covered by existing domain rules
- One-time fixes that won't recur
Step 3: Generate proposals
Group findings by category. For each group, propose a domain rule file:
═══ DOMAIN EXTRACT ═══
Project: {{project_name}}
Sources analyzed: {{count}}
Existing domain rules: {{count in .claude/rules/domain/}}
── PROPOSED DOMAIN RULES ──
{{number}}. {{filename}}.md (from: {{sources}})
globs: {{suggested glob patterns}}
Content preview:
"{{3-5 line summary of what the rule will contain}}"
→ Create? (y/n/edit)
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.
- 1mo ago First seen · 181 lines · 24 tokens per session scan A 38c98ecb7c5e
domain-extract is a skill published in the GitHub repository luiseiman/dotforge (8 stars, last pushed 12d ago), licensed MIT. It adds 24 tokens to every session and 1,610 once invoked, about $0.0001 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-31.
Other skills, from other repositories
mnemo
A file-based memory system for saving conversations, tool activity, and handoff notes between coding sessions. It keeps project memory separate from Claude’s built-in personal memory.
codex-mnemo
A long-term memory tool for searching earlier Codex conversations and saving useful conversation details for later sessions.
memory-distill
A tool that turns accumulated observations from past coding sessions into organised Markdown notes. It groups similar lessons, removes duplicates and contradictions, and can rebuild existing notes.
project-gotchas
A project memory system that records recurring mistakes and successful patterns in shared notes for coding tools. It keeps separate global notes and project-specific notes.
memory-compact
A maintenance tool for checking and shortening an oversized MEMORY.md file used to store project notes. It moves detailed notes into separate files and leaves a smaller index.
devin-mnemo
A Devin CLI adapter that saves project conversations and selected assistant replies in local Markdown files and a shared memory store. Devin CLI is a coding tool that can run project-specific hooks.