Skip to main content
command CX Codex

complete — Claude Code command: what it does, how to install

A signal command: Claude runs it by itself once a skill with "when": "complete" subscriptions has finished, and a hook starts the next steps in the chain.

no license ★ 2,003 updated 2026-07-26

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/complete.md
Open on GitHub

What complete does

complete is a signal, not something you type to start work. Claude fires it on its own after a skill carrying "when": "complete" subscriptions has wrapped up. A PreToolUse hook intercepts the call, wakes the downstream subscriptions and places their instructions above the command text. Nothing added by the hook means no subscription matched, or conditions filtered them out.

It takes one argument: the skill name with its namespace, such as superpowers:writing-plans. Add --depth N to mark how deep the chain runs. Call it bare and you get a note that no skill name arrived, so there is nothing to trigger.

The markdown file .claude/commands/complete.md carries only the signal; the payload comes from the hook. Install the command while skill-bus and its hook are missing and the call lands nowhere, leaving the next step of the chain empty-handed.

What it helps with

  • fire downstream subscriptions after a skill finishes
  • hand context to the next step of a chain through a hook
  • mark chain depth with --depth
  • tell a missing subscription apart from one filtered out by conditions

Example prompts for the agent

  • Finish the superpowers:writing-plans skill, then send /skill-bus:complete superpowers:writing-plans.
  • Send /skill-bus:complete superpowers:writing-plans --depth 2 to mark where we sit in the chain.
  • Check whether the skill has "when": "complete" subscriptions, and if it does, run /skill-bus:complete superpowers:writing-plans.

How to install complete

Manually: put the files in place

.claude/commands/complete.md

Call it with /complete. For all projects use ~/.claude/commands/

Questions about complete

How to install complete in Claude Code?

Copy the command file into your project at .claude/commands/complete.md. From then on Claude invokes it itself when a skill with "when": "complete" subscriptions is done.

What does complete do?

It signals that a skill has finished. The PreToolUse hook catches the call and fires the subscriptions waiting on that skill, injecting their instructions into context.

What goes into the arguments?

The finished skill's name with its namespace, for example superpowers:writing-plans, plus --depth N if you want chain tracking. With no argument the command triggers nothing.

Similar slash commands

All slash commands for Agent setup: memory, context, orchestration →

From the same set68

The whole set →
perf-theory-tester The perf-theory-tester subagent tests performance hypotheses with controlled runs. It changes one thing at a time, compares results with a baseline, and rolls the change back. CX Codex ★ 2,003repo stars pr-review pr-review is a Claude Code command that examines pull request changes before they are merged. Its template reviews a patch from six different professional perspectives. CX Codex +1 ★ 2,003repo stars setup setup configures the connect-apps plugin so Claude Code can trigger actions in external services like Gmail, Slack, and GitHub through Composio. CX Codex +1 ★ 2,003repo stars report report is a Claude Code command that shows skill-bus subscription matches, condition skips, and skills without subscriptions to help find coverage gaps. CX Codex +1 ★ 2,003repo stars reflecting-on-sessions reflecting-on-sessions inspects skill-bus telemetry across task transitions to surface unhandled skill calls and rule gaps. CX Codex +1 ★ 2,003repo stars remove-sub remove-sub is a Claude Code command for managing skill-event subscriptions by scope: remove project triggers, disable global ones for a project, or restore them. CX Codex +1 ★ 2,003repo stars audit-project-github The audit-project-github command for Claude Code turns deferred /audit-project findings into GitHub issues via gh, keeping security findings out of the public tracker. It requires git and authenticated gh. CX Codex +1 ★ 2,003repo stars edit-insert edit-insert modifies stored text content and trigger conditions for skill-bus inserts. Useful when you need to update prompt context across all connected subscriptions. CX Codex +1 ★ 2,003repo stars

Project sponsors

Companies that keep this analytics open