self-rule-extraction
100 / 100 · Low risk
Fine to try.
Mine session history for recurring mistakes and distill them into short CLAUDE.md rules. Use when asked to 'rút rule', 'tự rút rule', 'extract rules from sessions', 'lỗi lặp đi lặp lại', 'review past sessions for mistakes', 'optimize CLAUDE.md from history', 'gom lỗi thành rule', or 'what do I keep fixing'. Do NOT use for: generating a CLAUDE.md from scratch — see claude-md-enhancer. Do NOT use for: one-off retrospectives — see session-wrap.
What this skill can do
We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'self-rule-extraction' ] || [ -L ~/.agents/skills/'self-rule-extraction' ]; then echo 'A skill folder named self-rule-extraction already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/yanacuti1121/Yana-AI' "$d" && git -C "$d" checkout --quiet '54d4aa9fa3241319f4d37212bd23826658bf6bed' -- '.claude/skills/self-rule-extraction' && mkdir -p ~/.agents/skills && cp -R "$d"/'.claude/skills/self-rule-extraction' ~/.agents/skills/'self-rule-extraction' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'self-rule-extraction' ~/.claude/skills/'self-rule-extraction' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/yanacuti1121/Yana-AI/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-13 | 54d4aa9 | 100 |
| 2026-11-08 | 4a78f20 | 100 |
Also found in
- yanacuti1121/Yana-AI/core/skills/self-rule-extraction