rag-project-remember

rag-project-remember is a skill for Claude Code from zhaixin244-wq/fnw. It costs 18 tokens per session (585 once invoked), scanned A, original, MIT.

A project-memory tool that saves architecture decisions, coding conventions, dependencies, requirements, and other facts in a LightRAG knowledge graph.

In plain words
What is it for?
Use it to record system-design choices, project rules, library constraints, configuration details, and non-obvious findings.
Why use it?
It keeps important project context available across work sessions instead of leaving it scattered in chat messages or personal notes.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it to record system-design choices, project rules, library constraints, configuration details, and non-obvious findings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zhaixin244-wq/fnw/rag-project-remember
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.

Any agent
npx skills add zhaixin244-wq/fnw --skill rag-project-remember
Clone the repo
git clone --depth 1 https://github.com/zhaixin244-wq/fnw

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 rag-project-remember

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhaixin244-wq/fnw/rag-project-remember/github.svg)](https://agentmods.dev/skills/zhaixin244-wq/fnw/rag-project-remember)
Your own site
<a href="https://agentmods.dev/skills/zhaixin244-wq/fnw/rag-project-remember"><img src="https://agentmods.dev/badge/skills/zhaixin244-wq/fnw/rag-project-remember/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 rag-project-remember

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhaixin244-wq/fnw/rag-project-remember"><img src="https://agentmods.dev/badge/skills/zhaixin244-wq/fnw/rag-project-remember.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 585 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00018 $0.00585
Opus 5 $0.00009 $0.00293
Sonnet 5 $0.00004 $0.00117
Haiku 4.5 $0.00002 $0.00059

Measured 9d ago against content hash f31afdfde2f2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

rag-project-remember scanned grade A with 1 finding 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 9d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

const res = await fetch(BASE + '/documents/text', {
.claude/skills/rag-project-remember/SKILL.md · 83 lines

How it starts

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

RAG Project Remember — Store to Project Knowledge Graph

Store project-specific knowledge — architecture decisions, conventions, dependencies, and requirements — into the project-level LightRAG graph.

Formatting rules

Format each entry as:

[TYPE] Title — YYYY-MM-DD

What: Brief description
Why: The reasoning or constraint behind it
Files: Relevant file paths (if applicable)

Entry types

Type Use for
ARCHITECTURE System design choices, component structure, data flow
CONVENTION Coding standards, naming patterns, file organization rules
DECISION Technology choices, library selections, approach decisions
DEPENDENCY External services, APIs, packages, version constraints
CONFIG Environment setup, build config, deployment settings
REQUIREMENT Business rules, constraints, acceptance criteria
INSIGHT Performance findings, gotchas, non-obvious behaviors

How to store

node -e "
const BASE = 'http://YOUR_LIGHTRAG_HOST:YOUR_PROJECT_PORT';
const API_KEY = process.env.LIGHTRAG_API_KEY || 'YOUR_API_KEY';
(async () => {
  const res = await fetch(BASE + '/documents/text', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
      'X-API-Key': API_KEY
    },
    body: JSON.stringify({
      file_source: '[TYPE] Title — YYYY-MM-DD',
      text: 'Full content here with What/Why/Files structure'
    })
  });
  console.log('Status:', res.status);
})();
"

After inserting

  • Confirm to the user: "Stored to project memory: [TYPE] Title"
  • Do NOT dump the raw API response

When NOT to use this

Use /rag-remember (personal graph) instead for:

  • User preferences — working style, tool preferences, communication style
  • Cross-project knowledge — things that apply to all projects
  • Personal context — roles, responsibilities, machine config
  • People info — contacts, working relationships

This skill is for things specific to the current project that wouldn't be relevant elsewhere.

Read the full file on GitHub · 83 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. 9d ago First seen · 83 lines · 18 tokens per session scan A f31afdfde2f2

Subscribe to this mod's changes

rag-project-remember is a skill published in the GitHub repository zhaixin244-wq/fnw (29 stars, last pushed 3mo ago), licensed MIT. It adds 18 tokens to every session and 585 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

AgentDB Memory Patterns

Implement persistent memory patterns for AI agents using AgentDB. Includes session memory, long-term storage, pattern learning, and context management. Use when building stateful agents, chat systems, or intelligent assistants.

ruvnet/RuView · 45 tokens

pinecone-research

Agent RAG and long-term memory with Pinecone.

NousResearch/hermes-agent · 16 tokens

agent-v3-memory-specialist

Agent skill for v3-memory-specialist - invoke with $agent-v3-memory-specialist.

ruvnet/ruflo · 25 tokens

langchain

Framework for building LLM-powered applications with agents, chains, and RAG. Supports multiple providers (OpenAI, Anthropic, Google), 500+ integrations, ReAct agents, tool calling, memory management, and vector store retrieval. Use for building chatbots, question-answering systems, autonomous agents, or RAG…

davila7/claude-code-templates · 79 tokens

llm-wiki

The foundational knowledge distillation pattern for building and maintaining an AI-powered Obsidian wiki. Based on Andrej Karpathy's LLM Wiki architecture. Use this skill whenever the user wants to understand the wiki pattern, set up a new knowledge base, or needs guidance on the three-layer architecture (raw sources…

Ar9av/obsidian-wiki · 113 tokens

browserwing-admin

Manage and operate BrowserWing — an intelligent browser automation platform. Install dependencies, configure LLM, create/manage/execute automation scripts, use AI-driven exploration to generate scripts, browse the script marketplace, and troubleshoot issues.

MemTensor/MemOS · 47 tokens