agentleFS
ThisisYoYoDevThisisYoYoDev/claude-rag/skills/search/SKILL.md

search

Skill9 starsChanged 8 months agoMITView on GitHub

Semantic search across all past conversations, tool results, AI outputs, and sub-agent activity stored in the RAG database

  • Sends data out

33 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use fetch, index and 4 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • vibesurf-aiSkill

    fetch

    Use when user asks to fetch URL content, read documentation from a URL, get webpage content as markdown, or extract structured content from any web page URL.

    Also in 5 projects that use this

  • OpenAISkill

    index

    Route Data Analytics plugin-level requests and broad analytics work to the right focused workflow. Use when Data Analytics is at-mentioned, or for analytics requests involving data, metrics, dashboards, reports, charts, notebooks, spreadsheets, KPIs, market sizing, or semantic layers.

    Also in 3 projects that use this

  • vibesurf-aiSkill

    browser

    Use when user needs direct browser control like navigating to URLs, clicking elements, typing text, scrolling, switching tabs, taking screenshots, or inspecting page state.

    Also in 3 projects that use this

  • ffsshhttiikkSkill

    i18n

    Internationalization and localization

    Also in 3 projects that use this

  • raven-souravSkill

    ingest

    Also in 3 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 31 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Search the RAG database for content matching the user's query: "$ARGUMENTS"

    line 11
  2. Distinctive:

    Read the plugin config to get the backend endpoint:

    line 15
  3. Distinctive:

    If no results: suggest broadening the query or checking filters

    line 37
  4. Distinctive:

    If the user provides filters in their query, parse them:

    line 39

“Common” is measured: kept by at least 6 in 10 of the 31 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

RAG Search

Search the RAG database for content matching the user's query: "$ARGUMENTS"

Instructions

  1. Read the plugin config to get the backend endpoint:
    cat ~/.claude/plugins/claude-rag/config.json 2>/dev/null || echo '{"connection":{"endpoint":"https://api.clauderag.io"}}'
  2. Execute the search query against the backend:
    curl -s -X POST <endpoint>/api/v1/search \
      -H "Content-Type: application/json" \
      -d '{"query": "<user_query>", "limit": 10, "threshold": 0.5}'
  3. Display results in a clear, organized format:
    • Group by relevance score (high to low)
    • For each result show:
      • Content type icon: Prompt=💬, AI Response=🤖, Tool Result=🔧, Error=❌
      • Score (as percentage)
      • Tool name (if applicable)
      • Agent type + sub-agent indicator
      • Project name
      • Date
      • Content preview (first 200 chars)
    • If no results: suggest broadening the query or checking filters
  4. If the user provides filters in their query, parse them:
    • "in project X" → {"filters": {"project_id": "X"}}
    • "from sub-agents" → {"filters": {"is_sub_agent": true}}
    • "only tools" → {"filters": {"content_types": ["tool_call", "tool_result"]}}
    • "bash results" → {"filters": {"tool_names": ["Bash"]}}
    • "code files" → {"filters": {"tool_categories": ["file"]}}
  5. Show total results count and search latency at the bottom.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.