IN

internal-gateway-execute-plans

A thin wrapper to execute and track progress of approved task plans located in the repository.

Install

mkdir -p .claude/skills/internal-gateway-execute-plans && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14907" && unzip -o skill.zip -d .claude/skills/internal-gateway-execute-plans && rm skill.zip

Installs to .claude/skills/internal-gateway-execute-plans

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use when executing an approved compact or extended repository-owned plan from tmp/superpowers/<clear-action-or-task-name>/ and the numbered-file order, done-* loop, and blocker handling must stay explicit.
205 chars✓ has a “when” trigger
Advanced

Key capabilities

  • Execute approved retained plans from `tmp/superpowers/`
  • Resume interrupted retained plans
  • Apply repo-local closeout through status files
  • Confirm retained plan folder and approval to execute
  • Announce gateway and load `superpowers-executing-plans`
  • Require fresh passing task-level evidence before marking a task complete

How it works

The skill acts as a thin repository wrapper for approved retained-plan execution, owning repo-local start, task-transition, stop, and status-file policy, while delegating the execution loop to `superpowers-executing-plans`.

Inputs & outputs

You give it
Approved retained plan in `tmp/superpowers/`
You get back
Execution of plan tasks, updated status files (`<plan-basename>.<STATUS>.md`), and task-level evidence

When to use internal-gateway-execute-plans

  • Executing approved development plans
  • Resuming paused repository tasks
  • Closing out completed task plans

About this skill

Internal Gateway Execute Plans

Bundle References

  • references/execution-contract.md — repository hooks around the delegated execution loop.
  • references/recovery-contract.md — continuation-first recovery and closeout decision ladder.
  • references/status-contract.md — status transition table, required headings, and exact sibling filenames.
  • scripts/plan_execution.py — read-only stdlib-only CLI for strict plan binding, structured recovery classification, status shape, resume safety, and completion readiness.

Referenced skills

  • /superpowers-executing-plans owns critical plan review, todo tracking, task execution, and its core stop behavior.
  • /internal-tdd owns executable-behavior test-first guidance at the local task gate.
  • /superpowers-verification-before-completion owns final evidence before completion claims.
  • /addyosmani-code-simplification is conditional and may be loaded only when the approved task explicitly authorizes simplification.

When to use

  • Execute or resume an approved retained plan under tmp/superpowers/plans/.
  • Apply repository-local preflight, task hooks, status handling, and closeout around the delegated core loop.

When not to use

  • Writing, reformulating, reviewing, or challenging a plan.
  • Running same-chat work that is not driven by an approved retained plan.
  • Changing imported execution behavior or replacing the delegated core workflow.

Safety Boundary

The bundled CLI proves only mechanical safety: the plan is in the canonical retained directory, readable, actionable, and contains exactly one supported execution contract; status files are bound to the plan and fingerprint; and completion state is consistent. Missing required headings, execution fields, or contract data are blocking findings. Status files require the minimal resumable core plus closeout evidence for serialized routes. Conversational approval and runtime safety remain gateway responsibilities.

Gateway boundary

The gateway is a repository-owned extension of /superpowers-executing-plans. The delegated owner supplies the core review, todo, execution, and stop loop. Keep only these local responsibilities here:

  • bind the exact plan path and explicit approval state;
  • compute the SHA-256 fingerprint, run dirty-worktree preflight, and capture the plan-required validation baseline;
  • apply task-level /internal-tdd and evidence hooks;
  • classify closeout evidence with closeout-check, continue while a safe route exists, and preserve the baseline/final delta;
  • enforce the no-Git-mutation policy;
  • replace the exact DONE, PARTIAL, BLOCKED, or NEEDS_REVIEW sibling;
  • run resume and completion checks through scripts/plan_execution.py.

Gateway phases

  1. Bind the approved retained plan, fingerprint, workspace overlap, and native validation commands. Completion: preflight passes and the baseline is recorded.
  2. Execute the delegated plan task-by-task with task-level red-first gates. Completion: each task has fresh focused evidence or a recorded safe pause.
  3. Recover through references/recovery-contract.md whenever validation or execution is unresolved. Completion: the next candidate was tried, authority was requested when required, or exhaustion evidence is complete.
  4. Decide with closeout-check. Completion: continue immediately on a continue-* or request-authority route, or write one legal status sibling for a terminal or explicit pause route.
  5. Close with broader validation, git diff --check, status binding, and the verification-before-completion gate. Completion: the status sibling and report contain the same fresh evidence.

Delegation checkpoints

Before loading /superpowers-executing-plans, bind the retained plan, record approval, fingerprint the plan, capture the workspace baseline, and run the plan's broad baseline validation. At each task boundary, load /internal-tdd when the task changes executable or evaluable behavior and require its red-first evidence before implementation. After each delegated task, run the plan's focused validation, retain fresh evidence, classify failures, and attempt bounded recovery while evidence improves. Pre-existing or unrelated broad failures do not stop independent tasks. Load /superpowers-verification-before-completion before any positive completion claim; load /addyosmani-code-simplification only when explicitly authorized by the plan.

Before a task transition or closeout, apply references/recovery-contract.md. Preserve the native authoritative command, continue on a safe continue-* route, and keep bounded search and retry evidence.

On pause or resume, preserve the plan fingerprint and use the status and resume checks from scripts/plan_execution.py. At closeout, run the required broader validation with the same commands used at baseline, record the baseline/final delta, verify git diff --check, and write exactly one status sibling according to references/status-contract.md. Always provide a concise user-facing report with the outcome, changed work, validation, blocker or gap, recovery attempts, and exact next action.

No-Commit Rule

Do not run git add, git commit, git push, git merge, or another Git mutation while executing, pausing, or closing out a plan. Leave executed changes uncommitted for the user to review. If a retained plan contains Git mutation steps, skip them and record the plan drift in the status sibling.

Validation

  • git diff --check
  • python3 scripts/plan_execution.py preflight <plan-file> --format compact
  • python3 scripts/plan_execution.py status-check <status-file> --format compact
  • python3 scripts/plan_execution.py resume-check <plan-file> <status-file> --format compact
  • python3 scripts/plan_execution.py closeout-check <plan-file> <evidence-file> --format compact
  • python3 scripts/plan_execution.py completion-check <plan-file> <status-file> --format compact
  • Confirm no live repository references point to removed bundle files.

The writer-owned versioned ## Execution Contract is authoritative for validation IDs, native commands, required flags, equivalence policy, manual obligations, and authority boundaries. The executor owns all six discovery categories, recovery candidates, attempts, rejection evidence, authority state, and closeout routing. request-authority keeps execution active and does not produce a status sibling.

When not to use it

  • When writing, reformulating, reviewing, or challenging a plan
  • When running same-chat work not driven by an approved retained plan
  • When changing `superpowers-executing-plans` behavior

Limitations

  • Does not write, reformulate, review, or challenge plans
  • Does not change `superpowers-executing-plans` behavior
  • Does not create new closeout artifacts like `done-*` or `completion-report.md`

How it compares

This approach enforces strict execution discipline, including DRY, YAGNI, KISS principles, and tight feedback loops, ensuring that plan execution is precise and adheres to approved scope, unlike less structured task execution.

Compared to similar skills

internal-gateway-execute-plans side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
internal-gateway-execute-plans (this skill)01moReviewAdvanced
github-project-management46moReviewAdvanced
conductor-setup34moReviewBeginner
issue-manage25moReviewBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry