analyzing-domains

analyzing-domains is a skill for Claude Code, Codex from axiomantic/spellbook. It costs 67 tokens per session (1,454 once invoked), scanned A, original, MIT.

A method for learning the concepts, terms, entities, and boundaries of an unfamiliar business area. It uses the language of the people and systems involved to describe how the domain works.

In plain words
What is it for?
It is for defining domain concepts, building a shared glossary, modeling business entities, and identifying service boundaries.
Why use it?
It helps prevent misunderstandings when business rules are complex or unfamiliar. Clear boundaries make it easier to decide where responsibilities belong in the software.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for defining domain concepts, building a shared glossary, modeling business entities, and identifying service boundaries.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/axiomantic/spellbook/analyzing-domains
Install

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.

Any agent
npx skills add axiomantic/spellbook --skill analyzing-domains
Clone the repo
git clone --depth 1 https://github.com/axiomantic/spellbook

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for analyzing-domains

README.md
[![agentmods](https://agentmods.dev/badge/skills/axiomantic/spellbook/analyzing-domains/github.svg)](https://agentmods.dev/skills/axiomantic/spellbook/analyzing-domains)
Your own site
<a href="https://agentmods.dev/skills/axiomantic/spellbook/analyzing-domains"><img src="https://agentmods.dev/badge/skills/axiomantic/spellbook/analyzing-domains/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.

agentmods 80×15 button for analyzing-domains

Your own site · 80×15
<a href="https://agentmods.dev/skills/axiomantic/spellbook/analyzing-domains"><img src="https://agentmods.dev/badge/skills/axiomantic/spellbook/analyzing-domains.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,454 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.01454
Opus 5 $0.00034 $0.00727
Sonnet 5 $0.00013 $0.00291
Haiku 4.5 $0.00007 $0.00145

Measured 5d ago against content hash c4b3c57fc0bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

analyzing-domains 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.

skills/analyzing-domains/SKILL.md · 158 lines

How it starts

The opening of the file, as written. The whole thing — 158 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Domain Analysis

Reasoning Schema

Before analysis: domain being explored, stakeholder terminology, existing system context, integration boundaries.

After analysis: ubiquitous language captured, entity boundaries defined, aggregate roots identified, context map complete, agent recommendations justified.

Invariant Principles

  1. Language Is the Model: Ubiquitous language IS the domain model. Misaligned terminology → misaligned code.
  2. Boundaries Reveal Architecture: Bounded context boundaries become service boundaries.
  3. Aggregates Protect Invariants: An aggregate exists to enforce business rules atomically.
  4. Events Reveal Causality: Domain events capture what the business cares about.
  5. Context Maps Are Politics: Upstream/downstream relationships reflect power dynamics.
  6. Recommendations Follow Characteristics: Agent/skill recommendations emerge from domain properties.

Inputs / Outputs

Input Required Description
problem_description Yes Natural language description of the problem space
stakeholder_vocabulary No Terms already used by domain experts
Output Type Description
domain_glossary Inline Ubiquitous language definitions
context_map Mermaid Bounded contexts and relationships
entity_sketch Mermaid Entities, value objects, aggregates
agent_recommendations Table Recommended skills with justification

Domain Analysis Framework

Phase 1: Language Mining

Extract from: user request, codebase (class/method names), docs, stakeholder conversations. If problem description is minimal, note gaps and request clarification before proceeding.

Read the full file on GitHub · 158 lines

Changes

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.

  1. 5d ago First seen · 158 lines · 67 tokens per session scan A c4b3c57fc0bb

Subscribe to this mod's changes

analyzing-domains is a skill published in the GitHub repository axiomantic/spellbook (10 stars, last pushed yesterday), licensed MIT. It adds 67 tokens to every session and 1,454 once invoked, about $0.0003 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-09-03.

Related

Other skills, from other repositories

stride-analysis-patterns

Apply STRIDE methodology to systematically identify threats. Use when analyzing system security, conducting threat modeling sessions, or creating security documentation.

sangrokjung/claude-forge · 30 tokens

blind-spot-pass

Use before starting work in a domain you don't know well, to surface the "unknown unknowns" — the things you don't even know to ask about — and learn just enough to prompt and decide well. Implements the "blind spot pass" pattern from Anthropic's Fable "finding your unknowns" field guide. Triggers when you say "I'm…

sangrokjung/claude-forge · 221 tokens

prompts-chat

Use when searching, installing, or improving AI skills and prompts via prompts.chat or skills.sh. Triggers on skill search, prompt lookup, install skill, improve prompt, prompts.chat.

sangrokjung/claude-forge · 41 tokens

talk-stage1-extract

Extracts and structures source material (articles, transcripts, notes) into a talk summary with narrative arc, themes, metrics, and gaps. Auto-detects REX vs Concept type. Use when starting a new talk from any source material or auditing existing material before committing to a talk.

FlorianBruniaux/claude-code-ultimate-guide · 64 tokens

learn-teach

Step-by-step explanation of a concept with progressive depth.

FlorianBruniaux/claude-code-ultimate-guide · 14 tokens

course-storytelling

Use when lesson or course content is correct but forgettable and a concept has to LAND: profiles the learner, breaks the blocking false belief, then rebuilds it as epiphany story → named model → grounded analogy → proof → so-what. NOT outcomes, assessment or module order (that is course-builder), NOT slide visuals…

ericrisco/rsc-harness · 79 tokens