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 PostHog/posthog-foss --skill recreating-fork-prsgit clone --depth 1 https://github.com/PostHog/posthog-fossWrote 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/posthog/posthog-foss/recreating-fork-prs)<a href="https://agentmods.dev/skills/posthog/posthog-foss/recreating-fork-prs"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/recreating-fork-prs/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/posthog/posthog-foss/recreating-fork-prs"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/recreating-fork-prs.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.00130 | $0.01475 |
| Opus 5.5 | $0.00052 | $0.00590 |
| Sonnet 5.5 | $0.00026 | $0.00295 |
| Haiku 4.5 | $0.00013 | $0.00147 |
Grade A, and why
recreating-fork-prs 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 2d 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 — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Re-creating fork pull requests
Depot CI never runs code from a fork, so a fork PR never gets the required Backend CI on Depot / Test results check and cannot merge.
A maintainer re-creates the reviewed change on a branch in this repository.
Pull requests from forks has the reasons.
A branch in this repository is trusted: secret-gated CI steps run with its code in control.
Push only the commits you reviewed.
The push, the new PR, the approval and the @posthog recreate comment act in the user's name. Get the user's go-ahead for each one.
Start with @posthog recreate
Pin and review the head SHA as in step 1 below. GitHub ties an approval to whatever the PR head is when you submit it, so approve the pinned SHA by name:
gh api repos/PostHog/posthog/pulls/<n>/reviews -f commit_id=<sha> -f event=APPROVE
Then comment @posthog recreate on the fork PR, or @posthog recreate --enqueue to also queue the new PR.
The newest approval from anyone with write access decides which commit the command copies.
PostHog Review opens a PR from fork-pr/<n> and closes the fork PR. If a step after opening the PR fails, comment again to finish it.
When the command refuses, its reply names the fix. Fix it and comment again.
Use steps 2 to 4 below only when the reply says "Re-create it by hand", or when the contributor cannot merge master into their branch to clear an overlap.
- [ ] 1. Pin the fork PR's head SHA, then review it
- [ ] 2. Rebuild the change on a new branch
- [ ] 3. Compare the branch with the reviewed SHA
- [ ] 4. Open the new PR
1. Pin, then review
gh pr view <n> --json headRefOid,author,isCrossRepository
Review the code at that headRefOid.
When the review ends, run the command again.
If headRefOid changed, the contributor pushed during the review: review the new commits and pin the new SHA.
Every later step uses the pinned SHA, never the fork's branch name.
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.
- 2d ago Changed · +17 lines · +10 tokens per session 4da660175b3f
- 1mo ago Changed · +1 lines 6dad8ec0ed5b
- 1mo ago First seen · 114 lines · 120 tokens per session scan A 3d5ee05f9d34
recreating-fork-prs is a skill published in the GitHub repository PostHog/posthog-foss (736 stars, last pushed today), licensed MIT. It adds 130 tokens to every session and 1,475 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-10-24.
recreating-fork-prs compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| recreating-fork-prsPostHog/posthog-foss | Skill | 736 | today | MIT | A | 130 | Claude Code, Codex |
| review-implement-phaseprisma/orm | Skill | 48k | today | Apache-2.0 | A | 38 | Claude Code |
| github-pr-workflowpaperclipai/paperclip | Skill | 119k | today | MIT | A | 39 | Claude Code, Codex |
| review-deltatirth8205/code-review-graph | Skill | 33k | 17d ago | MIT | A | 24 | Claude Code |
| github-contributordaymade/claude-code-skills | Skill | 1.6k | today | MIT | A | 105 | Claude Code, Codex |
| git-pr-workflows-git-workflowrmyndharis/antigravity-skills | Skill | 2.2k | 2d ago | MIT | A | 37 | Claude Code, Codex |
| dyl-reviewcursor/plugins | Skill | 21k | today | none | A | 80 | Claude Code, Cursor |