agentsclimarketplace

Rag remember

Skill butchokoy25/lightrag-claude-skills/skills/rag-remember

Persistent memory for Claude Code via LightRAG knowledge graphs — 7 skills + 2 auto-hooks

Install
npx -y skills add butchokoy25/lightrag-claude-skills --skill rag-remember

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Store a fact, decision, or observation into the personal LightRAG knowledge graph immediately

SKILL.md

2.6 KB, as published. Nobody here has run it

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

TypeUse for
DECISIONArchitecture choices, tool selections, approach decisions
FEEDBACKUser corrections, preferences, "do this / don't do that"
CONFIGServer settings, env vars, ports, credentials (NO actual secrets)
PROJECTProject status, goals, deadlines, stakeholders
PERSONPeople, roles, contact preferences, working styles
REFERENCEURLs, docs, external resources, where to find things
INSIGHTDebugging 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 blame instead

Infrastructure

  • Server: YOUR_LIGHTRAG_HOST:YOUR_PERSONAL_PORT
  • Auth: Bearer token from /auth-status (guest/disabled mode)
  • Env var: LIGHTRAG_SERVER_URL

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.