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/save-plangit 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/save-plan)<a href="https://agentmods.dev/commands/vladm3105/aidoc-flow-framework/save-plan"><img src="https://agentmods.dev/badge/commands/vladm3105/aidoc-flow-framework/save-plan.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 | $0.00008 | $0.00917 |
| Opus 5 | $0.00004 | $0.00458 |
| Sonnet 5 | $0.00002 | $0.00183 |
| Haiku 4.5 | $0.00001 | $0.00092 |
Grade A, and why
save-plan 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 4d 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 — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Save Plan Command
Extract the current conversation plan and task list, save to a timestamped implementation file, and provide instructions for starting implementation in a new context window.
Instructions
-
Extract Current Context:
- Identify all TodoWrite entries from the conversation
- Extract the overall plan or goal statement
- Capture any important decisions or constraints discussed
- Note current progress state (what's completed, what's pending)
-
Determine Work Plans Directory (resolution order per
docs/CONFIG.md):- First, read
work_plans_dirfrom.claude/aidoc-flow.config.yaml(the current home for this setting — seedocs/CONFIG.md). - Else, fall back to the legacy
Work Plans Directoryline in.claude/CLAUDE.md. - If neither is set: Use AskUserQuestion to prompt for the directory, then
store it as
work_plans_dir:in.claude/aidoc-flow.config.yaml(new projects prefer the config file; the legacy CLAUDE.md line still works). - Create the directory structure if it doesn't exist.
- First, read
-
Prompt for Plan Name:
- Use AskUserQuestion to ask user for meaningful plan name
- Example prompts: "implement-user-auth", "refactor-api-layer", "fix-database-performance"
- Sanitize input: lowercase, replace spaces with hyphens, remove special characters
- Keep alphanumeric characters and hyphens only
-
Create Implementation File:
- Generate filename format:
{sanitized-plan-name}_YYYYMMDD_HHMMSS.md - Example:
implement-oauth_20260709_143022.md - Save to the work-plans directory resolved in step 2
- Ensure directory exists before writing
- Generate filename format:
-
File Structure:
# Implementation Plan - [Brief Title]
**Created**: YYYY-MM-DDTHH:MM:SSZ
**Status**: Ready for Implementation
## Objective
[Clear statement of the overall goal]
## Context
[Important background, decisions, and constraints from the conversation]
## Task List
### Completed
- [x] Task 1
- [x] Task 2
### Pending
- [ ] Task 3 (IN PROGRESS)
- [ ] Task 4
- [ ] Task 5
### Notes
- [Any important notes about specific tasks]
## Implementation Guide
### Prerequisites
- [Required files, tools, or setup]
### Execution Steps
1. [Ordered steps for implementation]
2. [Include file paths and specific commands]
### Verification
- [How to verify each step is complete]
- [Expected outcomes]
## References
- Related files: [List key files]
- Documentation: [Relevant docs]
- Previous work: [Related plans or completed tasks]
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.
- 4d ago First seen · 129 lines · 8 tokens per session scan A 88b67a085858
save-plan is a command published in the GitHub repository vladm3105/aidoc-flow-framework (17 stars, last pushed today), licensed MIT. It adds 8 tokens to every session and 917 once invoked, about $0.0000 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
git
Git operations with intelligent commit messages and workflow optimization.
pr-address
Address PR review comments on current branch.
enforce_standards
CRITICAL: Before running the code standards enforcer, we must prepare the stack properly and abort if there are merge conflicts.
OPSX: Verify
Verify implementation matches change artifacts before archiving.
OPSX: Continue
Continue working on a change - create the next artifact (Experimental).
OPSX: Sync
Sync delta specs from a change to main specs.