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.
npx skills add j-256/agent-skills --skill fork-and-prgit clone --depth 1 https://github.com/j-256/agent-skillsWrote 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/j-256/agent-skills/fork-and-pr)<a href="https://agentmods.dev/skills/j-256/agent-skills/fork-and-pr"><img src="https://agentmods.dev/badge/skills/j-256/agent-skills/fork-and-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/j-256/agent-skills/fork-and-pr"><img src="https://agentmods.dev/badge/skills/j-256/agent-skills/fork-and-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.00061 | $0.02044 |
| Opus 5.5 | $0.00024 | $0.00818 |
| Sonnet 5.5 | $0.00012 | $0.00409 |
| Haiku 4.5 | $0.00006 | $0.00204 |
Grade A, and why
fork-and-pr 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 3mo 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.
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.
How it starts
The opening of the file, as written. The whole thing — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Fork and PR
Walk a contributor through the standard "fork + branch + commit + push + PR" flow against a GitHub repo they don't have write access to. The user knows what they want to change; this skill codifies the boring gh/git syntax around it so they don't have to remember it.
When this applies
Trigger when the user wants to contribute upward to a repo they don't own. Common phrasings: "I want to make a PR to X", "contribute a fix to X", "fork and PR", "open a PR against the upstream X repo", or right after a git push fails with 403 on a clone of someone else's repo.
Skip when:
- The user owns the repo (just
git push+gh pr create– no fork needed). - The user is hitting a SAML SSO 403 on
ghitself (Resource protected by organization SAML enforcement). That's a one-time per-org token authorization athttps://github.com/settings/tokens, not a per-PR step. Tell them to grant SSO on theirghCLI token and retry; don't try to drive that through this skill. - The contribution is a stacked-diff or multi-PR series (this skill assumes one branch → one PR).
Inputs from the user
Usually one or more of:
- Upstream repo (
owner/nameor full URL, e.g.SalesforceCommerceCloud/plugin_sitemap). - What they want to change (a one-line intent, used to suggest a branch name).
- Where they're starting from – fresh, or already inside a clone.
If the upstream repo isn't named, ask. If the intent isn't named, ask before step 3 (branch naming) – not before steps 1–2.
Flow
The skill runs as a staged flow with a deliberate pause after workspace setup. The user makes their edits and commits before the publish steps resume.
Step 1: State check
Figure out the user's starting state. Run, in the directory the user is operating from:
git rev-parse --show-toplevel 2>/dev/null
git status --short 2>/dev/null
git remote -v 2>/dev/null
gh repo view <upstream> --json viewerPermission,parent 2>&1
gh api user --jq .login
gh repo view <user>/<repo> --json parent 2>/dev/null
What ships with it
1 file 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.
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.
- 3mo ago First seen · 162 lines · 61 tokens per session scan A 373da81a28bc
fork-and-pr is a skill published in the GitHub repository j-256/agent-skills (2 stars, last pushed 26d ago), licensed MIT. It adds 61 tokens to every session and 2,044 once invoked, about $0.0002 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-31.
fork-and-pr compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| fork-and-prj-256/agent-skills | Skill | 2 | 26d ago | MIT | A | 61 | Claude Code |
| dataladK-Dense-AI/scientific-agent-skills | Skill | 59k | yesterday | MIT | A | 147 | Claude Code |
| pr-squash-messagescenario-labs/skills | Skill | 4.4k | yesterday | MIT | A | 73 | Codex |
| pr-summaryscenario-labs/skills | Skill | 4.4k | yesterday | MIT | A | 42 | Codex |
| git-workflowlaolaoshiren/claude-code-skills-zh | Skill | 928 | yesterday | MIT | A | 73 | Claude Code |
| history-portabilityhoangsonww/Claude-Code-Agent-Monitor | Skill | 1.2k | 2d ago | MIT | A | 63 | Claude Code, Codex |
| shipplugin87/ux-ui-agent-skills | Skill | 3.3k | 13d ago | MIT | A | 34 | Claude Code |