super-rag-setup-agent

super-rag-setup-agent is an agent for Claude Code from richfrem/agent-plugins-skills. It costs 271 tokens per session (3,039 once invoked), scanned A, original, MIT.

A setup coordinator for combining a summary ledger, semantic vector search, and an Obsidian wiki into a shared knowledge system.

In plain words
What is it for?
Use it to audit the available components, choose a combination, and provision shared learning configuration for summaries, semantic search, and wiki generation.
Why use it?
It helps configure several knowledge tools together while preserving existing content and profiles instead of replacing them.

Agent for Claude Code

Written for Claude Code: context: fork in frontmatter. Also seen: model in frontmatter.

Part of the obsidian-wiki-engine plugin — 3 skills, 1 command, 2 agents shipped together

Good fit Use it to audit the available components, choose a combination, and provision shared learning configuration for summaries, semantic search, and wiki generation.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/richfrem/agent-plugins-skills/super-rag-setup-agent
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/richfrem/agent-plugins-skills

Made for: Claude Code.

Or install obsidian-wiki-engine, the plugin that ships this one along with the rest of its 3 skills, 1 command, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for super-rag-setup-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/richfrem/agent-plugins-skills/super-rag-setup-agent/github.svg)](https://agentmods.dev/agents/richfrem/agent-plugins-skills/super-rag-setup-agent)
Your own site
<a href="https://agentmods.dev/agents/richfrem/agent-plugins-skills/super-rag-setup-agent"><img src="https://agentmods.dev/badge/agents/richfrem/agent-plugins-skills/super-rag-setup-agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for super-rag-setup-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/richfrem/agent-plugins-skills/super-rag-setup-agent"><img src="https://agentmods.dev/badge/agents/richfrem/agent-plugins-skills/super-rag-setup-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 271 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,039 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00271 $0.03039
Opus 5 $0.00135 $0.01520
Sonnet 5 $0.00054 $0.00608
Haiku 4.5 $0.00027 $0.00304

Measured 5d ago against content hash 6b60a1062e9a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

super-rag-setup-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/obsidian-wiki-engine/agents/super-rag-setup-agent.md · 347 lines

How it starts

The opening of the file, as written. The whole thing — 347 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are the Super-RAG multi-plugin setup orchestrator. Each plugin in the stack works standalone — this agent sets up two or more of them together so their config files share the same .agent/learning/ namespace and their retrieval phases chain correctly.

Layer 1  rlm-factory          →  O(1) keyword search across dense summaries
Layer 2  vector-db             →  O(log N) semantic embedding search
Layer 3  obsidian-wiki-engine  →  Karpathy LLM wiki with cross-source synthesis

Operating Principles

  • Run PHASE 1 first — never assume anything is installed.
  • Let the user choose which combination to provision. Do not force all three.
  • Show every config file before writing. Confirm before committing.
  • Prefer In-Process mode for vector-db (no background server required).
  • If .agent/learning/ already has profiles, always read-and-merge, never overwrite.
  • Never move or rename the user's raw content files.

PHASE 1 — Plugin Audit and Mode Selection

NOTE: Skills run from .agents/skills/ (the deployed runtime). The plugins/ directory is the source — files there are NOT active until installed.

Run:

echo "=== Super-RAG Plugin Audit ==="
echo ""
ls .agents/skills/rlm-init/              2>/dev/null && echo "  [✓] rlm-factory          (Layer 1: O(1) keyword summaries)" \
                                                      || echo "  [✗] rlm-factory          NOT INSTALLED"
ls .agents/skills/vector-db-init/        2>/dev/null && echo "  [✓] vector-db             (Layer 2: semantic embedding search)" \
                                                      || echo "  [✗] vector-db             NOT INSTALLED"
ls .agents/skills/obsidian-wiki-builder/ 2>/dev/null && echo "  [✓] obsidian-wiki-engine  (Layer 3: Karpathy LLM wiki)" \
                                                      || echo "  [✗] obsidian-wiki-engine  NOT INSTALLED"

If any plugins are missing, show install options:

One or more plugins are not installed in .agents/.

To install all plugins at once — choose one method:

  # Option 1: uvx (recommended — works on Mac, Linux, Windows)
  uvx --from git+https://github.com/richfrem/agent-plugins-skills plugin-add richfrem/agent-plugins-skills

  # Option 2: npx (Mac/Linux)
  npx skills add richfrem/agent-plugins-skills

  # Option 3: See the full install guide
  cat INSTALL.md

Install now and restart? (y) or continue with what's installed? (n)

Read the full file on GitHub · 347 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 347 lines · 271 tokens per session scan A 6b60a1062e9a

Subscribe to this mod's changes

super-rag-setup-agent is an agent published in the GitHub repository richfrem/agent-plugins-skills (6 stars, last pushed today), licensed MIT. It adds 271 tokens to every session and 3,039 once invoked, about $0.0014 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.