packrat-ai/packrat/deepen-plan
Claude Code and agent skill by packrat-ai/packrat
- community
Checking that the SKILL.md file is still in the repository.
Enhance a plan with parallel research agents for each section to add depth, best practices, and implementation details
Install
npx vskill@latest install packrat-ai/packrat/deepen-planSKILL.md
The same SKILL.md was published earlier as packrat-ai/packrat/deepen-plan.
Deepen Plan - Power Enhancement Mode
Introduction
Note: The current year is 2026. Use this when searching for recent documentation and best practices.
This command takes an existing plan (from /ce:plan) and enhances each section with parallel research agents. Each major element gets its own dedicated research sub-agent to find:
- Best practices and industry patterns
- Performance optimizations
- UI/UX improvements (if applicable)
- Quality enhancements and edge cases
- Real-world implementation examples
The result is a deeply grounded, production-ready plan with concrete implementation details.
Plan File
<plan_path> #$ARGUMENTS </plan_path>
If the plan path above is empty:
- Check for recent plans:
ls -la docs/plans/ - Ask the user: "Which plan would you like to deepen? Please provide the path (e.g.,
docs/plans/2026-01-15-feat-my-feature-plan.md)."
Do not proceed until you have a valid plan file path.
Main Tasks
1. Parse and Analyze Plan Structure
<thinking> First, read and parse the plan to identify each major section that can be enhanced with research. </thinking>
Read the plan file and extract:
- [ ] Overview/Problem Statement
- [ ] Proposed Solution sections
- [ ] Technical Approach/Architecture
- [ ] Implementation phases/steps
- [ ] Code examples and file references
- [ ] Acceptance criteria
- [ ] Any UI/UX components mentioned
- [ ] Technologies/frameworks mentioned (Rails, React, Python, TypeScript, etc.)
- [ ] Domain areas (data models, APIs, UI, security, performance, etc.)
Create a section manifest:
2. Discover and Apply Available Skills
<thinking> Dynamically discover all available skills and match them to plan sections. Don't assume what skills exist - discover them at runtime. </thinking>
Step 1: Discover ALL available skills from ALL sources
Important: Check EVERY source. Don't assume compound-engineering is the only plugin. Use skills from ANY installed plugin that's relevant.
Step 2: For each discovered skill, read its SKILL.md to understand what it does
Step 3: Match skills to plan content
For each skill discovered:
- Read its SKILL.md description
- Check if any plan sections match the skill's domain
- If there's a match, spawn a sub-agent to apply that skill's knowledge
Step 4: Spawn a sub-agent for EVERY matched skill
CRITICAL: For EACH skill that matches, spawn a separate sub-agent and instruct it to USE that skill.
For each matched skill:
Spawn ALL skill sub-agents in PARALLEL:
- 1 sub-agent per matched skill
- Each sub-agent reads and uses its assigned skill
- All run simultaneously
- 10, 20, 30 skill sub-agents is fine
Each sub-agent:
- Reads its skill's SKILL.md
- Follows the skill's workflow/instructions
- Applies the skill to the plan
- Returns whatever the skill produces (code, recommendations, patterns, reviews, etc.)
Example spawns:
No limit on skill sub-agents. Spawn one for every skill that could possibly be relevant.
3. Discover and Apply Learnings/Solutions
<thinking> Check for documented learnings from /ce:compound. These are solved problems stored as markdown files. Spawn a sub-agent for each learning to check if it's relevant. </thinking>
LEARNINGS LOCATION - Check these exact folders:
Step 1: Find ALL learning markdown files
Run these commands to get every learning file:
Step 2: Read frontmatter of each learning to filter
Each learning file has YAML frontmatter with metadata. Read the first ~20 lines of each file to get:
For each .md file, quickly scan its frontmatter:
Step 3: Filter - only spawn sub-agents for LIKELY relevant learnings
Compare each learning's frontmatter against the plan:
tags:- Do any tags match technologies/patterns in the plan?category:- Is this category relevant? (e.g., skip deployment-issues if plan is UI-only)module:- Does the plan touch this module?symptom:/root_cause:- Could this problem occur with the plan?
SKIP learnings that are clearly not applicable:
- Plan is frontend-only → skip
database-migrations/learnings - Plan is Python → skip
rails-specific/learnings - Plan has no auth → skip
authentication-issues/learnings
SPAWN sub-agents for learnings that MIGHT apply:
- Any tag overlap with plan technologies
- Same category as plan domain
- Similar patterns or concerns
Step 4: Spawn sub-agents for filtered learnings
For each learning that passes the filter:
Example filtering:
Spawn sub-agents in PARALLEL for all filtered learnings.
These learnings are institutional knowledge - applying them prevents repeating past mistakes.
4. Launch Per-Section Research Agents
<thinking> For each major section in the plan, spawn dedicated sub-agents to research improvements. Use the Explore agent type for open-ended research. </thinking>
For each identified section, launch parallel research:
Also use Context7 MCP for framework documentation:
For any technologies/frameworks mentioned in the plan, query Context7:
Use WebSearch for current best practices:
Search for recent (2024-2026) articles, blog posts, and documentation on topics in the plan.
5. Discover and Run ALL Review Agents
<thinking> Dynamically discover every available agent and run them ALL against the plan. Don't filter, don't skip, don't assume relevance. 40+ parallel agents is fine. Use everything available. </thinking>
Step 1: Discover ALL available agents from ALL sources
Important: Check EVERY source. Include agents from:
- Project
.claude/agents/ - User's
~/.claude/agents/ - compound-engineering plugin (but SKIP workflow/ agents - only use review/, research/, design/, docs/)
- ALL other installed plugins (agent-sdk-dev, frontend-design, etc.)
- Any local plugins
For compound-engineering plugin specifically:
- USE:
agents/review/*(all reviewers) - USE:
agents/research/*(all researchers) - USE:
agents/design/*(design agents) - USE:
agents/docs/*(documentation agents) - SKIP:
agents/workflow/*(these are workflow orchestrators, not reviewers)
Step 2: For each discovered agent, read its description
Read the first few lines of each agent file to understand what it reviews/analyzes.
Step 3: Launch ALL agents in parallel
For EVERY agent discovered, launch a Task in parallel:
CRITICAL RULES:
- Do NOT filter agents by "relevance" - run them ALL
- Do NOT skip agents because they "might not apply" - let them decide
- Launch ALL agents in a SINGLE message with multiple Task tool calls
- 20, 30, 40 parallel agents is fine - use everything
- Each agent may catch something others miss
- The goal is MAXIMUM coverage, not efficiency
Step 4: Also discover and run research agents
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 91 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/deepen-plan/SKILL.md
Popularity
- Repository stars
- 35
- Repository forks
- 38
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/packrat-ai/packrat/deepen-plan)