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.
npx agentmods add commands/vladm3105/aidoc-flow-framework/budgetgit clone --depth 1 https://github.com/vladm3105/aidoc-flow-frameworkWrote 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/vladm3105/aidoc-flow-framework/budget)<a href="https://agentmods.dev/commands/vladm3105/aidoc-flow-framework/budget"><img src="https://agentmods.dev/badge/commands/vladm3105/aidoc-flow-framework/budget.svg" alt="Measured on agentmods" 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.00033 | $0.00910 |
| Opus 5 | $0.00016 | $0.00455 |
| Sonnet 5 | $0.00007 | $0.00182 |
| Haiku 4.5 | $0.00003 | $0.00091 |
Grade A, and why
budget 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.
How it starts
The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Budget
Focused editor for the budget.* keys of .claude/aidoc-flow.config.yaml.
For the full schema and every other setting, see
${CLAUDE_PLUGIN_ROOT}/docs/CONFIG.md or run /aidoc-flow:configure.
Honest caveat (read this first)
This is a behavior knob, not a token meter.
The profile tells the doc-* skills how much work to do per artifact —
how many review passes, how deep the checklists, how verbose the output.
The plugin has no token-budget enforcement hook: nothing stops a Claude
Code session from spending tokens, and this command cannot impose a hard
cap.
max— multi-pass review, deeper checklists, longer outputsstandard— default; what every skill does todaymin— single-pass, terse, skip optional checks
Empirically, min reduces tokens 40–60% on most doc-* skills versus
standard, by skipping passes the skill itself owns. That is the real cost
lever this command offers. If you need an actual cap, use Claude Code's
session-level controls.
This command is advisory in the same way /aidoc-flow:model is advisory:
it sets the user's preference so skills can read it and adjust behavior, but
the runtime guarantees live with Claude Code, not with the plugin.
Instructions
-
Read current state — load
.claude/aidoc-flow.config.yamlif it exists; otherwise start from the defaults documented in${CLAUDE_PLUGIN_ROOT}/docs/CONFIG.md. -
Print the caveat banner (one paragraph; reuse the language above so the user sees it inside the running command, not only in this file).
-
Prompt for the default profile —
AskUserQuestion(single-select):max — multi-pass, deeper, longerstandard — default(recommended for production work)min — single-pass, terse(recommended for test/scratch projects)
Show the current value as the first option.
-
Offer per-layer overrides — ask
AskUserQuestion(yes/no): "Set a different profile for specific layers? (e.g.maxfor BRD,minfor IPLAN scratch.)"
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.
- 5d ago First seen · 97 lines · 33 tokens per session scan A 806f15c15e79
budget is a command published in the GitHub repository vladm3105/aidoc-flow-framework (17 stars, last pushed today), licensed MIT. It adds 33 tokens to every session and 910 once invoked, about $0.0002 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.
Other commands, from other repositories
model-config
Configure AI provider models for Claude Octopus workflows.
setup
Interactive setup for YAML LSP development environment.
publish
Release a new package version — semver bump from commits, tag, registry publish, GitHub Release.
mpm-config
Manage Claude MPM configuration.
bump
Full dependency and toolchain bump — deps to latest major, Node pins, GitHub Actions, audit, validate, commit.
rebase
Rebase the current branch on main, a local branch, or a remote branch (with fetch).