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

config

Skill9 starsChanged 8 months agoMITView on GitHub

Configure the Claude RAG plugin — connection, capture settings, RAG mode, privacy, and more

  • Reads credentials

25 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use uninstall and resume.

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.
  • AnthropicSkill

    uninstall

    Uninstall a community skill that was installed via the hub. Confirms before deleting files, refuses to touch first-party plugin skills, and logs every action. Use when the user wants to fully remove a community skill ("uninstall [skill]", "remove this skill") rather than just disable it.

    Also in 3 projects that use this

  • genomewalkerSkill

    resume

    Resume a thread by loading its ~800-token context capsule

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 6 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 20 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If "$ARGUMENTS" matches a section name, go directly to that section.

    line 20
  2. Distinctive:

    If Cloud: ask for endpoint URL and API key.

    line 43
  3. Distinctive:

    Use AskUserQuestion with multiSelect:

    line 48
  4. Distinctive:

    If auto or aggressive, ask for:

    line 71
  5. Distinctive:

    Ask for additional exclusion patterns if needed.

    line 85
  6. Very specific:

    Read and display the current config.json formatted nicely.

    line 89
  7. Very specific:

    Always read the existing config first, merge changes, then write back.

    line 104
  8. Distinctive:

    Write the full merged JSON config.

    line 111

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

Configure the Claude RAG plugin settings.

Instructions

  1. Read current config:
    cat ~/.claude/plugins/claude-rag/config.json 2>/dev/null || echo '{"connection":{"endpoint":"https://api.clauderag.io"}}'
  2. If "$ARGUMENTS" matches a section name, go directly to that section. Otherwise, show the main menu.

Main Menu

Use AskUserQuestion:

  • header: "Claude RAG Configuration"
  • question: "What would you like to configure?"
  • options:
    • "Connection — endpoint & API key"
    • "Capture — what to record (prompts, tools, agents...)"
    • "RAG Mode — auto injection behavior"
    • "Privacy — secret redaction & exclusions"
    • "Show current config"
    • "Reset to defaults"
    • "Test connection"

Section: Connection

Use AskUserQuestion:

  • question: "Connection type?"
  • options: ["Local (Docker — for development only)", "Cloud (custom endpoint)"]

If Cloud: ask for endpoint URL and API key. Write updated config.

Section: Capture

Use AskUserQuestion with multiSelect:

  • question: "What should be captured?"
  • multiSelect: true
  • options:
    • "User prompts"
    • "AI outputs"
    • "Tool calls (input)"
    • "Tool results (output)"
    • "Sub-agent activity"
    • "Multimodal files"

Then ask for excluded tools (comma-separated, default: "AskUserQuestion").

Section: RAG Mode

Use AskUserQuestion:

  • question: "RAG injection mode?"
  • options:
    • "Off — capture only, no injection"
    • "Manual — only /claude-rag:search and /claude-rag:ask"
    • "Auto — inject context on every prompt (recommended)"
    • "Aggressive — auto + Claude can search on its own"

If auto or aggressive, ask for:

  • Threshold (0.4-0.9, default 0.6)
  • Max context tokens (500-4000, default 2000)

Section: Privacy

Use AskUserQuestion with multiSelect:

  • question: "Privacy settings?"
  • multiSelect: true
  • options:
    • "Redact secrets (passwords, tokens, API keys)"
    • "Exclude .env files"
    • "Exclude credentials files"

Ask for additional exclusion patterns if needed.

Section: Show config

Read and display the current config.json formatted nicely.

Section: Reset

Confirm with AskUserQuestion, then write the default config.

Section: Test connection

curl -s <endpoint>/health

Show result and status.

Writing Config

Always read the existing config first, merge changes, then write back. Config path: ~/.claude/plugins/claude-rag/config.json

mkdir -p ~/.claude/plugins/claude-rag

Write the full merged JSON config.

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.