In short.
GitHub Cache Hygiene is an assistant skill for developers managing GitHub work, but it depends on tools and cache routing that its files do not install. It combines Gitcrawl archive discovery with an Octopool-backed GitHub CLI wrapper and explains when fresh state, native CLI handling and exact CI run verification matter. Compatibility, cache performance and quota savings were not assessed, and no commands were executed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete supplied skills/github-cache-hygiene folder: SKILL.md and agents/openai.yaml at revision 2f82700ba9f3e7e93d3583e1990992584561eadc, plus the repository-root LICENSE as the accompanying notice. Other repository content, underlying tool implementations, dependency documentation and live GitHub state are outside this scope. No commands were executed; installation, compatibility, cache behavior, quota savings and operational outcomes remain unverified.
The overview
Identity
GitHub Cache Hygiene is an instruction-based skill in the steipete/agent-scripts repository. Its SKILL.md defines how an assistant should use local GitHub archives, an existing Octopool-backed gh wrapper and fresh GitHub reads.
The accompanying agents/openai.yaml supplies the display name, a short description and a default prompt referencing $github-cache-hygiene. These files provide assistant instructions and interface metadata; they do not implement Gitcrawl, Octopool or the GitHub CLI.
Assessment
The strongest fit is an established development environment where assistants repeatedly search issues, review pull requests or inspect CI. The instructions address specific mistakes: treating archived state as current, repeatedly fetching individual results, polling broad CI lists and confusing response reuse with quota savings.
Its practical value is detailed operating guidance for an existing toolchain. The supplied files do not establish how much traffic it saves, whether a particular installation routes commands correctly or how reliably an assistant follows the instructions.
Intended users
Developers and maintainers using coding assistants with GitHub are the main audience. Experienced users get guidance on JSON field selection, native CLI routing, shared cache metrics, CI run identity and permission-sensitive decisions.
Beginners can use the skill as a reference after the dependencies are configured. It does not supply a beginner installation guide for the archive, cache service, authentication or assistant host.
Capabilities
The skill provides command patterns for local pull request searches and thread retrieval, followed by gh searches, issue and pull request views, checks, workflow runs and diffs. It recommends narrow output fields and batched queries instead of fetching every result individually.
For CI, it describes identifying one exact run, checking its expected commit SHA and run attempt, and using an exact-run watcher or progressively slower polling. It also covers targeted readback after writes and inspection of Octopool health and cache statistics.
These are documented procedures for other tools, rather than capabilities implemented by this folder.
Using it
Requirements
The documented path needs Gitcrawl with a local archive and a gh command on PATH that uses the existing Octopool wrapper. A wrapper intercepts commands and decides whether to relay a supported request or delegate to the underlying CLI. GitHub access and appropriate permissions remain necessary for the requested operations.
The source assumes this arrangement exists on the author's machines. Other installations must establish their actual routing and supported command contract. Operating system requirements, hardware needs, complete dependency versions and assistant-host compatibility are not specified.
Execution context matters: a container may use a separate read-only wrapper even when the host has an Octopool-backed installation. The skill explicitly preserves that wrapper's allowlist and credential boundary.
How it works
Gitcrawl supplies local historical discovery. Octopool supplies a separate shared response cache for supported gh requests. Refreshing Gitcrawl with extra pull request details consumes GitHub API calls and updates its archive; ordinary gh reads do not automatically populate that archive.
Routing depends on the requested fields and options. The source states that, in Octopool 0.7.1, PR mergeStateStatus and issue comments send the entire field bundle through native gh. It also states that gh api --include uses native gh with caller credentials, which can change identity, quota and visibility.
For relay freshness, the skill documents OCTOPOOL_FRESH=1 or Cache-Control: max-age=0. It distinguishes cached descriptive fields from supported decision fields that automatically revalidate, and cautions against dropping merge or review checks merely to improve cache reuse.
Setup
The folder contains SKILL.md and assistant interface metadata, with no dependency installer or cache-service deployment procedure. Exact installation into a particular assistant host is not documented.
For an already configured environment, the supplied inspection commands include octopool whoami, octopool health and octopool stats --since 1h. These help inspect the existing installation; their outputs and successful operation are not established here.
The skill identifies gitcrawl gh as retired and documents archive reads followed by bare PATH gh as its replacement. It says the retirement message is a migration notice, rather than an authentication failure requiring token, login or PATH changes.
Example
A documented discovery pattern is gitcrawl search prs "<terms>" -R owner/repo --state open --json number,title,url. It searches the local archive for candidate pull requests. Repository names and search terms are placeholders.
For a candidate numbered 123, the documented current-metadata pattern is gh pr view 123 -R owner/repo --json number,title,state,url,headRefName,headRefOid. The distinction matters because an archive result does not establish the pull request's current state.
These examples illustrate the instructions only. No commands were executed, and no output, routing or freshness result was observed.
Assessment & evidence
Limitations
Local archives can lag GitHub. The source also warns that a broad or filtered run list can lag even after a fresh upstream acquisition, so its newest row is insufficient final CI evidence.
Command success alone does not prove use of the relay. Deliberately unsupported commands can still delegate directly when OCTOPOOL_NO_FALLBACK=1 is set, and a separate wrapper may ignore that variable. An absolute gh path also does not establish which binary or routing path is in use.
The supplied scope contains no implementation, runtime results or compatibility tests for the underlying tools. Effective cache reuse, credential routing and assistant compliance remain unverified.
Reasoning
The likely benefit follows from reducing repeated discovery requests while reserving fresh reads for decisions that need current state. Batching queries and reusing existing output can avoid redundant work, but the size of any benefit depends on the installation and workload.
The instructions preserve useful distinctions between archived knowledge, cached metadata, decision freshness and caller permissions. They also retain consistency requirements when selecting fields, rather than suggesting that related decision data can always be split into separately timed requests. These are strengths of the documented approach, not measured outcomes.
Alternatives
The source describes three complementary access paths: archive reads for historical discovery, supported Octopool-relayed gh requests for shared response reuse, and native gh handling where the command or required identity calls for it.
Archive-only access can support duplicate searches and old-thread review, but cannot establish current state before a maintainer action. Native handling remains relevant for unsupported requests and caller-owned permission decisions. The supplied files contain no comparison with other caching products or assistant skills.
Evidence
The source snapshot is steipete/agent-scripts at revision 2f82700ba9f3e7e93d3583e1990992584561eadc, captured on 2026-11-16 at 18:47:26.601 UTC. The skill text is available at [https://raw.githubusercontent.com/steipete/agent-scripts/2f82700ba9f3e7e93d3583e1990992584561eadc/skills/github-cache-hygiene/SKILL.md].
The assistant metadata is at [https://raw.githubusercontent.com/steipete/agent-scripts/2f82700ba9f3e7e93d3583e1990992584561eadc/skills/github-cache-hygiene/agents/openai.yaml]. The accompanying repository license is at [https://raw.githubusercontent.com/steipete/agent-scripts/2f82700ba9f3e7e93d3583e1990992584561eadc/LICENSE].
These files establish the written instructions, interface metadata and license notice. They do not establish an installed toolchain, observed GitHub behavior or measured performance. Nothing was executed.
Access & freshness
Costs
Prices, subscriptions, hosting charges and total operating cost are unknown. The supplied files give no pricing for Gitcrawl, Octopool, GitHub access or the assistant running the skill.
The source explicitly says archive hydration spends GitHub API calls. It also distinguishes cached eligible responses divided by eligible requests from actual GitHub quota savings. A cache HIT after revalidation does not establish that no upstream request occurred. No measured savings or performance benchmark is supplied.
Rights
The accompanying repository notice is the MIT License, copyright 2026 Peter Steinberger. It permits use, copying, modification, distribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions of the software.
The notice disclaims warranties and liability. It supports redistribution of the captured skill material with the required notice; licensing and service terms for Gitcrawl, Octopool, GitHub and other dependencies are not supplied.
Freshness
The findings describe the captured revision, not an independently established current state of the repository's main branch. The source's specific routing claim names Octopool 0.7.1; the latest release and behavior in other versions are unknown.
Within the documented approach, historical discovery can use local data, while writes, final maintainer decisions, post-push CI verification and requests for live state require fresh information. Exact CI verification also requires the expected head SHA and run attempt, because refreshing a list alone may not resolve stale results.
Next steps
Before adopting the skill, confirm that the assistant can load its files and that Gitcrawl, the local archive and the Octopool-backed gh wrapper already exist in the actual execution context. Missing dependency installation steps will need separate documentation.
A useful initial evaluation would use a bounded read-only discovery task, inspect actual routing and compare archive results with the required current metadata. Assess response reuse separately from quota consumption, preserve necessary merge and review fields, and verify exact CI run identity before relying on a result.
