domain

domain is an agent for Claude Code from jrobelia/inventree-plugin-ai-toolkit. It costs 0 tokens per session (821 once invoked), scanned A, original, MIT.

Repository guidance for finding and using domain documentation while exploring an InvenTree plugin toolkit. It points agents to context files, architecture decisions, and source references.

In plain words
What is it for?
Use it when investigating the repository, an InvenTree plugin, shared tooling, or the Flat BOM, Build Order, and Purchase List plugins.
Why use it?
It reduces guesswork about which documentation to read before changing code. Missing files are treated as optional, so exploration can continue quietly.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

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.

agentmods
npx agentmods add agents/jrobelia/inventree-plugin-ai-toolkit/domain
Clone the repo
git clone --depth 1 https://github.com/jrobelia/inventree-plugin-ai-toolkit

Made for: Claude Code.

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 domain

README.md
[![agentmods](https://agentmods.dev/badge/agents/jrobelia/inventree-plugin-ai-toolkit/domain.svg)](https://agentmods.dev/agents/jrobelia/inventree-plugin-ai-toolkit/domain)
Your own site
<a href="https://agentmods.dev/agents/jrobelia/inventree-plugin-ai-toolkit/domain"><img src="https://agentmods.dev/badge/agents/jrobelia/inventree-plugin-ai-toolkit/domain.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 821 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00000 $0.00821
Opus 5 $0.00000 $0.00411
Sonnet 5 $0.00000 $0.00164
Haiku 4.5 $0.00000 $0.00082

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

Security

Grade A, and why

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

docs/agents/domain.md · 62 lines

How it starts

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

Domain Docs

How the engineering skills should consume this repo's domain documentation when exploring the codebase.

Before exploring, read these

  • CONTEXT.md at the repo root for the toolkit container context.
  • CONTEXT-MAP.md at the repo root — it is the canonical map for the multi-context InvenTree plugin toolkit.
  • docs/reference/inventree-plugins/CONTEXT.md when working on a generic InvenTree plugin or tooling that applies to any plugin.
  • C:\Software Projects\inventree-plugin-ai-toolkit\docs\reference\inventree-bom-build-buy-suite\CONTEXT.md (and related suite docs) when working on the Flat BOM, Build Order, or Purchase List plugins.
  • docs/adr/ — read ADRs that touch the area you're about to work on. In this repo, system-wide decisions live here; per-plugin decisions live in plugins/<name>/docs/adr/.
  • If docs/adr/ does not exist yet, fall back to docs/decisions.md for the append-only decision log.
  • reference/README.md and the reference/inventree-source submodule when you need to look at the InvenTree source code or example plugin implementations as reference.

If any of these files don't exist, proceed silently. Don't flag their absence; don't suggest creating them upfront. The /domain-modeling skill creates them lazily when terms or decisions actually get resolved.

File structure

Multi-context repo (presence of CONTEXT-MAP.md at the root):

/
├── CONTEXT.md                         ← toolkit container context
├── CONTEXT-MAP.md                     ← context map
├── docs/
│   ├── adr/                           ← system-wide decisions (or docs/decisions.md)
│   ├── agents/                        ← agent skill configuration
│   └── reference/
│       ├── inventree-plugins/
│       │   └── CONTEXT.md             ← generic InvenTree plugin context
│       └── inventree-bom-build-buy-suite/
│           ├── VISION.md
│           ├── CONTEXT.md             ← BOM/Build/Buy suite shared domain
│           ├── PLATFORM-REFERENCE.md
│           ├── ARCHITECTURE-DECISIONS.md
│           ├── BOUNDARIES.md
│           └── BUILD-ORDER.md
├── plugins/
│   ├── inventree-flat-bom-generator/
│   │   ├── CONTEXT.md
│   │   └── docs/adr/
│   ├── inventree-build-tree-generator/
│   │   ├── CONTEXT.md
│   │   └── docs/adr/
│   └── inventree-cogs-suite-plugin/
│       ├── CONTEXT.md
│       └── docs/adr/
└── reference/                         ← InvenTree source and plugin-creator submodules

Read the full file on GitHub · 62 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 · 62 lines · 0 tokens per session scan A 53957223bb54

Subscribe to this mod's changes

domain is an agent published in the GitHub repository jrobelia/inventree-plugin-ai-toolkit (1 stars, last pushed 18d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 821 tokens. 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.