agentleFS
zedarvateszedarvates/frugal-skills/skills/agent-cache/SKILL.md

agent-cache

Skill1 starsChanged 30 days agoMITView on GitHub

Instructions for evaluating upstream agent-run caching with exact hashes, code fingerprints and fuzzy matches. Use for repeated runs with comparable inputs; verify cache validity before skipping execution. Not for project scan caching (cache) or model-answer caching (response-cache).

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Agent Cache

Package scope and prerequisites

This catalog ships instructions, not the executable runtime. Python modules, scripts, local services and optional tools named below must be installed separately from the upstream project. Check their availability before running commands; if they are missing, explain the prerequisite instead of claiming execution or results. The host agent may use model tokens while following these instructions.

Commands, APIs and runtime behavior described below are conditional examples for a compatible upstream installation; they are not evidence of execution in this package.

Evaluate whether a verified upstream cache entry can replace a repeated agent run. Reuse requires compatible inputs, analysis settings and dependencies; semantic similarity alone is not proof that the result is interchangeable. Include relevant environment settings, governing rules and tool/runtime versions in the cache identity, or invalidate the entry when they change. Unchanged source alone does not establish an unchanged result.

Stratégies de matching

StratégieDescriptionQuand
Exact hashSame validated inputs and analysis configurationTâches déterministes
FingerprintUnchanged code plus compatible analysis inputsAudit, linting
Fuzzy matchChevauchement lexical approximatif; pertinence à vérifierQuestions similaires

Usage

python -m skills.agent_cache.cli check "query" --agent audit
python -m skills.agent_cache.cli store "query" "response" --agent fix
python -m skills.agent_cache.cli stats

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.