implement-issue

implement-issue is a skill for Claude Code, Codex from alexjbarnes/cockpit. It costs 132 tokens per session (6,222 once invoked), scanned C, original, Apache-2.0.

A coding workflow for implementing a reviewed issue plan in an isolated Git worktree, which is a separate working copy of a repository. It then checks the result against the plan and reviews the code.

In plain words
What is it for?
Implementing a selected issue, running builds, lint checks, and tests, then reviewing and correcting the resulting code.
Why use it?
It keeps planned changes separate from other work and checks that every acceptance criterion, meaning each required outcome, is covered before the issue is finished.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/alexjbarnes/cockpit/implement-issue
Any agent
npx skills add alexjbarnes/cockpit --skill implement-issue
Clone the repo
git clone --depth 1 https://github.com/alexjbarnes/cockpit

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for implement-issue

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexjbarnes/cockpit/implement-issue.svg)](https://agentmods.dev/skills/alexjbarnes/cockpit/implement-issue)
Your own site
<a href="https://agentmods.dev/skills/alexjbarnes/cockpit/implement-issue"><img src="https://agentmods.dev/badge/skills/alexjbarnes/cockpit/implement-issue.svg" alt="Measured on agentmods" height="20"></a>
Per session 132 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,222 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00132 $0.06222
Opus 5 $0.00066 $0.03111
Sonnet 5 $0.00026 $0.01244
Haiku 4.5 $0.00013 $0.00622

Measured 3d ago against content hash a93f83f2ced4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

implement-issue scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf .next # Next resolves the workspace root at the parent dir and can serve the MAIN repo's stale .next; clear it or the reviewer sees old code

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Checks take a few seconds to register after the PR is created; if `gh pr checks` reports none yet, poll briefly with `curl` (foreground `sleep` is blocked) and retry, then watch.
.claude/skills/implement-issue/SKILL.md · 242 lines

How it starts

The opening of the file, as written. The whole thing — 242 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Implement a cockpit issue

The Implementation stage of the pipeline. The issue description already holds a precise, human-approved plan (produced by refine-issue, reviewed, and approved at the issue-level Plan Review gate). This skill executes that plan, then adversarially reviews its own code inline, in one warm run.

The plan is the contract. Follow it. It names the files, symbols, and exact changes. Do not redesign it. If a step is wrong or blocked by reality, make the minimal correct change and record the deviation rather than improvising silently.

Implementation and code review are one stage. The skill codes the plan, then dispatches the code-reviewer agent against its own diff and fixes what it finds, looping in warm context. There is no separate code-review stage in the autonomous pipeline. The issue moves Implementation -> Code Review (the code-level gate) directly.

Input

Either an explicit issue key, or none (the skill selects one).

  • An issue key was given (e.g. CK-12): use it.
  • No key, pipeline mode (a scheduled job ran the skill): select one. mcp__cockpit-config__list_issues with status: "Implementation Ready". If there are none, stop, there is no work this run, do nothing else. Otherwise pick exactly ONE, highest priority then oldest by updatedAt, and implement only that. Ignore the rest; a later run picks them up. Selecting one and immediately moving it to Implementation (step 3) is what stops two runs grabbing the same issue.
  • No key, interactive mode (a human ran the skill): list_issues with status: "Implementation Ready" and ask which one to implement. Do not auto-pick.

This is why a scheduled implementation job needs no selection logic in its prompt. "Run the implement-issue skill" is the whole job; the skill picks the issue.

Invocation modes

  • Pipeline (autonomous): an issue enters Implementation Ready and an agent runs the skill end to end. Perform all status transitions. Push and open the PR without waiting for a human.
  • Interactive: a human runs the skill directly (e.g. "implement CK-12"). Same flow, but confirm with the human before the outward-facing actions: pushing the branch and opening the PR.

Read the full file on GitHub · 242 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 242 lines · 132 tokens per session scan C a93f83f2ced4

Subscribe to this mod's changes

implement-issue is a skill published in the GitHub repository alexjbarnes/cockpit (14 stars, last pushed 4d ago), licensed Apache-2.0. It adds 132 tokens to every session and 6,222 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens