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/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.
<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="Reviewed on agentmods" width="80" 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.02221 |
| Opus 5.5 | $0.00018 | $0.00888 |
| Sonnet 5.5 | $0.00009 | $0.00444 |
| Haiku 4.5 | $0.00005 | $0.00222 |
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 1mo 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 — 195 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.
- 1mo ago Changed · +10 lines 0878b1f05ba4
- 2mo 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 (399 stars, last pushed 2d ago), licensed MIT. It adds 45 tokens to every session and 2,221 once invoked, about $0.0002 per session on Opus 5.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.
kc-ship-pr compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| kc-ship-primran31415/kube-coder | Skill | 399 | 2d ago | MIT | C | 45 | Claude Code |
| github-automationruvnet/ruflo | Skill | 81k | yesterday | MIT | A | 61 | Claude Code |
| changelogDonchitos/Claude-Code-Game-Studios | Skill | 36k | 18d ago | MIT | A | 22 | Claude Code |
| comet-safe-deliveryrpamis/comet | Skill | 3.3k | yesterday | MIT | A | 78 | Claude Code, Codex |
| coco-shipcoco-research/coco | Skill | 785 | yesterday | Apache-2.0 | A | 69 | Claude Code |
| close-task-commit-push-prdevoxx/DevoxxGenieIDEAPlugin | Skill | 687 | yesterday | MIT | A | 64 | Claude Code |
| git-workflowjezweb/claude-skills | Skill | 1.1k | 28d ago | MIT | A | 52 | Claude Code |