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.
curl -O https://raw.githubusercontent.com/imran31415/kube-coder/main/.claude/skills/kc-ship-pr/SKILL.mdgit clone --depth 1 https://github.com/imran31415/kube-coderWrote 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.
[](https://agentmods.dev/skills/imran31415/kube-coder/kc-ship-pr)<a href="https://agentmods.dev/skills/imran31415/kube-coder/kc-ship-pr"><img src="https://agentmods.dev/badge/skills/imran31415/kube-coder/kc-ship-pr.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00045 | $0.02099 |
| Opus 5 | $0.00023 | $0.01050 |
| Sonnet 5 | $0.00009 | $0.00420 |
| Haiku 4.5 | $0.00005 | $0.00210 |
Grade C, and why
kc-ship-pr scanned grade C with 3 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 8d 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.
Reaches for credential fileshighPrivilege escalation
SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.
> grep github.com ~/.git-credentials Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
> (`curl -H "Authorization: token $(cat /home/dev/.credentials/.github-token)" Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
FILES = subprocess.check_output( How it starts
The opening of the file, as written. The whole thing — 185 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ship a PR from a kube-coder workspace
The only GitHub credential here is the App installation token
(/home/dev/.credentials/.github-token, ghs_…). The token-refresh sidecar
installs a self-refreshing global credential.helper that reads that file
fresh on every call, so ordinary git push works — no Git Data API dance
needed. gh api also works (it reads GITHUB_TOKEN from ~/.github-env).
There is no user-level gh auth login and no SSH key here, so do not suggest
gh auth login or a fork — the App token pushes to origin directly.
If
git pushis wedged —remote: Invalid username or tokenorcould not read Username— something is shadowing that helper with a point-in-time token. The token file itself is almost never the problem (curl -H "Authorization: token $(cat /home/dev/.credentials/.github-token)" https://api.github.com/userproves it in one line). Diagnose in this order:git config --show-origin --get-all credential.helper git config --show-origin --get-all credential.https://github.com.helper printf 'protocol=https\nhost=github.com\n\n' | git credential fill # vs. the token file grep github.com ~/.git-credentialsThree known causes, all "a token frozen an hour ago":
- A stale baked
http.<host>.extraheaderin.git/config— git sends it verbatim and it shadows the helper:git config --unset-all http.https://github.com/.extraheader.- A host-scoped helper chain reset (issue #454) —
gh auth setup-gitwrites an emptyhelper =under[credential "https://github.com"], which clears the chain and drops the self-refreshing reader;gh auth git-credentialthen answers with the staleGH_TOKENyour long-lived shell captured before the last rotation. The workspace re-asserts that section every 50 min, so this self-heals — to fix it now, runpython3 /github-app/github-app-token.py --configure-git(or--once, which also asks thegithub-app-tokensidecar for a fresh token; the private key lives only in that sidecar since #558, so nothing in your shell can mint one).- A stale
github.comline in~/.git-credentials(persistent on the PVC, so a capturedghs_…outlives its 1-hour validity). The daemon purges these in app mode; delete by hand if you're ahead of it.One-shot escape hatch that bypasses all three:
git -c credential.helper= \ -c 'credential.helper=!f() { echo username=x-access-token; echo "password=$(cat /home/dev/.credentials/.github-token)"; }; f' \ push -u origin <branch>Only if push is still broken after that, fall back to the Git Data API (§3b). See your
github-authmemory for the full background.
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.
- 8d ago First seen · 185 lines · 45 tokens per session scan C f4a37c61136c
kc-ship-pr is a skill published in the GitHub repository imran31415/kube-coder (353 stars, last pushed yesterday), licensed MIT. It adds 45 tokens to every session and 2,099 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 3 findings (reaches for credential files, makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
github-automation
GitHub workflow automation, PR management, issue tracking, and code review coordination. Integrates with GitHub Actions and repository management. Use when: PR creation, code review, issue management, release automation, workflow setup. Skip when: local-only changes, non-GitHub repositories.
comet-safe-delivery
A Chinese-language procedure for safely delivering specified Comet changes through Git. It covers checking worktrees and unrelated edits, staging exact files, validating hooks, and authorized commits or pushes.
changelog
Auto-generates a changelog from git commits, sprint data, and design documents. Produces both internal and player-facing versions.
close-task-commit-push-pr
Close the active backlog task (detected from branch name), commit all changes, push to remote, and open a pull request. Use when the user says "close task and ship it", "close task commit push pr", or invokes /close-task-commit-push-pr.
git-workflow
Guides you through Git workflows — branching strategies, commit conventions, merge conflict resolution, and release management. Use when working with Git repositories or when the user asks about version control best practices.
development-workflow
Detailed development workflow with modular patterns for git, review, testing, and deployment.