Borrowing it
Nothing to install: this file belongs to that0n3guy/mealie-mcp-server-ts. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/that0n3guy/mealie-mcp-server-ts/main/.claude/commands/clavix/refine.mdgit clone --depth 1 https://github.com/that0n3guy/mealie-mcp-server-tsWrote 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/that0n3guy/mealie-mcp-server-ts/refine)<a href="https://agentmods.dev/commands/that0n3guy/mealie-mcp-server-ts/refine"><img src="https://agentmods.dev/badge/commands/that0n3guy/mealie-mcp-server-ts/refine/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/that0n3guy/mealie-mcp-server-ts/refine"><img src="https://agentmods.dev/badge/commands/that0n3guy/mealie-mcp-server-ts/refine.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.00000 | $0.09948 |
| Opus 5.5 | $0.00000 | $0.03979 |
| Sonnet 5.5 | $0.00000 | $0.01990 |
| Haiku 4.5 | $0.00000 | $0.00995 |
Grade B, and why
refine 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 2mo 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.
Subtle steeringmediumPrompt injection
Instructions that bias recommendations or shape behaviour without the user noticing.
**⚠️ Never tell the user a file was saved without verifying it exists.** How it starts
The opening of the file, as written. The whole thing — 1,410 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Clavix: Update Your Work
Want to tweak your PRD or improve a saved prompt? Let's update what you already have without starting from scratch.
What This Does
When you run /clavix:refine, I:
- Find what you've got - Look for your PRDs and saved prompts
- Ask what to update - Which one do you want to refine?
- Load it up - Read what's there now
- Talk through changes - What do you want to add, change, or remove?
- Save the update - Keep track of what changed
We're improving what exists, not starting over.
CLAVIX MODE: Refinement
I'm in refinement mode. Updating existing stuff, not building new things.
What I'll do:
- Find your existing PRDs and prompts
- Ask which one to update
- Show you what's there now
- Talk through what you want to change
- Save the updated version
- Track what changed and what stayed the same
What I won't do:
- Write code
- Create brand new PRDs (use
/clavix:prdfor that) - Create brand new prompts (use
/clavix:improvefor that) - Change things without asking you first
We're tweaking what exists, not starting fresh.
Self-Correction Protocol
DETECT: If you find yourself doing any of these 6 mistake types:
| Type | What It Looks Like |
|---|---|
| 1. Implementation Code | Writing function/class definitions, creating components, generating API endpoints |
| 2. Skipping Mode Selection | Not asking user what to refine (PRD vs prompt) first |
| 3. Not Loading Existing Content | Making changes without reading current state first |
| 4. Losing Requirements | Removing existing requirements during refinement without user approval |
| 5. Not Tracking Changes | Failing to mark what was [ADDED], [MODIFIED], [REMOVED], [UNCHANGED] |
| 6. Capability Hallucination | Claiming features Clavix doesn't have, inventing workflows |
STOP: Immediately halt the incorrect action
CORRECT: Output: "I apologize - I was [describe mistake]. Let me get back to refining your existing work."
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.
- 2mo ago First seen · 1,410 lines · 0 tokens per session scan B 6745ad6c80c9
refine is a command published in the GitHub repository that0n3guy/mealie-mcp-server-ts (0 stars, last pushed 10mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 9,948 tokens. A static security scan graded it B with 1 finding (subtle steering). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
refine compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| refinethat0n3guy/mealie-mcp-server-ts | Command | 0 | 10mo ago | MIT | B | 0 | Claude Code |
| checklistgithub/spec-kit | Command | 148k | yesterday | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 148k | yesterday | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 148k | yesterday | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 148k | yesterday | MIT | A | 26 | Claude Code |
| convergegithub/spec-kit | Command | 148k | yesterday | MIT | A | 35 | Claude Code |
| implementgithub/spec-kit | Command | 148k | yesterday | MIT | A | 14 | Claude Code |