remember
Review auto-memory entries and propose promotions, cleanups, and deduplication across all memory layers.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Review auto-memory entries and propose promotions, cleanups, and deduplication across all memory layers.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Scaffold a new sub-agent JSON file (.koda/agents/<name>.json) with the correct schema, tool scoping, and trust mode.
Scaffold a new bundled skill (.koda/skills/<name>/SKILL.md) with correct frontmatter, tool scoping, and a clear when_to_use trigger.
Diagnose koda issues — checks provider config, API connectivity, settings, and environment.
Review changed code for reuse, quality, and efficiency — then fix any issues found.
Senior code review — finds bugs, anti-patterns, and improvements
Security vulnerability scan — finds vulnerabilities before attackers do
| name | remember |
| description | Review auto-memory entries and propose promotions, cleanups, and deduplication across all memory layers. |
| tags | ["memory","review","cleanup","organisation"] |
| when_to_use | Use when you want to review, organise, or promote auto-memory entries. Also useful for cleaning up outdated or conflicting entries across MEMORY.md, global memory, and auto-memory. |
| allowed_tools | ["Read","Write","Edit","Bash","MemoryRead","MemoryWrite"] |
| user_invocable | true |
Review koda's memory landscape and produce a clear report of proposed changes, grouped by action type. Do NOT apply changes — present proposals for user approval first.
Read every active memory layer:
MEMORY.md — koda nativeCLAUDE.md — Claude Code compatAGENTS.md — Codex compat~/.config/koda/memory.md# Check which project memory file is active
ls MEMORY.md CLAUDE.md AGENTS.md 2>/dev/null | head -1
Success criteria: you have the contents of all three layers and can compare them.
For each substantive entry in auto-memory, determine the best destination:
| Destination | What belongs there | Examples |
|---|---|---|
| MEMORY.md (project) | Project conventions and instructions that all contributors working with koda in this repo should follow | "use cargo nextest not cargo test", "API routes use kebab-case", "always run cargo clippy before committing" |
Global memory (~/.config/koda/memory.md) | Personal preferences specific to this user, not tied to any one project | "I prefer concise responses", "always explain trade-offs", "don't auto-commit", "run tests before committing" |
| Stay in auto-memory | Working notes, temporary context, or entries that don't clearly fit elsewhere | Session-specific observations, uncertain patterns, one-off notes |
Important distinctions:
MEMORY.md and global memory contain instructions for koda, not preferences for external tools (editor theme, IDE keybindings, shell aliases don't belong in either)Success criteria: every entry has a proposed destination, or is flagged as ambiguous.
Scan across all layers for:
MEMORY.md or global memory → propose removing from auto-memoryMEMORY.md or global memory contradicted by newer auto-memory entries → propose updating the older layerSuccess criteria: all cross-layer issues identified.
Output a structured report grouped by action type:
If auto-memory is empty, say so and offer to review MEMORY.md and global memory for stale content.