| name | raysurfer |
| description | Cache and reuse code from prior AI agent executions via Raysurfer. Search before coding, upload after success. |
| argument-hint | [search query or "upload"] |
| allowed-tools | ["Bash","Read","Write","Edit","Grep","Glob"] |
Raysurfer Code Caching Skill
You have access to Raysurfer, a code caching system that stores and retrieves code from prior AI agent executions. Always check the cache before writing new code and upload successful results afterward.
Environment
- API Base URL:
https://api.raysurfer.com
- Auth: Bearer token via the
RAYSURFER_API_KEY environment variable
- All API calls use
Content-Type: application/json
Workflow
Follow this sequence for every coding task:
Step 1: Search the Cache
Before writing any code, search for existing cached solutions.
To also include community public snippets (crawled from GitHub), add the X-Raysurfer-Public-Snips: true header.
curl -s -X POST https://api.raysurfer.com/api/retrieve/search \
-H "Authorization: Bearer $RAYSURFER_API_KEY" \
-H "Content-Type: application/json" \
-H "X-Raysurfer-Public-Snips: true" \
-d