Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Ultimate autonomous execution engine. Plan → Execute → Test → Never Stop Until Done. Use when the user wants hands-off completion with no questions, automatic recovery from any failure, and proven results.
.claude/skills/majiayu000-vc-phase-loop/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-10 | ✗→✓ | ▲ Improved | 254% | 0% |
| case-19 | ✗→✓ | ▲ Improved | 245% | 0% |
| case-01 | ✓→✗ | ▼ Worse | -49% | 0% |
| case-18 | ✓→✗ | ▼ Worse | 73% | 0% |
| case-16 | ✓→✓ | = Same ✓ | 139% | 0% |
┌─────────────────────────────────────────────────────────────┐
│ THE IRON LAWS │
├─────────────────────────────────────────────────────────────┤
│ │
│ 1. NEVER STOP UNTIL PROVEN DONE │
│ 2. NEVER ASK - DECIDE AND RECORD │
│ 3. NEVER FAIL - ADAPT AND RETRY │
│ 4. NEVER FORGET - TRACK EVERYTHING │
│ 5. NEVER ASSUME DONE - VERIFY WITH EVIDENCE │
│ │
└─────────────────────────────────────────────────────────────┘BEFORE ANY WORK, create .vc/work-{timestamp}.md:
markdown# Task: {description} Started: {datetime} Status: in_progress ## Phases - [ ] Phase 1: {name} - [ ] Phase 2: {name} ... ## Assumptions Log | # | Decision | Rationale | Reversible | |---|----------|-----------|------------| ## Error Log | # | Phase | Error | Attempted Fix | Result | |---|-------|-------|---------------|--------| ## Completion Evidence {filled when verified complete}
UPDATE THIS DOCUMENT AFTER EVERY ACTION.
Activate with any of these:
vcf: <task> - SHORT AND POWERFUL (recommended)use vcf: <task> - same as above┌─────────────────────────────────────────────────────────────┐
│ EXECUTION PIPELINE │
├─────────────────────────────────────────────────────────────┤
│ │
│ STAGE 1: RECONNAISSANCE (Parallel if possible) │
│ ├─ Analyze requirements │
│ ├─ Find related code │
│ ├─ Identify risks │
│ └─ Duration: Until complete understanding │
│ │
│ STAGE 2: PLANNING │
│ ├─ Create 10-phase plan (20 for large scope) │
│ ├─ Define success criteria per phase │
│ ├─ Identify parallel opportunities │
│ └─ Output: Phase list with checkboxes │
│ │
│ STAGE 3: EXECUTION (Parallel where independent) │
│ ├─ Execute phases sequentially or in parallel │
│ ├─ On failure: SELF-HEAL (see below) │
│ ├─ Record assumptions with rationale │
│ └─ Update work document after each phase │
│ │
│ STAGE 4: VERIFICATION │
│ ├─ Run ALL tests │
│ ├─ Verify each requirement with evidence │
│ ├─ If fails: LOOP BACK (do not stop) │
│ └─ Output: Completion proof │
│ │
│ EXIT: ONLY when proven complete │
│ │
└─────────────────────────────────────────────────────────────┘ON ANY FAILURE:
┌─────────────────────────────────────────────────────────────┐
│ SELF-HEALING PROTOCOL │
├─────────────────────────────────────────────────────────────┤
│ │
│ Attempt 1: Standard approach │
│ ↓ FAIL? │
│ Attempt 2: Alternative method │
│ ↓ FAIL? │
│ Attempt 3: Decompose into smaller tasks │
│ ↓ FAIL? │
│ Attempt 4: Deep root cause analysis │
│ ↓ FAIL? │
│ Attempt 5: Try 3 different approaches in parallel │
│ ↓ FAIL? │
│ Attempt 6: Research external solutions │
│ ↓ FAIL? │
│ Attempt 7: Create workaround │
│ ↓ FAIL? │
│ Attempt 8+: Hybrid approach combining all learnings │
│ ↓ CONTINUE INDEFINITELY │
│ │
│ ═══════════════════════════════════════════════════════ │
│ THE LOOP NEVER ENDS UNTIL SUCCESS │
│ ═══════════════════════════════════════════════════════ │
│ │
│ On EVERY failure: │
│ 1. Log error with full context │
│ 2. Diagnose root cause │
│ 3. Select new strategy │
│ 4. Execute immediately │
│ 5. Record lesson learned │
│ │
│ NEVER: Stop and wait for user │
│ NEVER: Give up │
│ NEVER: Report failure without attempting fix │
│ │
└─────────────────────────────────────────────────────────────┘Make these decisions automatically and record in Assumptions Log:
| Category | Default Choice | Record | |----------|----------------|--------| | Code style | Follow existing patterns | Brief note | | Library choice | Use what's already in project | Brief note | | File location | Match existing structure | Brief note | | Naming | Follow conventions found | Brief note | | Error handling | Add try-catch where sensible | Brief note | | Testing | Add tests matching existing patterns | Brief note |
Only pause for these HIGH-RISK scenarios:
Everything else: DECIDE AND CONTINUE.
Priority order:
1. package.json scripts → npm/yarn/pnpm test
2. Makefile → make test
3. pytest.ini/pyproject.toml → pytest
4. go.mod → go test ./...
5. Cargo.toml → cargo test
6. pom.xml → mvn test
7. build.gradle → ./gradlew test
8. *.csproj → dotnet test1. Check for any quality command (lint, typecheck, build)
2. Run that instead
3. Note gap: "No tests found, ran lint/build instead"
4. Continue execution (do NOT stop)Test Failed
↓
Analyze failure output
↓
Identify root cause
↓
Fix immediately
↓
Rerun tests
↓
If still failing: RETRY ENGINE (see above)
↓
NEVER stop on test failureRULE: If two tasks have NO dependencies, run them in parallel.
Example:
Phase 1: Create component A ─┐
Phase 2: Create component B ─┼─ PARALLEL
Phase 3: Create component C ─┘
Phase 4: Integrate A+B+C → SEQUENTIAL (depends on 1-3)
Phase 5: Add tests for A ─┐
Phase 6: Add tests for B ─┼─ PARALLEL
Phase 7: Add tests for C ─┘These run in background while continuing:
npm install, pip installnpm run build, cargo buildCheck results before depending on them.
Modern Codex can spawn sub-agents. Use them to speed up independent work (recon, analysis, testing), then merge results into a single execution thread.
Use sub-agents when you have 2+ independent threads such as:
spawn_agent isn’t available), fallback to sequential.close_agent after harvesting results to avoid resource leaks.spawn_agent for each independent thread (worker role if available).wait for results (with timeouts), then send_input follow-ups if needed.close_agent for each sub-agent.Every sub-agent response must start with:
SUMMARY: (≤5 bullets)FINDINGS: (facts + file paths/commands)RISKS: (what could go wrong)RECOMMENDATION: (next action)Before declaring done, you MUST provide:
markdown## COMPLETION PROOF ✓ Executed: Command: {actual command} Output: {actual output pasted} ✓ Tests: Command: {test command} Result: {X passed, Y failed} ✓ Requirements Verified: - [Req 1]: {file}:{line} - {evidence} - [Req 2]: {file}:{line} - {evidence} ✓ Quality Checks: - Build: PASS - Lint: PASS (or N errors fixed) - Types: PASS ✓ Work Document: All boxes checked
If you say these, YOU HAVE NOT COMPLETED:
Certainty required. Evidence required.
When approaching context limits:
If interrupted:
.vc/work-*.md to restore stateUse these sections in order:
markdown# Execution Report ## Plan {10-20 phases with checkboxes} ## Progress {Phase-by-phase execution with timestamps} ## Assumptions {Table of decisions made} ## Tests {Test execution results} ## Completion Proof {Evidence as specified above}
┌─────────────────────────────────────────────────────────────┐
│ │
│ YOU SET THE GOAL. │
│ │
│ WE PLAN IT. │
│ WE EXECUTE IT. │
│ WE FIX WHATEVER BREAKS. │
│ WE RETRY UNTIL SUCCESS. │
│ WE PROVE IT WORKS. │
│ │
│ NO QUESTIONS. NO EXCUSES. NO STOPPING. │
│ │
│ UNTIL IT'S DONE. │
│ ACTUALLY DONE. │
│ PROVEN DONE. │
│ │
└─────────────────────────────────────────────────────────────┘| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-03 | fail→fail | 4,665 | 17,918 | +284% | 1 | 1 | 0% | 241 | 3,152 | +1208% | 0 | 0 | — |
case-04 | fail→fail | 11,414 | 8,596 | -25% | 1 | 1 | 0% | 248 | 3,184 | +1184% | 0 | 0 | — |
case-05 | fail→fail | 15,426 | 17,581 | +14% | 1 | 1 | 0% | 1,606 | 3,358 | +109% | 0 | 0 | — |
case-11 | fail→fail | 24,552 | 12,317 | -50% | 1 | 1 | 0% | 2,076 | 3,968 | +91% | 0 | 0 | — |
case-01 | pass→fail | 44,686 | 22,058 | -51% | 1 | 1 | 0% | 5,916 | 3,046 | -49% | 0 | 0 | — |
case-02 | fail→fail | 10,277 | 6,891 | -33% | 1 | 1 | 0% | 153 | 3,035 | +1884% | 0 | 0 | — |
case-17 | fail→fail | 10,401 | 26,829 | +158% | 1 | 1 | 0% | 168 | 3,225 | +1820% | 0 | 0 | — |
case-06 | fail→fail | 18,078 | 15,041 | -17% | 1 | 1 | 0% | 2,315 | 3,538 | +53% | 0 | 0 | — |
case-07 | fail→fail | 16,583 | 6,453 | -61% | 1 | 1 | 0% | 1,988 | 3,071 | +54% | 0 | 0 | — |
case-08 | fail→fail | 4,736 | 12,513 | +164% | 1 | 1 | 0% | 194 | 3,104 | +1500% | 0 | 0 | — |
case-09 | fail→fail | 15,096 | 11,479 | -24% | 1 | 1 | 0% | 2,440 | 3,086 | +26% | 0 | 0 | — |
case-10 | fail→pass | 9,692 | 15,052 | +55% | 1 | 1 | 0% | 1,521 | 5,389 | +254% | 0 | 0 | — |
case-12 | fail→fail | 12,680 | 9,053 | -29% | 1 | 1 | 0% | 1,984 | 3,344 | +69% | 0 | 0 | — |
case-13 | fail→fail | 16,267 | 13,633 | -16% | 1 | 1 | 0% | 788 | 3,169 | +302% | 0 | 0 | — |
case-14 | fail→fail | 23,589 | 17,425 | -26% | 1 | 1 | 0% | 2,232 | 3,185 | +43% | 0 | 0 | — |
case-15 | fail→fail | 13,604 | 19,296 | +42% | 1 | 1 | 0% | 2,362 | 3,095 | +31% | 0 | 0 | — |
case-16 | pass→pass | 20,567 | 15,722 | -24% | 1 | 1 | 0% | 2,266 | 5,407 | +139% | 0 | 0 | — |
case-18 | pass→fail | 17,399 | 17,264 | -1% | 1 | 1 | 0% | 1,811 | 3,142 | +73% | 0 | 0 | — |
case-19 | fail→pass | 11,747 | 12,845 | +9% | 1 | 1 | 0% | 1,161 | 4,006 | +245% | 0 | 0 | — |
case-20 | fail→fail | 2,333 | 15,656 | +571% | 1 | 1 | 0% | 361 | 3,508 | +872% | 0 | 0 | — |
case-21 | pass→pass | 32,179 | 28,088 | -13% | 1 | 1 | 0% | 3,336 | 6,374 | +91% | 0 | 0 | — |
case-22 | pass→pass | 9,962 | 5,155 | -48% | 1 | 1 | 0% | 776 | 3,569 | +360% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 6 counted toward the lift figure. The other 16 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of 0 percentage points is the difference between those two pass rates over the 6 comparable cases. 5 cases got worse with the skill loaded, and they are included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.