Internal skill. Use cc10x-router for all development tasks.
View on GitHubSelect agents to install to:
npx add-skill https://github.com/romiluz13/cc10x/blob/main/plugins/cc10x/skills/session-memory/SKILL.md -a claude-code --skill session-memoryInstallation paths:
.claude/skills/session-memory/# Session Memory (MANDATORY) ## The Iron Law ``` EVERY WORKFLOW MUST: 1. LOAD memory at START (and before key decisions) 2. UPDATE memory at END (and after learnings/decisions) ``` ### READ Side (Equally Important) **If memory is not loaded:** You work blind, repeat mistakes, lose context. **If decisions made without checking memory:** You contradict prior choices, waste effort. ### WRITE Side **If memory is not updated:** Next session loses everything learned. **If learnings not recorded:** Same mistakes will be repeated. **BOTH SIDES ARE NON-NEGOTIABLE.** ## Permission-Free Operations (CRITICAL) **ALL memory operations are PERMISSION-FREE using the correct tools.** | Operation | Tool | Permission | |-----------|------|------------| | Create memory directory | `Bash(command="mkdir -p .claude/cc10x")` | FREE | | **Read memory files** | `Read(file_path=".claude/cc10x/activeContext.md")` | **FREE** | | **Create NEW memory file** | `Write(file_path="...", content="...")` | **FREE** (file doesn't exist) | | **Update EXISTING memory** | `Edit(file_path="...", old_string="...", new_string="...")` | **FREE** | | Save plan/design files | `Write(file_path="docs/plans/...", content="...")` | FREE | ### CRITICAL: Write vs Edit | Tool | Use For | Asks Permission? | |------|---------|------------------| | **Write** | Creating NEW files | NO (if file doesn't exist) | | **Write** | Overwriting existing files | **YES - asks "Do you want to overwrite?"** | | **Edit** | Updating existing files | **NO - always permission-free** | **RULE: Use Write for NEW files, Edit for UPDATES.** ### CRITICAL: Use Read Tool, NOT Bash(cat) **NEVER use Bash compound commands** (`mkdir && cat`) - they ASK PERMISSION. **ALWAYS use Read tool** for reading files - it's PERMISSION-FREE. ``` # WRONG (asks permission - compound Bash command) mkdir -p .claude/cc10x && cat .claude/cc10x/activeContext.md # RIGHT (permission-free - separate tools) Bash(command="mkdir -p .claude/cc10x") Read(file_p