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 agentmods add skills/diillson/chatcli/githubnpx skills add diillson/chatcli --skill githubgit clone --depth 1 https://github.com/diillson/chatcliWrote 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/diillson/chatcli/github)<a href="https://agentmods.dev/skills/diillson/chatcli/github"><img src="https://agentmods.dev/badge/skills/diillson/chatcli/github.svg" alt="Measured on agentmods" 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 | $0.00078 | $0.00670 |
| Opus 5 | $0.00039 | $0.00335 |
| Sonnet 5 | $0.00016 | $0.00134 |
| Haiku 4.5 | $0.00008 | $0.00067 |
Grade A, and why
github scanned grade A 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 yesterday.
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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
**`git` + the REST API via `curl`** with a `GITHUB_TOKEN`/`GH_TOKEN` when `gh` is absent. What it actually says
GitHub Workflow
Drive GitHub from the terminal. Prefer the gh CLI (handles auth + API); fall back to
git + the REST API via curl with a GITHUB_TOKEN/GH_TOKEN when gh is absent.
Step 0 — Detect auth method (run once)
- macOS / Linux:
command -v gh >/dev/null && gh auth status >/dev/null 2>&1 && echo gh || echo git - Windows:
if (Get-Command gh -ErrorAction SilentlyContinue) { gh auth status }
If neither gh nor a token is available, tell the user to run gh auth login or set
GITHUB_TOKEN, and stop.
Issues
gh issue list --limit 20
gh issue create --title "Bug: X fails on Y" --body "..."
gh issue view 123 --comments
gh issue close 123
REST fallback: curl -H "Authorization: Bearer $GITHUB_TOKEN" https://api.github.com/repos/OWNER/REPO/issues
Pull request lifecycle
git checkout -b fix/the-thing
# ...edits, then commit (follow repo conventions)...
git push -u origin fix/the-thing
gh pr create --fill # or --title/--body
gh pr checks # watch CI
gh pr view --web # open in browser
gh pr merge --squash --delete-branch # when green + approved
Code review
gh pr diff 456 # read the diff
gh pr view 456 --comments # existing discussion
gh pr review 456 --approve # or --request-changes --body "..."
For a thorough review, read the diff with @read/gh pr diff, check tests/CI, and comment on
concrete lines. Don't approve unseen.
Repo management
gh repo view OWNER/REPO
gh release list
gh workflow list && gh run list --limit 10
Rules
- Respect the repo's branch/commit conventions — read CONTRIBUTING/recent history first.
- Never force-push shared branches or merge without CI green + approval, unless told to.
- Quote the PR/issue number and URL back to the user after acting.
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.
- yesterday First seen · 77 lines · 78 tokens per session scan A e47a5e95d175
github is a skill published in the GitHub repository diillson/chatcli (89 stars, last pushed yesterday), licensed Apache-2.0. It adds 78 tokens to every session and 670 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
aidd-vcs:01:commit
Create an atomic git commit with conventional message format. Supports interactive mode (human-driven, may split commits, asks approval) and auto mode (agent-driven, no approval, single commit). Use when the user says "commit", "git commit", "create a commit", "commit my changes", "commit and push", or invokes…
commit
Create a well-formatted git commit.
gitops
Git operations wrapper: sync, stage, commit, push. Generates Conventional Commits messages with .scratch artifact references. Use when the user says gitops, commit, push, sync code, or needs version control operations.
ai-style
当任务是用中文撰写或改写面向读者的文案(产品发布稿、公众号文章、邮件、README 等), 或用户反馈文字「AI 味太重」「不像人写的」时,加载本 Skill。.
gsd-quick-batch
Batch several /gsd:quick-shaped tasks together — planned, dispatched, and merged as one run.
data_analysis
基于已确认数据执行可审计的数学计算和描述统计。.