patterns: ## Common Gotchas, ## Project SKILL_HINTS
progress: ## Completed, ## Verification
Read-Edit-Verify Pattern
Read file
Verify anchor exists
Edit with exact old_string
Read back to confirm
Tool Rules
Use Write() for NEW files (permission-free)
Use Edit() for EXISTING files (permission-free)
Never use Write() to overwrite existing files
Never compound commands (mkdir && cat)
When to Use
At the start of every CC10X workflow (load)
At the end of every CC10X workflow (update)
Before making key decisions (check patterns)
After discovering learnings or gotchas (persist)
Agents Used
All CC10X agents use this skill. The cc10x-router manages load/update lifecycle.
1---2name: session-memory3description: Iron Law4---56## Iron Law78EVERY WORKFLOW MUST:91. LOAD memory at START (and before key decisions)102. UPDATE memory at END (and after learnings/decisions)1112## Stable Edit Anchors1314Safe section headers for Edit operations:15- activeContext: `## Recent Changes`, `## Learnings`, `## References`16- patterns: `## Common Gotchas`, `## Project SKILL_HINTS`17- progress: `## Completed`, `## Verification`1819## Read-Edit-Verify Pattern20211. Read file222. Verify anchor exists233. Edit with exact `old_string`244. Read back to confirm2526## Tool Rules2728- Use `Write()` for NEW files (permission-free)29- Use `Edit()` for EXISTING files (permission-free)30- Never use `Write()` to overwrite existing files31- Never compound commands (`mkdir && cat`)3233## When to Use3435- At the start of every CC10X workflow (load)36- At the end of every CC10X workflow (update)37- Before making key decisions (check patterns)38- After discovering learnings or gotchas (persist)3940## Agents Used4142All CC10X agents use this skill. The cc10x-router manages load/update lifecycle.
Run npx skillmds@latest add a5c-ai/session-memory in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Iron Law It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: CAUTION, Skill Scanner: PASS. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
a5c-ai (@a5c-ai) published this skill. Their other Agent Skills are listed on their SkillMD profile.