kube-coder: Skill for Claude Code

.claude/skills/kc-issue/SKILL.md

kc-issue is a skill for Claude Code from imran31415/kube-coder. It costs 115 tokens per session (2,083 once invoked), scanned A, original, MIT.

An issue-work setup for kube-coder that creates an isolated Git worktree from the latest main branch and starts a background coding agent inside it. A worktree is a separate working copy of a Git repository.

In plain words
What is it for?
Use it to start work on a numbered kube-coder issue, list existing issue worktrees and task status, and optionally prepare a pull request when the work is complete.
Why use it?
It keeps each issue’s files and changes separate, reducing the chance that one agent interferes with another task.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is imran31415/kube-coder's own configuration. It tells Claude Code how to work on kube-coder itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kube-coder configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/dev/kube-coder.

Reuse

Borrowing it

Nothing to install: this file belongs to imran31415/kube-coder. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/imran31415/kube-coder/main/.claude/skills/kc-issue/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/imran31415/kube-coder

Made for: Claude Code.

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 kc-issue

README.md
[![agentmods](https://agentmods.dev/badge/skills/imran31415/kube-coder/kc-issue/github.svg)](https://agentmods.dev/skills/imran31415/kube-coder/kc-issue)
Your own site
<a href="https://agentmods.dev/skills/imran31415/kube-coder/kc-issue"><img src="https://agentmods.dev/badge/skills/imran31415/kube-coder/kc-issue/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for kc-issue

Your own site · 80×15
<a href="https://agentmods.dev/skills/imran31415/kube-coder/kc-issue"><img src="https://agentmods.dev/badge/skills/imran31415/kube-coder/kc-issue.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,083 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00115 $0.02083
Opus 5.5 $0.00046 $0.00833
Sonnet 5.5 $0.00023 $0.00417
Haiku 4.5 $0.00012 $0.00208

Measured 1mo ago against content hash b5eade428087, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

kc-issue scanned grade A with 0 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 1mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (kc-issue.sh, lint_test.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/kc-issue/SKILL.md · 152 lines

How it starts

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

kc-issue — one issue, one clean worktree, one agent

This is the reliable entrypoint for per-issue work — on kube-coder or any other repository checked out in the workspace. It removes the two things that made ad-hoc worktree use flaky:

  1. It branches from a freshly-fetched origin/<default branch>, never a stale local HEAD.
  2. The agent is launched inside its own worktree, so it starts inside its isolation and physically cannot forget to use it.

Which repository: the git checkout you run the script from (any folder in it, or one of its worktrees), or KC_REPO_ROOT=/home/dev/<repo>; the GitHub repo is read from its origin remote (KC_REPO_SLUG=owner/repo overrides). From /home/dev itself it falls back to /home/dev/kube-coder.

The heavy lifting is in kc-issue.sh next to this file. It does the git/fs part and prints JSON; you (the assistant) do the launch via create_task.

Do this when invoked

list — show existing issue worktrees + task status

bash "$CLAUDE_SKILL_DIR/kc-issue.sh" list

Then call mcp__dashboard__list_tasks and correlate by worktree/branch so the user sees which issues have a live agent.

<issue-number> (optionally --pr) — start an agent on an issue

Step 1 — create/reuse the worktree and get the prompt. If the user passed --pr (auto-open a PR when done), set KC_AUTO_PR=1:

# without --pr (default: preflight then STOP for review):
bash "$CLAUDE_SKILL_DIR/kc-issue.sh" <N>
# with --pr (preflight, push, open PR):
KC_AUTO_PR=1 bash "$CLAUDE_SKILL_DIR/kc-issue.sh" <N>

Capture the JSON it prints on stdout: {issue,title,url,worktree,branch,port,prompt_file,auto_pr,mode,repo_root,repo,slug,base_ref,lint,lint_blockers}.

mode says who makes the worktree:

  • server — this workspace's dashboard creates it when the Build launches (#701), so the Build is recorded with it: its Changes tab shows the diff and push command, and Settings → Worktrees lists it. worktree is where it will be; port is empty until launch.
  • script — an older workspace: the script created the worktree itself.

Read the full file on GitHub · 152 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · +27 lines · +2 tokens per session b5eade428087
  2. 2mo ago First seen · 125 lines · 113 tokens per session scan A 2e2909ca9461

Subscribe to this mod's changes

kc-issue is a skill published in the GitHub repository imran31415/kube-coder (399 stars, last pushed 2d ago), licensed MIT. It adds 115 tokens to every session and 2,083 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

kc-issue compared with skills from other repositories

kc-issue next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kc-issueimran31415/kube-coderSkill3992d agoMITA115Claude Code
merge-batchdiegosouzapw/OmniRouteSkill83k5d agoMITA46Claude Code
prowler-commitprowler-cloud/prowlerSkill15kyesterdayApache-2.0A44Claude Code, Codex
gh-auth-isolationgithub/gh-awSkill5.6kyesterdayMITA20Claude Code, Codex
github-skillzeenie-ai/OpenCompanySkill1.1kyesterdayMITA51Claude Code
comet-githubrpamis/cometSkill3.3kyesterdayMITA72Claude Code, Codex
release-helperSahir619/fable-methodSkill2.3k1mo agoMITA43Claude Code