一键导入
memory-init
Initialize the ConKeeper memory system for the current project. Creates the directory structure and starter files for persistent AI context.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Initialize the ConKeeper memory system for the current project. Creates the directory structure and starter files for persistent AI context.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
View and modify ConKeeper memory configuration settings. Use to adjust token budget, output style, and other preferences after memory initialization.
Initialize the file-based memory system for the current project. Creates the directory structure and starter files. Use when starting organized work on a new project.
Analyze session friction trends, success rates, and satisfaction patterns across sessions using Claude Code facets data. Read-only query tool for on-demand trend analysis.
Session retrospection using After Action Review methodology. Analyzes corrections, observations, and session activity to produce improvement recommendations. Use at end of sessions or after /memory-sync.
Search memory files for keywords, patterns, or categories. Returns structured results grouped by file with context.
Synchronize current session state to memory files. Reviews conversation, updates relevant files, and confirms changes. Use at end of sessions or when significant progress has been made.
| name | memory-init |
| description | Initialize the ConKeeper memory system for the current project. Creates the directory structure and starter files for persistent AI context. |
Initialize ConKeeper's file-based memory system for this project.
.claude/memory/ already exists
mkdir -p .claude/memory/decisions
mkdir -p .claude/memory/sessions
Ask user (or infer from codebase):
product-context.md - Populate with gathered info:
# Product Context
## Project Overview
<!-- What is this project? What problem does it solve? -->
## Architecture
<!-- High-level architecture description -->
## Key Stakeholders
<!-- Who uses this? Who maintains it? -->
## Constraints
<!-- Technical, business, or regulatory constraints -->
## Non-Goals
<!-- What this project explicitly doesn't do -->
---
*Last updated: [date] by Codex*
active-context.md - Set current focus:
# Active Context
## Current Focus
<!-- What are we working on right now? -->
## Recent Decisions
<!-- Decisions made in recent sessions -->
## Open Questions
<!-- Unresolved questions that need answers -->
## Blockers
<!-- What's preventing progress? -->
---
*Session: [date]*
progress.md - Initialize with known tasks:
# Progress Tracker
## In Progress
- [ ] [Initial task if known]
## Completed (Recent)
<!-- Recently completed items -->
## Backlog
<!-- Future tasks -->
---
*Last updated: [date]*
patterns.md - Document code patterns:
# Project Patterns
## Code Conventions
<!-- Coding standards and conventions -->
## Architecture Patterns
<!-- Recurring architectural patterns -->
## Testing Patterns
<!-- Testing conventions -->
---
*Last updated: [date]*
glossary.md - Project terminology:
# Project Glossary
## Terms
| Term | Definition |
|------|------------|
<!-- Add project-specific terminology -->
## Abbreviations
| Abbrev | Expansion |
|--------|-----------|
<!-- Add common abbreviations -->
---
*Last updated: [date]*
Ask user:
What token budget preset would you like?
- Economy (~2000 tokens): Minimal context, fast loading
- Light (~3000 tokens): Smaller projects, lighter footprint
- Standard (~4000 tokens): Balanced for most projects (default)
- Detailed (~6000 tokens): Comprehensive context, rich handoffs
Create .claude/memory/.memory-config.md with their choice:
---
token_budget: standard
---
If user accepts default (Standard), this file can be omitted.
Ask user:
Should
.claude/memory/be tracked in git?
- Yes: Memory persists with repo (recommended for solo projects)
- No: Add to .gitignore (recommended for shared repos)
If no:
grep -qxF '.claude/memory/' .gitignore 2>/dev/null || echo '.claude/memory/' >> .gitignore
Output summary:
Memory initialized for [project-name]
- Product context: [summary]
- Current focus: [focus]
- Token budget: [economy/light/standard/detailed]
- Git tracking: [yes/no]
Use memory-sync to update memory as you work.