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/wmeints/context-engineering/generate-plangit clone --depth 1 https://github.com/wmeints/context-engineeringWhat 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.00000 | $0.00486 |
| Opus 5 | $0.00000 | $0.00243 |
| Sonnet 5 | $0.00000 | $0.00097 |
| Haiku 4.5 | $0.00000 | $0.00049 |
Grade A, and why
generate-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 yesterday.
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 — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Create requirements document
Feature: $ARGUMENTS
Generate a complete requirements document for feature implementation based on thorough research. Ensure context is passed to the agent to enable self-validation and iterative improvements. Read the requirements file first to understand what needs to be done, how examples provided help, and any other considerations.
The agent only gets access to the context you're appending to the requirements document. Assume that the agent has access to the code base and the same knowledge cut-off as you, so it's important that your research is included or referenced in the requirements document. The agent has websearch capabilities, so pass URLs to documentation and examples.
Research process
- Codebase analysis
- Search for similar patterns/features in the code base
- Identify files to reference in the requirements document
- Note existing conventions to follow
- Check test patterns for validation
- External research
- Search for similar features/patterns online
- Library documentation (include specific URLs)
- Implementation examples (Github/blogs)
- Best practices and common pitfalls
- User clarification
- Specific patterns to mirror and where to find them
- Integration requirements and where to find them
Requirements document generation
Critical context to pass
- Documentation: URLs to specific sections
- Code Examples: Real snippets from the code base
- Gotchas: Library quirks, version issues
- Patterns: Existing approaches to follow
Implementation blueprint
- Start with pseudocode showing the approach
- Reference real files for patterns
- Include error handling strategies
- List tasks to be completed to fulfill the requirements in order of completion
Validation gates
dotnet test
It's important to verify the requirements and plan your approach before writing the requirements document.
Output
Save the requirements as docs/implementation-plans/{feature-name}.md
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.
- yesterday First seen · 79 lines · 0 tokens per session scan A b95dd2d77e5b
generate-plan is a command published in the GitHub repository wmeints/context-engineering (37 stars, last pushed 8mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 486 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-30.
Other commands, from other repositories
al-agent-instructions-create
Generate optimized natural language instructions for Business Central agents (Designer or SDK). Follows Responsibilities-Guidelines-Instructions framework. Use when writing agent instructions or creating InstructionsV1.txt.
sdd-setup
Onboarding wizard — DocLanguage, Memory Bank, architecture snapshot, working agreements (quality gate, TDD working mode).
ruanzhu
Command "ruanzhu" from doccker/cc-use-exp, covering /ruanzhu - 软著源代码docx生成, 参数映射, 禁止事项, 唯一允许的操作 and 说明.
choose-model
Compare current models across configured AI providers and produce an executable plan without running paid work. Use when the user asks which model or provider should perform a task.
setup
Check whether GitHub Copilot CLI is installed, authenticated, and ready for delegation.
review
Review code across five axes with categorized findings.