code-reputationSemantic code caching for AI agents. Cache, retrieve, and reuse code from prior agent executions.
Install via ClawdBot CLI:
clawdbot install ryx2/code-reputationThis skill enables semantic code caching via the Raysurfer API.
When your agent generates and executes code, Code Cache stores it. When a similar task comes up later, the agent can retrieve and run the cached code instead of regenerating itβsaving time and tokens.
Get your API key from the Raysurfer dashboard and configure it:
# Via environment variable
export RAYSURFER_API_KEY=your_api_key_here
# Or via OpenClaw config
openclaw config set skills.entries.code-cache.apiKey "your_api_key_here"
/code-cache search <task description> [--top-k N] [--min-score FLOAT] [--show-code]
Search for cached code snippets that match a natural language task description.
Options:
--top-k N β Maximum number of results (default: 5)--min-score FLOAT β Minimum verdict score filter (default: 0.3)--show-code β Display the source code of the top matchExample:
/code-cache search "Generate a quarterly revenue report"
/code-cache search "Fetch GitHub trending repos" --top-k 3 --show-code
/code-cache files <task description> [--top-k N] [--cache-dir DIR]
Retrieve code files ready for execution, with a pre-formatted prompt addition for your LLM.
Options:
--top-k N β Maximum number of files (default: 5)--cache-dir DIR β Output directory (default: .code_cache)Example:
/code-cache files "Fetch GitHub trending repos"
/code-cache files "Build a chart" --cache-dir ./cached_code
/code-cache upload <task> --files <path> [<path>...] [--failed] [--no-auto-vote]
Upload code from an execution to the cache for future reuse.
Options:
--files, -f β Files to upload (required, can specify multiple)--failed β Mark the execution as failed (default: succeeded)--no-auto-vote β Disable automatic voting on stored code blocksExample:
/code-cache upload "Build a chart" --files chart.py
/code-cache upload "Data pipeline" -f extract.py transform.py load.py
/code-cache upload "Failed attempt" --files broken.py --failed
/code-cache vote <code_block_id> [--up|--down] [--task TEXT] [--name TEXT] [--description TEXT]
Vote on whether cached code was useful. This improves retrieval quality over time.
Options:
--up β Upvote / thumbs up (default)--down β Downvote / thumbs down--task β Original task description (optional)--name β Code block name (optional)--description β Code block description (optional)Example:
/code-cache vote abc123 --up
/code-cache vote xyz789 --down --task "Generate report"
The skill wraps these Raysurfer API methods:
| Method | Description |
|--------|-------------|
| search(task, top_k, min_verdict_score) | Unified search for cached code snippets |
| get_code_files(task, top_k, cache_dir) | Get code files ready for sandbox execution |
| upload_new_code_snips(task, files_written, succeeded, auto_vote) | Store new code after execution |
| vote_code_snip(task, code_block_id, code_block_name, code_block_description, succeeded) | Vote on snippet usefulness |
LLM agents repeat the same patterns constantly. Instead of regenerating code every time:
Learn more at raysurfer.com or read the documentation.
AI Usage Analysis
Analysis is being generated⦠refresh in a few seconds.
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Clau...
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Search and analyze your own session logs (older/parent conversations) using jq.
Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linking related objects, enforcing constraints, planning multi-step actions as graph transformations, or when skills need to share state. Trigger on "remember", "what do I know about", "link X to Y", "show dependencies", entity CRUD, or cross-skill data access.
Ultimate AI agent memory system for Cursor, Claude, ChatGPT & Copilot. WAL protocol + vector search + git-notes + cloud backup. Never lose context again. Vibe-coding ready.
Headless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection