gemini-prompt-cache — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited gemini-prompt-cache (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Use this skill when the same large instruction block - rules, a response schema, few-shot examples - is sent on every Gemini request. Caching that prefix once turns those repeated input tokens into a much cheaper cached-token rate, which matters a lot at volume. This wraps Gemini context caching: create the cache once, then point every generate call at the cached handle.
generate_content calls.User input:
I send the same 4k-token extraction ruleset to Gemini on every row. Stop paying full price for it.Output:
# Copy assets/cache.py into your project, then:
from cache import create_cache, generate_with_cache
prefix = create_cache(BIG_RULESET, model="gemini-2.5-flash", ttl_seconds=1800)
for row in rows:
print(generate_with_cache(prefix, row)) # ruleset billed at cached rateThe helper reads GEMINI_API_KEY from the environment and requires google-genai.
caches.create, storing the returned handle and a TTL.cached_content=<handle> so only the user text is billed at full input rate.Reference: assets/cache.py.
Distilled from production use across the author's automation projects. v1.0.0. See also: [[gemini-flash-budget]], [[gemini-cost-tracker]].
→ Build the full runnable bot with Trawlkit.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.