/samocode:learnfrom samocode
Extracts durable lessons from conversation, classifies them, and routes each to the narrowest enforceable code, test, skill, or scoped instruction source — never accumulating a generic CLAUDE.md dump.
Ships in samocode. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Turn repeated friction into durable, scoped improvements. Do not treat every incident as standing prompt context.
Extract candidates
No new learnings to capture. and stop.Load the instruction architecture
Working Dir, or use git rev-parse --show-toplevel.AGENTS.md, CLAUDE.md, rule-loading tables, scoped rules, and the active skill before choosing a destination.Qualify each candidate
Choose exactly one destination
Pass the mandatory duplicate gate before writing
Merge instead of append
## Learnings section automatically.Validate routing
Commit only when appropriate
Report dispositions
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (yuvasee/samocode) — no native marketplace selected
npx claudepluginhub p/yuvasee-samocode20 skills in this plugin
/claudeRun Anthropic Claude CLI as a subagent for second opinions, code reviews, and questions. Use from a Codex (or other) session when you want Claude's perspective./code-clarityReview changed code for human comprehension cost — names, local reasoning, hidden state, working-memory load — and report findings with an impact/cost/risk assessment table. Review-only; never modifies code. Use when asked for a clarity review, readability review, comprehension-cost analysis of a diff/PR, or when running /code-clarity. Works in Claude Code and Codex./codexRun OpenAI Codex CLI as a subagent for second opinions, code reviews, and questions. Use when you want a different AI model's perspective./comment-hygieneCurate source-code comments and docstrings — delete AI-slop and stale comments, keep only the non-obvious WHY, and never change executable code. Use when cleaning up comments/docstrings, during a samocode cleanup or quality-review step, when running /comment-hygiene, or when reviewing a diff for comment quality. Works in Claude Code and Codex./companionStart and supervise Samocode while the parent does independent scoped work and maintains a human-readable HTML explanation in the session. Use when asked to run Samocode with a live walkthrough, companion, or parallel parent work; not for a standalone status query./create-pr-commentsCreate GitHub PR review comments from review findings. Use after running a code review to post findings as line-bound comments.Other plugins' skills for the same job