A semantic code caching skill that enables AI agents to store, search, and reuse previously generated code to save time and tokens.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install code-cache
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install code-cache using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Code Cache is a high-performance extension for AI agents that implements semantic code caching via the Raysurfer API. By maintaining a repository of previously executed and validated code, it allows agents to bypass repetitive generation cycles. This skill ensures that when an agent encounters a familiar task, it can instantly retrieve a proven solution rather than starting from scratch.
Integrating this into your Openclaw Skills library enables a more efficient development lifecycle. It prioritizes high-quality, human-voted snippets, reducing the risk of hallucinations and significantly lowering the operational cost of running LLM-based agents. By leveraging semantic search, agents can find relevant logic even if the task description isn't a perfect textual match.
To use this within your Openclaw Skills ecosystem, first obtain an API key from the Raysurfer dashboard. You can then configure the skill using one of the following methods:
# Set the environment variable
export RAYSURFER_API_KEY=your_api_key_here
# Or configure via OpenClaw CLI
openclaw config set skills.entries.code-cache.apiKey "your_api_key_here"
Code Cache organizes information semantically to facilitate rapid retrieval. The following data points are tracked for each entry:
| Attribute | Description |
|---|---|
| Task Description | Natural language summary used for semantic matching. |
| Source Code | The actual file content stored and retrieved for execution. |
| Verdict Score | A numerical filter (default min 0.3) for retrieval quality. |
| Votes | Upvotes and downvotes that refine search relevance over time. |
| Metadata | Status flags indicating if the code successfully executed. |
Loading
An advanced AI engine that analyzes codebases to generate production-grade test suites for JavaScript, Python, Go, and Rust.

A high-performance SEO auditor that provides technical, on-page, and content analysis with prioritized actionable fixes and scoring.

An autonomous AI security auditor that identifies OWASP vulnerabilities, secrets exposure, and dependency risks in your codebase.

A sophisticated gamification engine that transforms daily tasks into RPG-style experience points and character progression.

A specialized code caching system that enables AI agents to search, retrieve, and store successful code executions for future reuse.

A real-time crypto analyst for tracking trending tokens, smart money movements, and new launches on the Base chain using GMGN.AI data.








































