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.
npx skills add zhaixin244-wq/fnw --skill rag-remembergit clone --depth 1 https://github.com/zhaixin244-wq/fnwWrote 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.
[](https://agentmods.dev/skills/zhaixin244-wq/fnw/rag-remember)<a href="https://agentmods.dev/skills/zhaixin244-wq/fnw/rag-remember"><img src="https://agentmods.dev/badge/skills/zhaixin244-wq/fnw/rag-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.
<a href="https://agentmods.dev/skills/zhaixin244-wq/fnw/rag-remember"><img src="https://agentmods.dev/badge/skills/zhaixin244-wq/fnw/rag-remember.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00021 | $0.00648 |
| Opus 5.5 | $0.00008 | $0.00259 |
| Sonnet 5.5 | $0.00004 | $0.00130 |
| Haiku 4.5 | $0.00002 | $0.00065 |
Grade A, and why
rag-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 1mo 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 auth = await fetch(BASE + '/auth-status').then(r => r.json()); Copies of this mod
1 near-identical copy found in the catalogue:
- rag-remember — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
RAG Remember — Store to Personal Knowledge Graph
Store a specific fact, decision, or observation into your personal LightRAG knowledge graph. Use mid-session when something worth remembering comes up.
Formatting rules
Format each entry as:
[TYPE] Title — YYYY-MM-DD
What: Brief description of the fact or decision
Why: The reasoning or context behind it
Files: Relevant file paths (if applicable)
Entry types
| Type | Use for |
|---|---|
DECISION |
Architecture choices, tool selections, approach decisions |
FEEDBACK |
User corrections, preferences, "do this / don't do that" |
CONFIG |
Server settings, env vars, ports, credentials (NO actual secrets) |
PROJECT |
Project status, goals, deadlines, stakeholders |
PERSON |
People, roles, contact preferences, working styles |
REFERENCE |
URLs, docs, external resources, where to find things |
INSIGHT |
Debugging lessons, performance findings, non-obvious learnings |
How to store
node -e "
const BASE = process.env.LIGHTRAG_SERVER_URL || 'http://YOUR_LIGHTRAG_HOST:YOUR_PERSONAL_PORT';
(async () => {
const auth = await fetch(BASE + '/auth-status').then(r => r.json());
const token = auth.access_token;
const res = await fetch(BASE + '/documents/text', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer ' + token
},
body: JSON.stringify({
file_source: '[TYPE] Title — YYYY-MM-DD',
text: 'Full content here with What/Why/Files structure'
})
});
const data = await res.json();
console.log('Status:', res.status);
})();
"
After inserting
- Confirm to the user: "Stored: [TYPE] Title"
- Do NOT dump the raw API response
- If the insert fails, tell the user and suggest trying again
What NOT to store
- Ephemeral task details — current conversation context, in-progress work steps
- Code from the codebase — it's already in the repo; store the decision, not the code
- Duplicates — query first if unsure whether something is already stored
- Credentials or secrets — never store API keys, passwords, tokens
- Git history — use
git log/git blameinstead
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.
- 1mo ago First seen · 84 lines · 21 tokens per session scan A d2c8cfb3e667
rag-remember is a skill published in the GitHub repository zhaixin244-wq/fnw (30 stars, last pushed 4mo ago), licensed MIT. It adds 21 tokens to every session and 648 once invoked, about $0.0001 per session on Opus 5.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.
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.
pinecone-research
Agent RAG and long-term memory with Pinecone.
agent-v3-memory-specialist
Agent skill for v3-memory-specialist - invoke with $agent-v3-memory-specialist.
agents-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…
knowledge-org
A guide to organising large bodies of knowledge so an AI system can navigate relationships, summaries, and layers instead of searching only flat text chunks. It covers tree indexes, knowledge graphs, file-like structures, incremental updates, and long-term memory layouts.
llm-wiki
Explain and apply the foundational LLM Wiki architecture and knowledge-management strategy. Use for setup, architecture, schema, or organization decisions; operational ingest/query/lint work uses dedicated skills.