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

ask

Skill9 starsChanged 8 months agoMITView on GitHub

Ask a question about past work and get a synthesized answer informed by conversation history from the RAG database

  • Sends data out

32 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use edit, discuss and 10 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.
  • LambenthanSkill

    edit

    根据用户要求增删 raw sources 或更新 wiki 内容

    Also in 3 projects that use this

  • shawnla90Skill

    discuss

    Decision-lock workflow for complex features. Asks targeted domain-specific questions, locks scope, and writes a CONTEXT.md that downstream skills consume. Auto-invoked when a feature touches 3+ files across 2+ concerns, or manually via /discuss.

    Also in 3 projects that use this

  • sahinSkill

    execute

    Also in 3 projects that use this

  • SentrySkill

    onboard

    Onboard a service to sentry-options. Use when integrating a new service, creating schemas, or setting up the multi-repo sentry-options workflow.

    Also in 4 projects that use this

  • AnthropicSkill

    update

    Sync tasks and refresh memory from your current activity. Use when pulling new assignments from your project tracker into TASKS.md, triaging stale or overdue tasks, filling memory gaps for unknown people or projects, or running a comprehensive scan to catch todos buried in chat and email.

    Also in 3 projects that use this

  • sundial-orgSkill

    skill

    Find, install, create, improve, and publish AI agent skills through the Sundial ecosystem. Use when the user wants to find or search for skills, install a skill, create a new skill, improve or evaluate an existing skill, or publish a skill to Sundial Hub. Trigger phrases include "find a skill", "install skill", "create a skill", "make a skill", "improve this skill", "evaluate skill", "publish skill", "push skill", "search for skills".

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 29 edited versions we read keep these.

  • 7

    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:

    Read the plugin config to get the backend endpoint:

    line 15
  2. Distinctive:

    Search the RAG database for relevant context:

    line 20
  3. Distinctive:

    If the answer comes from code (tool_result from Read), include relevant code snippets

    line 30
  4. Distinctive:

    If results are from sub-agents, mention which agent type found the information

    line 31
  5. Distinctive:

    Start with the direct answer

    line 35
  6. Distinctive:

    Follow with supporting evidence from RAG results

    line 36
  7. Distinctive:

    If insufficient context is found:

    line 39

“Common” is measured: kept by at least 6 in 10 of the 29 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 Ask

Answer the user's question using RAG context: "$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. Search the RAG database for relevant context:
    curl -s -X POST <endpoint>/api/v1/search \
      -H "Content-Type: application/json" \
      -d '{"query": "<user_question>", "limit": 10, "threshold": 0.4}'
  3. Synthesize an answer based on the search results:
    • Combine information from multiple results to form a coherent answer
    • Cite specific sessions, tools, and dates when referencing past work
    • If the answer comes from code (tool_result from Read), include relevant code snippets
    • If results are from sub-agents, mention which agent type found the information
    • Be transparent about confidence: if results have low scores (<0.5), caveat accordingly
  4. Structure the response:
    • Start with the direct answer
    • Follow with supporting evidence from RAG results
    • End with "Sources" listing the sessions/events referenced
  5. If insufficient context is found:
    • Say clearly that the RAG database doesn't have enough context
    • Suggest what the user could search for instead
    • Offer to answer from general knowledge (without RAG)

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.