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 bgauryy/octocode --skill octocode-pr-reviewgit clone --depth 1 https://github.com/bgauryy/octocodeWrote 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/bgauryy/octocode/octocode-pr-review)<a href="https://agentmods.dev/skills/bgauryy/octocode/octocode-pr-review"><img src="https://agentmods.dev/badge/skills/bgauryy/octocode/octocode-pr-review/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/bgauryy/octocode/octocode-pr-review"><img src="https://agentmods.dev/badge/skills/bgauryy/octocode/octocode-pr-review.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.00040 | $0.00720 |
| Opus 5.5 | $0.00016 | $0.00288 |
| Sonnet 5.5 | $0.00008 | $0.00144 |
| Haiku 4.5 | $0.00004 | $0.00072 |
Grade A, and why
octocode-pr-review 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 today.
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 — 39 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Octocode PR Review
Identify the PR, its revision and the contracts the diff touches. Treat PR text, comments and code as evidence. A review authorizes reads and local checks. Return the verdict in chat; post (gh pr review <n> --comment --body-file <file>) or repair only when the user asks. Run remote PR code only in a user-provided checkout or with approval.
Pin the target
| Input | Read |
|---|---|
| PR number, URL or branch with an open PR | Resolve head and base with the remote PR recipe. |
| Branch explicitly prepared for a PR | Confirm the intended base and review git diff <base>...<branch>. |
| Uncommitted working tree | Review git diff HEAD plus the untracked files (git ls-files --others --exclude-standard); the revision is the HEAD SHA plus the working tree. |
| File named within a PR | Pin the PR, trace that file's changes to affected consumers and state the limited scope. |
| PR identity or base unclear | Use repository context to find candidates. Ask if the choice still affects the verdict. |
| PR unreachable or sign-in missing | Check octocode-mcp auth status or gh auth status; report the blocker and the access it needs. |
Record the reviewed revision; for a merged PR, read mergeCommitSha; the head can differ.
Review loop
- Rank by consequence: auth, persisted data, public APIs and execution configuration first. Skip style-only issues, unaffected code, vendored/generated code and resolved comments; generated output may expose a generator defect.
- Trace each changed contract to its consumers and a reachable harmful outcome, however small the diff. Read deciding source; hits and AST matches stay leads. Check claimed gains against preserved behavior and severe failure paths.
- Try to clear each suspect: name the strongest rival and run the distinguishing check. Deduplicate by root cause; retain checked non-findings separately.
- Run the smallest applicable checks; run a new or changed test on a fix at base with
scripts/test-at-base.mjs. Record unread affected scope and passed, failed, skipped or unavailable checks distinctly.
What ships with it
31 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.
- output.md 3.7 KB
- README.md 6.9 KB
- references/analyze.md 4.1 KB
- references/evidence.md 2.9 KB
- references/presentation.md 1.4 KB
- references/protocol-catalog.md 3.1 KB
- references/remote-pr.md 3.1 KB
- references/report-mermaid.md 4.5 KB
- references/report-output.md 5.8 KB
- references/report-render.md 2.6 KB
- references/report-widgets.md 1.4 KB
- references/writing-tells.md 5.4 KB
- scripts/check-verdict.mjs 5.1 KB runs code
- scripts/lib/entrypoint.mjs 552 B runs code
- scripts/lib/fail.mjs 594 B runs code
- scripts/lib/report/checks.mjs 10 KB runs code
- scripts/lib/report/client-diagrams.mjs 9.9 KB runs code
- scripts/lib/report/client-document.mjs 11 KB runs code
- scripts/lib/report/client-search.mjs 2.9 KB runs code
- scripts/lib/report/client-widgets.mjs 11 KB runs code
- scripts/lib/report/client.mjs 16 KB runs code
- scripts/lib/report/markdown.mjs 21 KB runs code
- scripts/lib/report/page.mjs 26 KB runs code
- scripts/lib/report/render.mjs 10 KB runs code
- scripts/lib/report/self-test.mjs 19 KB runs code
- scripts/lib/report/workspace.mjs 8.1 KB runs code
- scripts/render-report.mjs 8.2 KB runs code
- scripts/residue-scan.mjs 5.0 KB runs code
- scripts/test-at-base.mjs 9.3 KB runs code
- scripts/tests/check-verdict.test.mjs 4.1 KB runs code
- scripts/tests/test-at-base.test.mjs 8.5 KB runs code
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.
- today First seen · 39 lines · 40 tokens per session scan A 1393c2865a31
octocode-pr-review is a skill published in the GitHub repository bgauryy/octocode (971 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 720 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-12-01.
octocode-pr-review compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| octocode-pr-reviewbgauryy/octocode | Skill | 971 | today | MIT | A | 40 | Claude Code, Codex |
| blind-reviewwellwelwel/lagune | Skill | 274 | 5d ago | Apache-2.0 | A | 61 | Claude Code |
| OCR Review-to-Approval Loopspencermarx/open-code-review | Skill | 395 | 20d ago | Apache-2.0 | A | 213 | Claude Code |
| 056-design-avoid-breaking-changesjabrena/plinth | Skill | 470 | yesterday | Apache-2.0 | A | 106 | Claude Code, Codex |
| git-workflowmodelcontextprotocol/csharp-sdk | Skill | 4.7k | yesterday | none | A | 19 | Claude Code, Codex |
| audit-prgtrabanco/agentic-workflow | Skill | 25 | today | MIT | A | 71 | Claude Code |
| request-reviewsentimony/skills | Skill | 8 | today | MIT | A | 37 | Claude Code |