تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

code-reputation

بواسطة ryx2

Search & Research
553التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Semantic code caching for AI agents.

الوصف

ما الذي تفعله هذه المهارة

Code Cache stores code generated by AI agents and retrieves it when a similar task comes up later. It uses semantic search to match task descriptions, so agents reuse validated solutions instead of regenerating them from scratch.

Retrieving proven code from a semantic cache is faster and cheaper than asking an LLM to regenerate the same solution on every run.

متى تستخدمها

  • Reusing a data pipeline script across multiple agent runs
  • Retrieving a chart-building snippet for recurring reports
  • Skipping LLM generation when fetching GitHub trending repos again
  • Searching cached solutions before starting a new automation task
  • Rating cached code to improve future retrieval accuracy

مثال على سير العمل

الإدخال

User asks: Fetch GitHub trending repos

الوكيل
  1. 1

    Runs /code-cache search 'Fetch GitHub trending repos' --show-code to check for a match

  2. 2

    Finds a cached snippet with a verdict score above the threshold

  3. 3

    Retrieves execution-ready files via /code-cache files 'Fetch GitHub trending repos'

  4. 4

    Executes the cached code without LLM generation

  5. 5

    Votes on the result with /code-cache vote <id> --up if the output is correct

الإخراج

GitHub trending repos fetched using a cached script, no token generation required

المتطلبات

  • RAYSURFER_API_KEY environment variable
  • Raysurfer account (to obtain API key from dashboard)

التثبيت

clawhub install ryx2/code-reputation

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط