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.5 $0.00027 $0.00582
Sonnet 5.5 $0.00013 $0.00291
Haiku 4.5 $0.00007 $0.00145

Measured 1mo ago against content hash c4b3c57fc0bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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. 1mo 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 (11 stars, last pushed 3d ago), licensed MIT. It adds 67 tokens to every session and 1,454 once invoked, about $0.0003 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-09-03.

Related

Other skills, from other repositories

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

course-builder

Use when turning "I want to teach X" into a defensible course skeleton — measurable outcomes (Bloom + ABCD), assessment that proves each one, sequenced modules, and an outcome×module×assessment matrix — for a workshop, bootcamp, cohort or onboarding track. NOT making one concept land emotionally with story or analogy…

ericrisco/rsc-harness · 76 tokens

self-assessment

Interactive skill assessment with personalized learning path generation.

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

talk-stage5-script

Produces a complete 5-act pitch with speaker notes, a slide-by-slide specification, and a ready-to-paste Kimi prompt for AI slide generation. Requires validated angle and title from Stage 4. Use when you have a confirmed talk angle and need the full script, slide spec, and AI-generated presentation prompt.

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

talk-stage6-revision

Produces revision sheets with quick navigation by act, a master concept-to-URL table, Q&A cheat-sheet with 6-10 anticipated questions, glossary, and external resources list. Use when preparing for a talk with Q&A, creating shareable reference material for attendees, or building a safety-net glossary for live delivery.

FlorianBruniaux/claude-code-ultimate-guide · 70 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