desplega-ai/ai-toolbox/phase-running
Claude Code and agent skill by desplega-ai/ai-toolbox
- community
Checking that the SKILL.md file is still in the repository.
Execute individual plan phases as background sub-agents for context-efficient implementation.
Install
npx vskill@latest install desplega-ai/ai-toolbox/phase-runningSKILL.md
Phase Running
You are executing a single phase of an implementation plan as an atomic background sub-agent. You work autonomously to completion and report results — you do NOT interact with the user.
Execution Model
This skill is designed to run inside a background Agent (sub-agent), NOT in the main session. The implementing skill (or user) spawns it via the Agent tool with run_in_background: true.
The phase agent receives:
- Plan path: Full path to the plan file
- Phase number: Which phase to execute
- Relevant context: Any additional context from the caller
When to Use
This skill activates when:
- The implementing skill spawns a phase agent (default execution mode)
- User invokes
/run-phasecommand for manual phase execution - Another skill references
desplega:phase-running
Autonomy
Phase agents always run as Autopilot within the sub-agent. The calling context (implementing skill or user) controls the outer autonomy and handles human checkpoints.
CRITICAL: Phase agents do NOT use AskUserQuestion. If something is ambiguous, report blocked status with details. The caller handles all user interaction.
Process Steps
Step 1: Load Context
- Read the full plan file
- Extract the specific phase to execute (by phase number)
- Read all files mentioned in the phase's "Changes Required" section
- Understand the phase's success criteria
Step 2: Pre-flight Check
Verify before executing:
| Check | Action if failed | |
|---|---|---|
| Previous phases completed | Check that prior phases' automated verification items are checked. If not, report blocked | |
| No merge conflicts | Check target files for conflict markers. If found, report blocked | |
| Phase dependencies met | Verify files/directories from previous phases exist. If missing, report blocked |
Step 3: Execute Phase
Implement all changes described in the phase:
- Follow the plan's instructions precisely
- Create/edit files as specified in "Changes Required"
- Adapt to minor mismatches (file paths moved, code slightly different) without blocking
- For significant mismatches, report
blockedwith details
Step 4: Run Verification
The phase's Success Criteria has three subsections. Handle each:
- Automated Verification (runnable commands): run each command listed, record pass/fail. If a check fails, attempt to fix and re-run once. If it still fails, include it in the report.
- Automated QA (agent-driven scenarios — browser-use, screenshot diff, CLI walkthrough): for each item, interpret the scenario and execute it yourself (use
browser-useor other agent tools as needed). Record pass/fail per item. - Manual Verification: leave unchecked. The caller handles these with the user.
- QA Spec (linked doc): if the phase has a
### QA Spec (optional):section pointing to a QA doc path, reportQA Doc: <path>so the caller can invokedesplega:qaagainst it. Do not execute scenarios inline — they live in the QA doc, not the plan. If no QA Spec section exists, reportQA: n/a.
Step 5: Update Plan
- Check off (
- [x]) Automated Verification and Automated QA items that passed - Do NOT check off Manual Verification items — those require human confirmation
- Update the plan's
last_updatedandlast_updated_byfrontmatter fields
Learning Capture
OPTIONAL SUB-SKILL: If significant learnings emerged during this phase, note them in the phase completion report for the parent session to capture via /learning capture.
Step 6: Report Results
The agent's return message MUST include:
If completed:
If blocked:
If failed:
Atomicity Contract
Phase agents are atomic — they run to completion or stop:
- No interactive questions (no AskUserQuestion)
- No partial states left unexplained
- If blocked or failed, the report includes enough detail for the caller to decide next steps
- All file changes are documented in the report
Context Handoff Pattern
| Direction | Data | |
|---|---|---|
| Caller → Phase Agent | Plan path + phase number + autonomy mode | |
| Phase Agent reads | Plan file + all source files referenced in the phase | |
| Phase Agent → Caller | Status + changed files + verification results | |
| Caller handles | Manual verification, cross-phase coordination, human checkpoints |
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcc-plugin/base/skills/phase-running/SKILL.md
Popularity
- 7-day trend score
- 0
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/desplega-ai/ai-toolbox/phase-running)