用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/zhaixin244-wq/fnw --skill rag-project-sync命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | rag-project-sync |
| description | End-of-session review and sync of project-specific learnings to the project-level LightRAG graph |
| version | 1.0.0 |
| model | sonnet |
| triggers | ["/rag-project-sync","sync project memory","push project learnings"] |
Review what happened this session and push project-relevant learnings to the project-level LightRAG knowledge graph.
Scan the conversation for project-specific items worth persisting:
Remove anything that:
/rag-project-remember this session/rag-sync insteadFormat each item using the /rag-project-remember format:
[TYPE] Title — YYYY-MM-DD
What: ...
Why: ...
Files: ... (if applicable)
Present the list:
Ready to sync 2 items to project memory:
- [ARCHITECTURE] API routes use controller pattern with service layer — 2026-04-01
- [CONVENTION] All database queries go through repository classes — 2026-04-01
Proceed? (y/n)
Wait for confirmation before inserting.
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: 'DESCRIPTION_HERE',
text: 'CONTENT_HERE'
})
});
console.log('Status:', res.status);
})();
"
Synced 2 items to project LightRAG.
Only store things that would save 5+ minutes in a future session working on this project.
Good examples:
Bad examples:
YOUR_LIGHTRAG_HOST:YOUR_PROJECT_PORTLIGHTRAG_API_KEY