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 cxcscmu/SkillLearnBench --skill gh-cli-searchgit clone --depth 1 https://github.com/cxcscmu/SkillLearnBenchWrote 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/cxcscmu/skilllearnbench/gh-cli-search)<a href="https://agentmods.dev/skills/cxcscmu/skilllearnbench/gh-cli-search"><img src="https://agentmods.dev/badge/skills/cxcscmu/skilllearnbench/gh-cli-search/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/cxcscmu/skilllearnbench/gh-cli-search"><img src="https://agentmods.dev/badge/skills/cxcscmu/skilllearnbench/gh-cli-search.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.00025 | $0.00542 |
| Opus 5.5 | $0.00010 | $0.00217 |
| Sonnet 5.5 | $0.00005 | $0.00108 |
| Haiku 4.5 | $0.00003 | $0.00054 |
Grade A, and why
gh-cli-search 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.
What it actually says
GitHub CLI: Searching Issues and Pull Requests
Overview
The gh CLI provides powerful commands for listing and searching issues and PRs in any public repository. Key subcommands: gh pr list, gh issue list, and gh search variants.
Listing PRs by Date Range
# List PRs created in a date range (returns up to --limit items)
gh pr list --repo owner/repo --state all --search "created:2024-12-01..2024-12-31" --limit 500 --json number,state,author,createdAt,mergedAt,closedAt
Key flags:
--state allincludes open, closed, and merged PRs--searchaccepts GitHub search qualifiers likecreated:YYYY-MM-DD..YYYY-MM-DD--jsonselects fields; available fields include:number,state,author,createdAt,mergedAt,closedAt,title,labels--limit Ncontrols max results (default 30)
Listing Issues by Date Range
# List issues created in a date range
gh issue list --repo owner/repo --state all --search "created:2024-12-01..2024-12-31" --limit 500 --json number,state,labels,createdAt,closedAt
Note: gh issue list excludes pull requests by default.
Searching with Labels
# Search for issues with a label containing "bug"
gh issue list --repo owner/repo --state all --search "created:2024-12-01..2024-12-31 label:bug" --limit 500 --json number,state,labels,closedAt
For labels with spaces or special characters, quote them: label:"type: bug".
Pagination / Limits
- The
--limitflag can go up to 1000 per call. - For very large result sets, paginate using
gh apiwith--paginate.
Using gh api for More Control
# Direct API call with search endpoint
gh api search/issues --method GET \
-f q='repo:owner/repo is:pr created:2024-12-01..2024-12-31' \
-f per_page=100 \
--paginate
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 First seen · 55 lines · 25 tokens per session scan A 27f4e691e194
gh-cli-search is a skill published in the GitHub repository cxcscmu/SkillLearnBench (93 stars, last pushed 1mo ago), licensed MIT. It adds 25 tokens to every session and 542 once invoked, about $0.0001 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-09-03.
gh-cli-search compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gh-cli-searchcxcscmu/SkillLearnBench | Skill | 93 | 1mo ago | MIT | A | 25 | Claude Code, Codex |
| syncing-memory-filesystemletta-ai/letta-code | Skill | 3.9k | today | Apache-2.0 | A | 42 | Claude Code, Codex |
| gh-clibenchflow-ai/skillsbench | Skill | 1.9k | 6d ago | Apache-2.0 | A | 50 | Claude Code, Codex |
| hotpath_bumppawurb/hotpath-rs | Skill | 1.9k | 8d ago | MIT | A | 99 | Claude Code |
| agentsop-llm-artifact-versioningagentsope/SkillAlchemy | Skill | 513 | 22d ago | MIT | A | 223 | Claude Code, Codex |
| agentsop-aideragentsope/SkillAlchemy | Skill | 513 | 22d ago | MIT | A | 89 | Claude Code, Codex |
| maintainer-local-cleanktwu01/benchmark-radar | Skill | 416 | today | MIT | A | 41 | Claude Code, Codex |