local-rag-core: Skill for Claude Code

.claude/skills/local-rag-core-maintainer/SKILL.md

local-rag-core-maintainer is a skill for Claude Code from linkwut-create/local-rag-core. It costs 52 tokens per session (709 once invoked), scanned A, original, MIT.

A maintenance and verification guide for the local-rag-core project. RAG, or retrieval-augmented generation, lets an AI look up information from a local knowledge base while working.

In plain words
What is it for?
Use it to inspect project health and knowledge packs, search project goals, maintain MCP integration, manage pack lifecycle operations, and assess release readiness.
Why use it?
It sets checks and boundaries for changing project code, documentation, integrations, packs, backups, and releases. It helps keep knowledge-base data protected and changes consistent with the project's documented design.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions CLAUDE.md; reads ~/.codex paths.

This is linkwut-create/local-rag-core's own configuration. It tells Claude Code how to work on local-rag-core itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything local-rag-core configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/hooks/local_rag_core_skill_gate.py.

Reuse

Borrowing it

Nothing to install: this file belongs to linkwut-create/local-rag-core. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/linkwut-create/local-rag-core/master/.claude/skills/local-rag-core-maintainer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/linkwut-create/local-rag-core

Made for: Claude Code.

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 local-rag-core-maintainer

README.md
[![agentmods](https://agentmods.dev/badge/skills/linkwut-create/local-rag-core/local-rag-core-maintainer/github.svg)](https://agentmods.dev/skills/linkwut-create/local-rag-core/local-rag-core-maintainer)
Your own site
<a href="https://agentmods.dev/skills/linkwut-create/local-rag-core/local-rag-core-maintainer"><img src="https://agentmods.dev/badge/skills/linkwut-create/local-rag-core/local-rag-core-maintainer/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 local-rag-core-maintainer

Your own site · 80×15
<a href="https://agentmods.dev/skills/linkwut-create/local-rag-core/local-rag-core-maintainer"><img src="https://agentmods.dev/badge/skills/linkwut-create/local-rag-core/local-rag-core-maintainer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 709 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.00052 $0.00709
Opus 5.5 $0.00021 $0.00284
Sonnet 5.5 $0.00010 $0.00142
Haiku 4.5 $0.00005 $0.00071

Measured 2mo ago against content hash 011d8cf287e3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

local-rag-core-maintainer 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 2mo 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.

.claude/skills/local-rag-core-maintainer/SKILL.md · 97 lines

How it starts

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

local-rag-core Maintainer

Use this skill before changing local-rag-core or judging whether it is ready for normal use.

Required First Steps

  1. Call kb.health.

  2. Call kb.list_packs.

  3. Search the knowledge base for project goals:

    kb.search "local-rag-core project purpose and design goals"
    
  4. Search for the concrete topic being changed, for example:

    kb.search "diagnostics health strict backend cache"
    kb.search "pack lifecycle export import boundaries"
    kb.search "MCP read only tool schema"
    
  5. Summarize the retrieved context before proposing or editing files.

If MCP is unavailable, state that explicitly and fall back to reading AGENTS.md, CLAUDE.md, PROJECT_STATUS.md, README.md, and the relevant source or test files.

Hard Boundaries

  • Treat MCP as read-only.
  • Do not modify storage/, data/packs/, or data/private_kb/ directly.
  • Do not bypass the pack lifecycle. Use rag pack ... commands for pack build, export, import, enable, and disable flows.
  • Do not change MCP tool schemas without updating AGENTS.md, CLAUDE.md, and MCP_INTEGRATION.md.
  • Do not expose secrets, real tokens, private documents, or local-only runtime caches in public docs or release notes.
  • Keep local settings such as .claude/settings.local.json and .codex/config.toml machine-local unless the user explicitly asks to share sanitized examples.

Normal Verification Lanes

For small documentation or hook-only changes:

python scripts/hooks/local_rag_core_skill_gate.py
git diff --check

For code or behavior changes:

ruff check .
pytest -m "not real_model"

For release or readiness checks:

ruff check .
pytest
rag health --strict
rag integrity --deep
python scripts/run_eval.py
python scripts/ops_verify.py

Use the smallest lane that proves the change. Report skipped checks clearly.

GitHub and Release Work

Before pushing or publishing, run a tracked-file privacy check:

Read the full file on GitHub · 97 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. 2mo ago First seen · 97 lines · 52 tokens per session scan A 011d8cf287e3

Subscribe to this mod's changes

local-rag-core-maintainer is a skill published in the GitHub repository linkwut-create/local-rag-core (0 stars, last pushed 4mo ago), licensed MIT. It adds 52 tokens to every session and 709 once invoked, about $0.0002 per session on Opus 5.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-08-31.

Related

local-rag-core-maintainer compared with skills from other repositories

local-rag-core-maintainer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
local-rag-core-maintainerlinkwut-create/local-rag-coreSkill04mo agoMITA52Claude Code
memobasemaximskorohod/memobaseSkill2217d agoMITA25Claude Code, Codex
llm-wikiAr9av/obsidian-wikiSkill3.7kyesterdayMITA41Claude Code
llmwikiatomicstrata/llm-wiki-compilerSkill2.2k7d agoMITA66Claude Code, Codex
rag-knowledgevstorm-co/full-stack-ai-agent-templateSkill2.0k7d agoMITA76Claude Code
wegent-knowledgewecode-ai/WegentSkill882yesterdayApache-2.0A60Claude Code, Codex
starcat-ui-prototypestarcat-app/StarcatSkill215yesterdayMITA85Claude Code, Codex