User has coding style preferences, stack decisions, or patterns they want remembered. Agent learns ONLY from explicit corrections and confirmations, never from observation.
Architecture
Memory lives in ~/coding/ with tiered structure. See memory-template.md for setup.
~/coding/
├── memory.md # Active preferences (≤100 lines)
└── history.md # Archived old preferences
Quick Reference
Topic
File
Categories of preferences
dimensions.md
When to add preferences
criteria.md
Memory templates
memory-template.md
Data Storage
All data stored in ~/coding/. Create on first use:
mkdir -p ~/coding
Scope
This skill ONLY:
Learns from explicit user corrections ("I prefer X over Y")
Stores preferences in local files (~/coding/)
Applies stored preferences to code output
This skill NEVER:
Reads project files to infer preferences
Observes coding patterns without consent
Makes network requests
Reads files outside ~/coding/
Modifies its own SKILL.md
Core Rules
1. Learn from Explicit Feedback Only
User corrects output → ask: "Should I remember this preference?"
User confirms → add to ~/coding/memory.md
Never infer from silence or observation
2. Confirmation Required
No preference is stored without explicit user confirmation:
"Actually, I prefer X" → "Should I remember: prefer X?"
User says yes → store
User says no → don't store, don't ask again
3. Ultra-Compact Format
Keep each entry 5 words max:
python: prefer 3.11+
naming: snake_case for files
tests: colocated, not separate folder
4. Category Organization
Group by type (see dimensions.md):
Stack — frameworks, databases, tools
Style — naming, formatting, comments
Structure — folders, tests, configs
Never — explicitly rejected patterns
5. Memory Limits
memory.md ≤100 lines
When full → archive old patterns to history.md
Merge similar entries: "no Prettier" + "no ESLint" → "minimal tooling"
6. On Session Start
Load ~/coding/memory.md if exists
Apply stored preferences to responses
If no file exists, start with no assumptions
7. Query Support
User can ask:
"Show my coding preferences" → display memory.md
"Forget X" → remove from memory
"What do you know about my Python style?" → show relevant entries
Common Traps
Adding preferences without confirmation → user loses trust
Inferring from project structure → privacy violation
Exceeding 100 lines → context bloat
Vague entries ("good code") → useless, be specific
Security & Privacy
Data that stays local:
All preferences stored in ~/coding/
No telemetry or analytics
This skill does NOT:
Send data externally
Access files outside ~/coding/
Observe without explicit user input
Feedback
If useful: clawhub star coding
Stay updated: clawhub sync
1---2name: coding3description: When to Use4---5## When to Use67User has coding style preferences, stack decisions, or patterns they want remembered. Agent learns ONLY from explicit corrections and confirmations, never from observation.89## Architecture1011Memory lives in `~/coding/` with tiered structure. See `memory-template.md` for setup.1213```14~/coding/15├── memory.md # Active preferences (≤100 lines)16└── history.md # Archived old preferences17```1819## Quick Reference2021| Topic | File |22|-------|------|23| Categories of preferences | `dimensions.md` |24| When to add preferences | `criteria.md` |25| Memory templates | `memory-template.md` |2627## Data Storage2829All data stored in `~/coding/`. Create on first use:30```bash31mkdir -p ~/coding32```3334## Scope3536This skill ONLY:37- Learns from explicit user corrections ("I prefer X over Y")38- Stores preferences in local files (`~/coding/`)39- Applies stored preferences to code output4041This skill NEVER:42- Reads project files to infer preferences43- Observes coding patterns without consent44- Makes network requests45- Reads files outside `~/coding/`46- Modifies its own SKILL.md4748## Core Rules4950### 1. Learn from Explicit Feedback Only51- User corrects output → ask: "Should I remember this preference?"52- User confirms → add to `~/coding/memory.md`53- Never infer from silence or observation5455### 2. Confirmation Required56No preference is stored without explicit user confirmation:57- "Actually, I prefer X" → "Should I remember: prefer X?"58- User says yes → store59- User says no → don't store, don't ask again6061### 3. Ultra-Compact Format62Keep each entry 5 words max:63- `python: prefer 3.11+`64- `naming: snake_case for files`65- `tests: colocated, not separate folder`6667### 4. Category Organization68Group by type (see `dimensions.md`):69- **Stack** — frameworks, databases, tools70- **Style** — naming, formatting, comments71- **Structure** — folders, tests, configs72- **Never** — explicitly rejected patterns7374### 5. Memory Limits75- memory.md ≤100 lines76- When full → archive old patterns to history.md77- Merge similar entries: "no Prettier" + "no ESLint" → "minimal tooling"7879### 6. On Session Start801. Load `~/coding/memory.md` if exists812. Apply stored preferences to responses823. If no file exists, start with no assumptions8384### 7. Query Support85User can ask:86- "Show my coding preferences" → display memory.md87- "Forget X" → remove from memory88- "What do you know about my Python style?" → show relevant entries8990## Common Traps9192- Adding preferences without confirmation → user loses trust93- Inferring from project structure → privacy violation94- Exceeding 100 lines → context bloat95- Vague entries ("good code") → useless, be specific9697## Security & Privacy9899**Data that stays local:**100- All preferences stored in `~/coding/`101- No telemetry or analytics102103**This skill does NOT:**104- Send data externally105- Access files outside `~/coding/`106- Observe without explicit user input107108## Feedback109110- If useful: `clawhub star coding`111- Stay updated: `clawhub sync`
Run npx skillmds@latest add comeonoliver/coding 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.
When to Use It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. 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.
ComeOnOliver (@comeonoliver) published this skill. Their other Agent Skills are listed on their SkillMD profile.