/workflow:learnfrom workflow
Updates project CLAUDE.md with strategic knowledge discovered during a session, routing per-developer discoveries to CLAUDE.local.md when that file exists.
Ships in workflow. 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.
Review the current conversation history and identify strategic, reusable project knowledge that should be captured in the project CLAUDE.md file. When the project has opted into Claude Code's three-tier memory convention by creating CLAUDE.local.md, route genuinely personal or environment-specific discoveries there instead.
Review Session History
Extract Strategic Knowledge
Categorize Findings
This skill writes to one of two files in the project root:
CLAUDE.md (project memory, committed, team-shared) — the default destination. Use for architecture, conventions, integration patterns, and any other knowledge useful to the whole team.
CLAUDE.local.md (local memory, gitignored personal overrides) — used only when both conditions hold:
CLAUDE.local.md already exists in the project (the project has opted into the three-tier memory convention).Counter-example: "We keep credentials in ~/.aws/credentials" mentions a user-home path but describes a team-wide convention — the path is illustrative, not per-developer state. Such notes belong in project CLAUDE.md. When in doubt about whether a discovery is genuinely personal, default to project CLAUDE.md.
This skill never writes to the user's global ~/.claude/CLAUDE.md (user memory) — only reads it to avoid duplicating cross-project knowledge.
Default for ambiguous cases: project CLAUDE.md. Leaking personal config into a committed file is a loud error that reviewers catch quickly; hiding project-wide knowledge in a gitignored personal file is a silent error that rots over time.
INCLUDE - Strategic discoveries from this session:
EXCLUDE - Session-specific tactical work:
Ask yourself for each discovery:
Before applying the routing rules below, scan the project's root CLAUDE.md, any .claude/rules/*.md files, the user's global ~/.claude/CLAUDE.md, and any ~/.claude/rules/*.md files for documented memory-placement guidance — for example, a placement decision tree, an instruction to use a project-specific triage command, or specific destinations beyond CLAUDE.md / CLAUDE.local.md. If such guidance exists, defer to it: follow the documented workflow or place each discovery according to its rules instead of using this skill's defaults. The remaining steps apply only when no such guidance is found.
Read the current content of project CLAUDE.md, CLAUDE.local.md (if present), and the user's global ~/.claude/CLAUDE.md to avoid duplication — including cross-project entries already captured in user memory.
If no new strategic knowledge was discovered during this session:
For each discovery, determine its destination per the Destinations rules: default to project CLAUDE.md, and route to CLAUDE.local.md only when both file-exists and personal-content criteria are met (and the counter-example caveat doesn't apply).
Present discovered knowledge formatted for the chosen destination, tagging each block with its inferred file:
## [Section Name] → project CLAUDE.md
- Discovery 1
- Discovery 2
CRITICAL: Use AskUserQuestion tool for granular selection of what to save.
Build options dynamically based on discoveries:
Example with 3 discoveries (2 project, 1 personal):
question: "Which knowledge should I save?"
options:
- label: "All (3 items)"
description: "Save all discovered patterns to their inferred destinations"
- label: "Service discovery pattern → project CLAUDE.md"
description: "Project-wide convention for how modules find each other"
- label: "Local toolchain variant → CLAUDE.local.md"
description: "Per-checkout build runner override (only relevant on this machine)"
- label: "None"
description: "Skip saving, nothing worth keeping"
Example with 1 discovery:
question: "Save this knowledge?"
options:
- label: "Yes → project CLAUDE.md"
description: "Save: [brief description of the discovery]"
- label: "No"
description: "Skip saving"
After user selection:
"Other" does NOT redirect a destination to an arbitrary path. To override a routing decision, the user should decline the auto-classification, edit the destination file manually, or re-invoke the skill with explicit instructions.CLAUDE.local.md, or user CLAUDE.md contentWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
knowledge-capture, project-memory, session-summary, claude-md
npx claudepluginhub umputun/cc-thingz --plugin workflow6 skills in this plugin
/backlogRead, work, and maintain a Git repo's deferred-work items in docs/backlog/, one file per item. Use when the user says "backlog", "check backlog", "what's on my backlog", "work the backlog", "address the backlog", "add to backlog", "clean up backlog", or when a review or task produced items that are real but not being fixed now. Owns the item format and the create-then-delete lifecycle./clarifyThis skill should be used when user appears confused, frustrated, or shows misalignment between expectations and reality. Triggers on phrases like "I don't understand", "this doesn't make sense", "confused", "wait, shouldn't it...", "why is this happening", "I thought X did Y", contradictory statements, or frustration signals. Analyzes the confusion, explains the actual behavior, and determines if there's a real issue to address./md-copyFormat final answer as markdown and copy to clipboard. Use when user says "copy as markdown", "md copy", "copy formatted", "clipboard", or wants the session's final answer formatted and copied./txt-copyCopy generated text content to clipboard. Use when user asks to "copy this", "copy to clipboard", "save to clipboard", or after creating emails, messages, letters, or other text content that needs to be shared./wrongReset and re-evaluate when current approach isn't working. Use when user says "wrong", "this isn't working", "wrong approach", "start over", "try again", "bad direction", or when the current solution path has hit a dead end and needs a fresh perspective.Other plugins' skills for the same job