Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/saajunaid/caddis-pluginnpx agentmods add skills/saajunaid/caddis-plugin/gh-cliWrote 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/saajunaid/caddis-plugin/gh-cli)<a href="https://agentmods.dev/skills/saajunaid/caddis-plugin/gh-cli"><img src="https://agentmods.dev/badge/skills/saajunaid/caddis-plugin/gh-cli/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/saajunaid/caddis-plugin/gh-cli"><img src="https://agentmods.dev/badge/skills/saajunaid/caddis-plugin/gh-cli.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.00018 | $0.01594 |
| Opus 5.5 | $0.00007 | $0.00638 |
| Sonnet 5.5 | $0.00004 | $0.00319 |
| Haiku 4.5 | $0.00002 | $0.00159 |
Grade B, and why
gh-cli scanned grade B with 1 finding 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 3d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo apt install gh # Linux How it starts
The opening of the file, as written. The whole thing — 201 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GitHub CLI Operations
Practical reference for gh — the GitHub CLI. Covers repos, issues, PRs, releases, Actions, and automation.
Prerequisites
# Install
brew install gh # macOS
winget install GitHub.cli # Windows
sudo apt install gh # Linux
# Authenticate and verify
gh auth login
gh auth status
Phase 1: Repositories
# Create and clone
gh repo create my-project --public --description "My project" --clone
gh repo clone owner/repo
gh repo fork owner/repo --clone
# View and edit
gh repo view owner/repo
gh repo edit --description "Updated desc"
gh browse # Open in browser
# Sync fork
gh repo sync
Phase 2: Issues
# Create
gh issue create --title "Bug: login broken" --labels bug --assignee @me
# List and search
gh issue list
gh issue list --labels bug --assignee @me
gh issue list --search "is:open label:bug sort:updated-desc"
gh issue list --json number,title --jq '.[].title'
# Manage
gh issue view 42
gh issue close 42 --comment "Fixed in PR #55"
gh issue edit 42 --add-label priority-high
gh issue develop 42 --branch fix/issue-42
Phase 3: Pull Requests
# Create
gh pr create --title "feat: add dark mode" --body "Closes #42" --reviewer user
gh pr create --draft --title "WIP: new feature"
# List and view
gh pr list
gh pr list --author @me
gh pr view 55
gh pr diff 55
# Review and merge
gh pr checkout 55
gh pr review 55 --approve --body "LGTM!"
gh pr review 55 --request-changes --body "Please fix error handling"
# merge only on ci-watch RESULT: pass, only its HEAD:, with no default-branch run in progress
python "<home>/.caddis/bin/caddis_run.py" caddis_lanes.py ci-watch --pr 55
gh run list --branch main --json status # no in_progress or queued run (main = the default branch)
gh pr merge 55 --squash --delete-branch --match-head-commit <watched head>
# Manage
gh pr ready 55 # Mark draft as ready
gh pr checks 55 --watch # Watch CI
gh pr edit 55 --add-label reviewed
gh pr update-branch 55 # Rebase with base
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.
- 3d ago Changed 9b898dc2e8b0
- 1mo ago Changed · +4 lines 45d6a386a52c
- 1mo ago Changed · +1 lines 80fe19321d21
- 2mo ago First seen · 196 lines · 18 tokens per session scan B 6e9bd2366c52
gh-cli is a skill published in the GitHub repository saajunaid/caddis-plugin (0 stars, last pushed 3d ago), licensed MIT. It adds 18 tokens to every session and 1,594 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
gh-cli compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gh-clisaajunaid/caddis-plugin | Skill | 0 | 3d ago | MIT | B | 18 | Claude Code, Codex |
| agent-release-managerruvnet/ruflo | Skill | 83k | today | MIT | A | 16 | Claude Code |
| agent-release-swarmruvnet/ruflo | Skill | 83k | today | MIT | A | 19 | Claude Code |
| agent-github-modesruvnet/ruflo | Skill | 83k | today | MIT | A | 21 | Claude Code |
| github-automationruvnet/ruflo | Skill | 83k | today | MIT | A | 61 | Claude Code |
| agent-framework-py-releasemicrosoft/agent-framework | Skill | 15k | 13d ago | MIT | A | 102 | Claude Code, Codex |
| git-integrationa5c-ai/babysitter | Skill | 1.9k | 29d ago | MIT | A | 39 | Claude Code |