examples/Kode.Agent.WebApiAssistant/skills/memory/SKILL.md
Persistent memory for cross-session personalization. Trigger when user shares identity, preferences, relationships, or facts worth remembering.
npx skillsauth add jinfanzheng/kode-sdk-csharp memoryInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Memory is for information with recurring value across conversations. If you'll need it tomorrow/next week, save it. If it's ephemeral (today's weather, casual greeting), don't.
| Category | Examples | File |
|----------|----------|------|
| Identity | Name, age, location, occupation | facts/people.jsonl |
| Preferences | Languages, frameworks, work style | facts/preferences.jsonl |
| Relationships | Colleagues, family, team members | facts/people.jsonl |
| Decisions | Conclusions from discussions | facts/projects.jsonl |
| Context | Project details, work environment | facts/projects.jsonl |
When user shares memorable info:
fs_write - don't acknowledge first, don't batchExample:
User: "我叫张三,在深圳做后端开发"
→ fs_write path=".memory/facts/people.jsonl" content='{"id":"mem_1704628800000","ts":"2026-01-07T12:00:00.000Z","type":"fact","category":"person","content":"张三,深圳,后端开发","tags":["name","location","occupation"],"importance":0.95}'
.memory/
├── profile.json # Read on session start for context
├── facts/
│ ├── people.jsonl # Identity, relationships
│ ├── preferences.jsonl # Tech stack, work style
│ └── projects.jsonl # Work context, decisions
└── conversations/
└── YYYY-MM-DD.jsonl # Session summaries
{"id":"mem_{{timestamp}}","ts":"{{ISO8601}}","type":"fact","category":"{{person|preference|project}}","content":"{{concise content in user's language}}","tags":["{{retrieval keywords}}"],"importance":{{0.5-1.0}}
Session start: fs_read profile.json
Search: fs_grep pattern="{{keyword}}" path=".memory/"
testing
Weather/current-conditions verification workflow. Use when user asks for weather, temperature, forecast, rain/snow/wind, typhoon alerts, air quality, or other time-sensitive local conditions. Requires location + source links + local update/publish time; NEVER fabricate.
development
Verification + citation workflow. Use whenever the user asks you to look up information, mentions latest/today/real-time, requests news/weather/prices/scores, or whenever you plan to reference external facts. Requires source links and (when relevant) local published/updated time. NEVER fabricate.
tools
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
testing
High-speed rail / train lookup workflow (China-focused). Use for timetables, ticket availability, delays, cancellations, or “today/latest” rail updates. Prefer official sources; always include source link + local update time; NEVER fabricate.