renfei-design/design-jarvis/memory
Claude Code and agent skill by renfei-design/design-jarvis
- community
Checking that the SKILL.md file is still in the repository.
Manage Design Jarvis's persistent project memory — compact project state, decision logs, session summaries, artifact references, and cross-project preferences/patterns. Use when asked to log a decision, save context, summarize a session, look up prior decisions, initialize project memory, or check what was done last session.
Install
npx vskill@latest install renfei-design/design-jarvis/memorySKILL.md
Skill: Memory System
Manage Design Jarvis persistent memory with a Core + Archive model: keep the small,durable project state in context and search/load deeper history only when needed.
Purpose
Memory lets Jarvis accumulate project-specific intelligence across sessions without polluting every turn with stale history. The system separates:
- Core memory — current working context that should fit in a small prompt block.
- Structured metadata — machine-readable pointers for retrieval and maintenance.
- Archive memory — decisions, sessions, raw traces, and older notes loaded on demand.
Architecture: Core + Archive
Only memory.md should be loaded automatically at project start. Use manifest.json to decide what else to read or search.
| Layer | Files | When loaded | Budget | |
|---|---|---|---|---|
| Core | memory.md | First for the active project | Target 80-120 lines, hard max 150 | |
| Metadata | manifest.json, artifacts.json | When routing/retrieving context or updating memory | Small, valid JSON | |
| Archive | decisions.md, sessions/, archive/ | Targeted read/search only | Unlimited; compact over time |
Loading discipline:
- Read
.jarvis/memory/projects/<slug>/memory.md. - Read
manifest.jsonif you need file pointers, topics, or decision IDs. - Search or read archive files only when the task needs deeper history.
- Never eagerly load all sessions, decisions, or raw traces.
Directory Structure
File Responsibilities
memory.md — Core project state
Keep this current, compact, and useful at session start. It is not a changelog.
Recommended sections:
- Project overview
- Current focus
- Constraints
- Active decisions summary
- Key artifacts
- Recent outcome
- Next step
- Deep links / pointers
manifest.json — Retrieval metadata
Use valid JSON so tools can parse it. Keep it small:
decisions.md — Status-based decision log
Store all decisions in one file. Do not move decisions between active/archive files. Use status fields instead.
Allowed statuses: Draft, Active, Under Review, Superseded, Retired.
artifacts.json — External references
Track durable references such as Figma files, pages, nodes, specs, prototypes, and code deliverables. Prefer IDs and paths over prose.
sessions/ and archive/
Session summaries are episodic memory. Raw traces and older details belong in archive/, including archive/auto-log/YYYY-MM-DD.md for optional Figma write logs.
Memory Operations
Session start
- Identify the active project slug.
- Read
memory.md. - If the request depends on prior decisions/artifacts, read
manifest.json. - Search or read specific archive files only when pointed to by
memory.md,
manifest.json, or the user's request.
During a session
- Durable project state changed → update
memory.md. - Decision made or changed → append/update an entry in
decisions.md; refresh
manifest.json.activeDecisionIds.
- Artifact created or renamed → update
artifacts.jsonandmanifest.json. - User preference learned → update root
preferences.md. - Reusable pattern learned → update root
patterns.md.
Session end
- Write a concise summary to
sessions/YYYY-MM-DD.md. - Update
memory.mdwith current focus, recent outcome, and next step. - Refresh
manifest.json(updated, topics, active decisions, session count,
important files).
- Compact old sessions into
archive/when they stop being useful individually.
Consolidation
Consolidation is a periodic, file-only maintenance pass that keeps memory lean and background-safe. It is idempotent (running twice changes nothing the second time) and non-destructive (history is moved to archive/, never deleted; decisions change status, never disappear).
Thresholds — read from manifest.json.consolidation, falling back to these defaults when the key is absent:
| Key | Default | Meaning | |
|---|---|---|---|
keepSessions | 5 | Session summaries kept verbatim in sessions/ | |
archiveAfter | 8 | Run the sessions pass once sessions/ exceeds this count | |
staleDecisionDays | 30 | Active decisions older than this are flagged Under Review | |
coreSoftLimit | 130 | memory.md line count that triggers compaction (hard max 150) |
Steps:
- Load
memory.mdandmanifest.json(plus theconsolidationthresholds). - Sessions pass — if the
sessions/count exceedsarchiveAfter, keep the newest
keepSessions verbatim and append the rest to archive/sessions-YYYYMM.md (grouped by each session's own year-month), then delete the rolled-up files. Dedupe repeated outcomes during the roll-up.
- Decisions pass — in
decisions.md: flagActiveentries older thanstaleDecisionDays
as Under Review with a dated note; when a newer decision shares a Topic, mark the older one Superseded + Superseded by: D#; compact Retired/Superseded bodies to a one-line stub (ID, title, status, link).
- Core budget pass — if
memory.mdexceedscoreSoftLimitlines, move overflow detail
into the current session summary or archive/, keeping the canonical sections intact.
- Metadata — revalidate
manifest.jsonandartifacts.jsonas JSON; refreshupdated,
sessionCount, activeDecisionIds, and importantFiles.
- Report — emit a consolidation report (template in
references/memory-formats.md) summarizing what moved, what was flagged, and confirming no data was lost.
Triggers: manual ("consolidate memory"), budget-driven (at session end when sessions/ exceeds archiveAfter or memory.md exceeds coreSoftLimit), or autonomous in a background run.
Size Budgets
| File | Max | Action when exceeded | |
|---|---|---|---|
memory.md | 150 lines | Compress older details into sessions/ or archive/ | |
manifest.json | 80 lines | Remove verbose descriptions; keep pointers only | |
decisions.md | No hard max | Search/read targeted decisions; compact retired details if needed | |
| session summary | 80 lines | Summarize outcomes, decisions, open questions, next step |
Behavioral Rules
- Core stays small.
memory.mdis the only default load and must remain compact. - Status beats file moves. Decisions live in
decisions.md; lifecycle is tracked
with status fields.
- Metadata stays valid.
manifest.jsonandartifacts.jsonmust be valid JSON. - Search before loading archives. Use targeted search for old context.
- No sensitive data. Memory may exist on disk or be committed in examples; do not
store secrets, credentials, personal data, or private customer details.
- Graceful degradation. If memory files do not exist, initialize the core files.
- Tell the user. Briefly mention when memory is loaded, saved, or migrated.
Full templates and examples → references/memory-formats.md
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingextensions/design-jarvis-pack/skills/memory/SKILL.md
Popularity
- Repository stars
- 77
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/renfei-design/design-jarvis/memory)