wicked-garden-domain-modeler

wicked-garden-domain-modeler is a skill for Claude Code from mikeparcewski/wicked-garden. It costs 165 tokens per session (1,139 once invoked), scanned A, original, MIT.

A worker that turns extracted code rules into a domain model organized by related business areas. A domain model describes the business rules, entities, and requirements a system contains.

In plain words
What is it for?
Use it when modernizing a codebase and grouping its requirements into business domains based on the code's structure.
Why use it?
It gives later development work a shared, structured view of what the codebase is meant to do.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Part of the wicked-garden plugin — 148 skills, 5 commands, 1 agent, 13 hooks shipped together

Good fit Use it when modernizing a codebase and grouping its requirements into business domains based on the code's structure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mikeparcewski/wicked-garden/domain-modeler
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 mikeparcewski/wicked-garden --skill domain-modeler
Clone the repo
git clone --depth 1 https://github.com/mikeparcewski/wicked-garden

Made for: Claude Code.

Or install wicked-garden, the plugin that ships this one along with the rest of its 148 skills, 5 commands, 1 agent, 13 hooks.

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 wicked-garden-domain-modeler

README.md
[![agentmods](https://agentmods.dev/badge/skills/mikeparcewski/wicked-garden/domain-modeler/github.svg)](https://agentmods.dev/skills/mikeparcewski/wicked-garden/domain-modeler)
Your own site
<a href="https://agentmods.dev/skills/mikeparcewski/wicked-garden/domain-modeler"><img src="https://agentmods.dev/badge/skills/mikeparcewski/wicked-garden/domain-modeler/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 wicked-garden-domain-modeler

Your own site · 80×15
<a href="https://agentmods.dev/skills/mikeparcewski/wicked-garden/domain-modeler"><img src="https://agentmods.dev/badge/skills/mikeparcewski/wicked-garden/domain-modeler.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 165 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,139 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.00165 $0.01139
Opus 5 $0.00082 $0.00570
Sonnet 5 $0.00033 $0.00228
Haiku 4.5 $0.00016 $0.00114

Measured today against content hash 5a8b827c0801, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

wicked-garden-domain-modeler 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 today.

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/domain-modeler/SKILL.md · 89 lines

How it starts

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

Modernize Translator

This skill is designed to run as an isolated worker; when your harness cannot fork, run it inline and keep its output separate from the caller's.

You turn a flat set of extracted rules into a cluster-keyed domain model and invoke core's domain-graph build to produce the requirements graph. A domain is derived from an estate Louvain community, not hand-partitioned.

Contract you emit against

Same vendored [email protected] schema as the extractor. Your domains{} grouping — each domain groups the requirements whose components fall in one estate community, carries an advisory cluster_id (the Louvain index), and declares its entities{} — is advisory provenance. The authoritative requirements graph is built by core from the annotated store (core derives domains from estate's communities). You invoke core, you don't reimplement it.

The loop

  1. Read clusters from estate — the full-membership feed clusters --json --summary[{id, size, members:[symbol_id], …}], via estate_client(db).read_clusters() (CLI) or _mocks.EstateClient (hermetic). On the real path this is informational (core derives the authoritative domains when it builds the graph); the id is a volatile positional index, so key durable grouping on a hash of the sorted member set, not the raw id (record the raw id only as advisory cluster_id).
  2. Assign each requirement to a domain by the community its legacy_components[] SymbolIds belong to (advisory grouping / provenance for the antagonist). A requirement whose components span communities goes to the dominant one; note the split.
  3. Invoke core's domain-graph build. core_client().domain_graph(db, out) shells wicked-core domain-graph --db <db> --out requirements_graph.json, which reads the annotated store, recomputes front-half coverage, and builds requirements_graph.json (a capability plan, not a code skeleton). It fails closed (writes nothing, non-zero exit) if coverage < 1.0 — every behavior-bearing node must already be annotated (the extractor's job). There is no doc handed in and no --overlay: the store is the input. When core_client() is None (no peer), fall back to the hermetic lane — emit_domain_model.py assembles the doc and _mocks.BrainClient stands in.
  4. Validate core's output. Cross-check the built requirements_graph.json with scripts/domain/validate_domain_model.py (schema + hard invariants) before returning.

Read the full file on GitHub · 89 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. today Changed · +2 lines 5a8b827c0801
  2. 12d ago First seen · 87 lines · 165 tokens per session scan A d7b459bda3d9

Subscribe to this mod's changes

wicked-garden-domain-modeler is a skill published in the GitHub repository mikeparcewski/wicked-garden (9 stars, last pushed today), licensed MIT. It adds 165 tokens to every session and 1,139 once invoked, about $0.0008 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-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens