bubbuild/bub is a small Python runtime for building AI agents that work in shared environments such as conversations with people. It provides a hook-based turn pipeline and runs agents across command-line, Telegram, and other channels, with built-in tools, skills, and model execution; the catalogue entries extend or configure that workflow.
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 bubbuild/bub --skill ghgit clone --depth 1 https://github.com/bubbuild/bubWrote 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/bubbuild/bub/gh)<a href="https://agentmods.dev/skills/bubbuild/bub/gh"><img src="https://agentmods.dev/badge/skills/bubbuild/bub/gh/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/bubbuild/bub/gh"><img src="https://agentmods.dev/badge/skills/bubbuild/bub/gh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00096 | $0.00804 |
| Opus 5.5 | $0.00038 | $0.00322 |
| Sonnet 5.5 | $0.00019 | $0.00161 |
| Haiku 4.5 | $0.00010 | $0.00080 |
Grade A, and why
gh 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 2mo 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 — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GitHub CLI (gh) Skill
Interact with GitHub using the gh command line tool.
Run commands with Bub's bash tool, setting cwd to the target checkout when using local repository context. If it returns a running shell ID, collect the result with bash.output before retrying the command.
Prerequisites
Use the authentication source specified by the user or workspace. For github.com, GH_TOKEN takes precedence over GITHUB_TOKEN, and both override stored gh credentials.
Check authentication:
gh auth status
If not authenticated, report the blocker; do not silently switch credentials. Run interactive login only when the user requests authentication setup:
gh auth login
Repository Operations
gh repo create <name> [--public|--private]
gh repo clone <owner/repo>
gh repo fork <owner/repo>
gh repo view [owner/repo]
gh repo list [owner]
Issue Operations
gh issue create --title "Title" --body "Body"
gh issue list [--state open|closed]
gh issue view <number>
gh issue close <number>
gh issue comment <number> --body "Comment"
Pull Request Operations
gh pr create --title "Title" --body "Body"
gh pr list [--state open|closed]
gh pr view <number>
gh pr checkout <number>
gh pr merge <number>
gh pr review <number> --approve
Release Operations
gh release create <tag> --generate-notes
gh release list
gh release download <tag>
gh release upload <tag> <file>
Workflow Operations
gh workflow list
gh workflow run <name>
gh run list
gh run view <run-id>
gh run watch <run-id>
Gist Operations
gh gist create <file>
gh gist list
gh gist view <id>
Skill Operations
gh skill search <query>
gh skill preview <owner/repo> <skill>
gh skill install <owner/repo> <skill> --dir .agents/skills
gh skill list --dir .agents/skills
gh skill update <skill> --dir .agents/skills --dry-run
gh skill update <skill> --dir .agents/skills --all
gh skill is in preview; check gh skill --help for availability. Run project-scoped commands from Bub's workspace and use --dir .agents/skills; use --dir "$HOME/.agents/skills" for user-scoped skills. Keep gh's source-tracking metadata so installed skills can be updated.
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.
- 2mo ago Changed · +18 lines · +9 tokens per session e0f11c439e4f
- 3mo ago First seen · 87 lines · 87 tokens per session scan A eae6755ab99e
gh is a skill published in the GitHub repository bubbuild/bub (1,708 stars, last pushed today), licensed Apache-2.0. It adds 96 tokens to every session and 804 once invoked, about $0.0004 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-08-30.
gh compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ghbubbuild/bub | Skill | 1.7k | today | Apache-2.0 | A | 96 | Claude Code, Codex |
| git-workflowvstorm-co/pydantic-deepagents | Skill | 1.1k | yesterday | MIT | A | 17 | Claude Code, Codex |
| mergeautomagik-si/genie | Skill | 353 | today | Apache-2.0 | A | 32 | Codex |
| Release Notes GeneratorAgentEra/Agently | Skill | 1.7k | 18d ago | Apache-2.0 | A | 46 | Claude Code, Codex |
| pinned-release-checklistAgentEra/Agently | Skill | 1.7k | 18d ago | Apache-2.0 | A | 18 | Claude Code, Codex |
| Release ChecklistAgentEra/Agently | Skill | 1.7k | 18d ago | Apache-2.0 | A | 19 | Claude Code, Codex |
| Release Readiness ReviewerAgentEra/Agently | Skill | 1.7k | 18d ago | Apache-2.0 | A | 18 | Claude Code, Codex |