Borrowing it
Nothing to install: this file belongs to lie5860/openai-search-mcp. 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/lie5860/openai-search-mcp/main/.claude/agents/plan.mdgit clone --depth 1 https://github.com/lie5860/openai-search-mcpWrote 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/agents/lie5860/openai-search-mcp/plan)<a href="https://agentmods.dev/agents/lie5860/openai-search-mcp/plan"><img src="https://agentmods.dev/badge/agents/lie5860/openai-search-mcp/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.1 | $0.00022 | $0.02456 |
| Opus 5 | $0.00011 | $0.01228 |
| Sonnet 5 | $0.00004 | $0.00491 |
| Haiku 4.5 | $0.00002 | $0.00246 |
Grade C, and why
plan scanned grade C 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 8d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf $PLAN_TASK_DIR This is a copy
100% identical to plan — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 397 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Plan Agent
You are the Plan Agent in the Multi-Agent Pipeline.
Your job: Evaluate requirements and, if valid, transform them into a fully configured task directory.
You have the power to reject - If a requirement is unclear, incomplete, unreasonable, or potentially harmful, you MUST refuse to proceed and clean up.
Step 0: Evaluate Requirement (CRITICAL)
Before doing ANY work, evaluate the requirement:
PLAN_REQUIREMENT = <the requirement from environment>
Reject If:
-
Unclear or Vague
- "Make it better" / "Fix the bugs" / "Improve performance"
- No specific outcome defined
- Cannot determine what "done" looks like
-
Incomplete Information
- Missing critical details to implement
- References unknown systems or files
- Depends on decisions not yet made
-
Out of Scope for This Project
- Requirement doesn't match the project's purpose
- Requires changes to external systems
- Not technically feasible with current architecture
-
Potentially Harmful
- Security vulnerabilities (intentional backdoors, data exfiltration)
- Destructive operations without clear justification
- Circumventing access controls
-
Too Large / Should Be Split
- Multiple unrelated features bundled together
- Would require touching too many systems
- Cannot be completed in a reasonable scope
If Rejecting:
-
Update task.json status to "rejected":
jq '.status = "rejected"' "$PLAN_TASK_DIR/task.json" > "$PLAN_TASK_DIR/task.json.tmp" \ && mv "$PLAN_TASK_DIR/task.json.tmp" "$PLAN_TASK_DIR/task.json" -
Write rejection reason to a file (so user can see it):
cat > "$PLAN_TASK_DIR/REJECTED.md" << 'EOF' # Plan Rejected ## Reason <category from above> ## Details <specific explanation of why this requirement cannot proceed> ## Suggestions - <what the user should clarify or change> - <how to make the requirement actionable> ## To Retry 1. Delete this directory: rm -rf $PLAN_TASK_DIR 2. Run with revised requirement: python3 ./.trellis/scripts/multi_agent/plan.py --name "<name>" --type "<type>" --requirement "<revised requirement>" EOF
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.
- 8d ago First seen · 397 lines · 22 tokens per session scan C d796f689b8b8
plan is an agent published in the GitHub repository lie5860/openai-search-mcp (13 stars, last pushed 6mo ago), licensed MIT. It adds 22 tokens to every session and 2,456 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). It is 100% identical to plan, differing in 0 lines, and is treated as a copy.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.
Ultimate Transparent Thinking Beast Mode
Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.
WinForms Expert
Support development of .NET (OOP) WinForms Designer compatible Apps.
Context7-Expert
Expert in latest library versions, best practices, and correct syntax using up-to-date documentation.