Skip to content
Development
Agent

docs-cache

Documentation cache helper for agents.

From plugin
rust-skills
1.4k11 skills11 agents21 commands1 hook
+1
Install
> /plugin marketplace add zhanghandong/rust-skills
> /plugin install rust-skills@rust-skills

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Documentation cache helper for agents.

Agent definition

docs-cache.md

docs-cache

Documentation cache helper for agents.

Cache Directory

~/.claude/cache/rust-docs/
├── docs.rs/{crate}/{item}.json
├── std/{module}/{item}.json
├── releases.rs/{version}.json
├── lib.rs/{crate}.json
└── clippy/{lint}.json

TTL by Source

| Source | TTL | Reason | |--------|-----|--------| | std/ | 30 days | Stable | | docs.rs/ | 7 days | Crate updates | | releases.rs/ | 365 days | Historical | | lib.rs/ | 1 day | Version changes | | clippy/ | 14 days | Rust version updates |

Cache Format

{
  "meta": {
    "url": "...",
    "fetched_at": "2025-01-01T00:00:00Z",
    "expires_at": "2025-01-08T00:00:00Z"
  },
  "content": { ... }
}

Skip Cache

Keywords: refresh, force, --force, update docs

Ships withrust-skills

AI-powered Rust development assistant with meta-cognition framework

Get the whole plugin