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.
git clone --depth 1 https://github.com/synaptiai/synapti-marketplaceWrote 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/commands/synaptiai/synapti-marketplace/gh-pr)<a href="https://agentmods.dev/commands/synaptiai/synapti-marketplace/gh-pr"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/gh-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/commands/synaptiai/synapti-marketplace/gh-pr"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/gh-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.00000 | $0.01027 |
| Opus 5 | $0.00000 | $0.00513 |
| Sonnet 5 | $0.00000 | $0.00205 |
| Haiku 4.5 | $0.00000 | $0.00103 |
Grade A, and why
gh-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 10d 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 — 155 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Create Pull Request
Create a pull request with full code review, quality gates, and reviewer suggestions.
Tool Usage: This workflow uses the AskUserQuestion tool for interactive decisions.
Phase 1: Pre-flight
-
Verify current branch:
BRANCH=$(git branch --show-current) # Ensure not on main -
Check for uncommitted changes:
git status --porcelainIf changes exist, use AskUserQuestion:
- Option 1: "Run /gh-commit first" (Recommended)
- Option 2: "Continue without committing"
-
Extract issue from branch:
ISSUE_NUM=$(echo $BRANCH | grep -oE 'issue-[0-9]+' | grep -oE '[0-9]+') gh issue view $ISSUE_NUM --json title,body
Phase 2: Code Review
Run systematic code review on the diff:
git diff main..HEAD
Review Checklist:
- Logic correctness and edge cases
- Security (no hardcoded secrets)
- No TODO/FIXME comments
- No debug statements (console.log)
- Type safety
Categorize findings:
- P1 (Critical): Blocks PR
- P2 (Important): Should fix
- P3 (Suggestions): Nice to have
If P1 issues found, use AskUserQuestion:
- Option 1: "Fix issues now" (Recommended)
- Option 2: "Proceed anyway"
Phase 3: Quality Checks
# Run plugin validation
ls plugins/*/.claude-plugin/plugin.json
cat plugins/*/.claude-plugin/plugin.json
Phase 4: Reviewer Suggestion
-
Get collaborators:
REPO=$(gh repo view --json nameWithOwner --jq '.nameWithOwner') gh api repos/$REPO/collaborators --jq '.[] | select(.permissions.push) | .login' -
Get file contributors:
CHANGED_FILES=$(git diff --name-only main..HEAD) git log --format='%an' --since="30 days ago" -- $CHANGED_FILES | sort | uniq -c | sort -rn -
Present suggestions with AskUserQuestion:
- Option 1: "@{top_contributor}" (Recommended)
- Option 2: "@{other_contributor}"
- Option 3: "No reviewer"
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.
- 10d ago First seen · 155 lines · 0 tokens per session scan A 4bc30f95551f
gh-pr is a command published in the GitHub repository synaptiai/synapti-marketplace (6 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,027 tokens. 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.
Other commands, from other repositories
create-worktree
Follow these steps to create a git worktree.
release
Release manager for frontend and mobile. Writes App Store notes, user-facing changelog, flags stale docs and landing copy. Actions: notes | changelog | docs | sync.
pr
Prepare and open a pull request the senior way: gate, template, scrubbed, everything visible.
status
The state of play, computed fresh: branch, dirty files, the active sprint, open work, index freshness.
triage
Triages a PR comment — from a bot (Copilot, CI) or a human reviewer. Fetches the comment and diff via gh CLI, classifies it, applies the fix directly to the file if valid, posts a reply on the thread, and resolves it. Run from inside the repo.
done
Finish a task - document, create PR or merge, close.