Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add XTSoftwareLabs/neatcontext-plugins/plugin install neatcontextWrote 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/commands/xtsoftwarelabs/neatcontext-plugins/create)<a href="https://agentmods.dev/commands/xtsoftwarelabs/neatcontext-plugins/create"><img src="https://agentmods.dev/badge/commands/xtsoftwarelabs/neatcontext-plugins/create/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/commands/xtsoftwarelabs/neatcontext-plugins/create"><img src="https://agentmods.dev/badge/commands/xtsoftwarelabs/neatcontext-plugins/create.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.00012 | $0.00825 |
| Opus 5.5 | $0.00005 | $0.00330 |
| Sonnet 5.5 | $0.00002 | $0.00165 |
| Haiku 4.5 | $0.00001 | $0.00082 |
Grade B, and why
create scanned grade B with 1 finding 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 3mo 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.
Unrestricted tool accessmediumExcessive agency
A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.
Ask these three questions **one at a time**, waiting for each answer. Do not run any command until all three are answered. What it actually says
Guide the user through creating a Context: one domain profile and one knowledge folder. It is stored locally by the plugin.
This remains the deliberate flow for a fresh context. If the user wants to
distill work already present in the current conversation, direct them to
/neatcontext:save instead.
Ask these three questions one at a time, waiting for each answer. Do not run any command until all three are answered.
- What is this context for? Ask them to describe what it covers, what you should do, what you should avoid, and how you should behave. This becomes the domain profile — your primary behavioral guide whenever the context is connected, so encourage specifics over generalities.
- Which folder holds the knowledge? Ask for a path to an existing folder, and tell them to put their TSGs, runbooks, postmortems, or other docs there. The folder is referenced where it is — nothing is copied or moved.
- What should the context be called? A short name they will type after
/neatcontext:use.
Then, before creating anything:
- Shape answer 1 into a markdown profile with the sections
## Purpose,## What to do,## What to avoid, and## Behavior, keeping their wording and adding nothing they did not say. Start it with# <context name>. - Derive a routing description from that profile: one sentence, under 200
characters, saying what kinds of question belong to this context. Name the
systems, symptoms, ticket prefixes, repos, and terminology someone would
actually type — this is what a future session matches a request against when
deciding whether to switch here.
- Describe scope only. No instructions about tone, format, or how to answer: this line is read while another context is connected, and behavioral text in it would bleed into unrelated answers.
- Run
/neatcontext:listfirst and make it contrastive. If a context already covers something adjacent, say what distinguishes this one. Two contexts that both describe themselves as "payments questions" cannot be told apart by anything downstream.
- Show the drafted profile and the routing description to the user and ask them to confirm or amend both. The profile is the whole behavioral contract of the context, and the routing description decides when it gets used, so they should see both before anything is saved.
Once they confirm, write the profile with the Write tool to a file in your
scratchpad directory (e.g. profile.md) — never pass the prose as a command-line
argument, it will not survive shell quoting — then run:
node "${CLAUDE_PLUGIN_ROOT}/src/claude/neatcontext-cli.mjs" create --name "<name>" --knowledge "<folder>" --profile-from "<scratchpad>/profile.md" --use-when "<routing description>"
The routing description is a single line, so it does survive quoting — but keep it free of double quotes.
On Windows, strip any trailing backslash from the folder path before quoting it —
"C:\docs\" escapes the closing quote and mangles the argument.
Relay the result. On success it prints the exact /neatcontext:use command —
show that to the user so they can connect it. Do not connect it yourself.
If it reports a problem (missing folder, duplicate name, empty profile), tell the user what it said, ask for a corrected answer to just that question, and run the command again.
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.
- 3mo ago First seen · 69 lines · 12 tokens per session scan B 5465de4776b8
create is a command published in the GitHub repository XTSoftwareLabs/neatcontext-plugins (13 stars, last pushed 3mo ago), licensed MIT. It adds 12 tokens to every session and 825 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
create compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| createXTSoftwareLabs/neatcontext-plugins | Command | 13 | 3mo ago | MIT | B | 12 | Claude Code |
| agent-modekardebadas/claude-plugin | Command | 3 | 14d ago | Apache-2.0 | A | 53 | Claude Code |
| launch-meta-campaignmarkifact/markifact-mcp | Command | 59 | 10d ago | MIT | A | 41 | Claude Code, Cursor |
| launch-pmaxmarkifact/markifact-mcp | Command | 59 | 10d ago | MIT | A | 45 | Claude Code, Cursor |
| negative-keyword-sweepmarkifact/markifact-mcp | Command | 59 | 10d ago | MIT | A | 56 | Claude Code, Cursor |
| modelongthread/claude-plugins | Command | 1 | 3d ago | MIT | A | 9 | Claude Code |
| duck-offcentsandcode/rubber-duck | Command | 15 | 2mo ago | MIT | A | 8 | Claude Code |