/mega-code:stop [run-id]from mega-code
Stops a running MEGA-Code pipeline by run ID or interactive selection. Lists active runs and confirms before stopping.
Ships in mega-code. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Stop a currently running MEGA-Code skill extraction pipeline.
MEGA_DIR="$(cd "${CLAUDE_SKILL_DIR}/../.." && pwd)"
export MEGA_CODE_AGENT="claude"
uv run --directory "$MEGA_DIR" python -m mega_code.client.check_auth
If the auth check fails (non-zero exit), show the output to the user and stop.
Skip to the Stop step below using the provided run-id.
Step 1 — List active runs:
uv run --directory "$MEGA_DIR" mega-code pipeline-status
If the output says "No active pipeline runs.", tell the user and stop.
Step 2 — Ask user to confirm:
Use the AskUserQuestion tool to present the active runs and let the user choose.
Always include a cancel option — even if there is only one active run.
Format the question like:
Active pipeline runs:
1. {run_id} | project: {project_id} | status: {status}
Phase: {current_phase} ({sessions_processed}/{sessions_total})
Which run would you like to stop? Select a number, or 0 to cancel.
If user selects 0 or cancels, say "Cancelled." and stop.
uv run --directory "$MEGA_DIR" mega-code pipeline-stop --run-id <SELECTED_RUN_ID>
Report the result to the user. If successful, confirm: "Pipeline {run_id} has been stopped."
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/helpMEGA-Code HelpShow MEGA-Code help — available commands, output locations, skill and strategy structure, and usage tips./loginLogin to MEGA-CodeSign in to MEGA-Code via GitHub or Google OAuth to get an API key./profileDeveloper ProfileView or update your MEGA-Code developer profile (language, level, style) to personalise skill extraction.npx claudepluginhub wisdomgraph/mega-code --plugin mega-codeOther plugins' skills for the same job