.agents/skills/learn-from-chat/SKILL.md
Capture actionable learnings that emerge during conversation — when the agent or user discovers that a skill, a set of skills, or a process needs to be updated based on what's happening in the current chat. Sub-skill of the learn-from orchestrator. Load when the user says "we should update the skill for this", "this should be a skill rule", "add this as a gotcha", "the skill should know about this", "update the process for this", "learn from this", "remember this for next time", "this is important for the skill". Also triggers when the agent notices a skill's guidance was wrong or incomplete, a process step failed or was unnecessary, a new pattern emerged, a guardrail was missing, a workaround became a pattern, or a debugging session reveals a gap.
npx skillsauth add dvy1987/agent-loom learn-from-chatInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a skill-improvement specialist that captures actionable learnings from the current conversation. Sub-skill of learn-from — inherits shared taxonomy, contradiction protocol, and security requirements from the orchestrator. Unlike other learn-from skills, there is no external source to fetch — the insight comes from what happened in the chat. Credibility is established jointly by the user and agent confirming the learning is real, generalizable, and backed by evidence from practice.
learn-from shared protocol.Identify the learning from conversation context. Formulate clearly:
If the user triggered this explicitly, use their words as the starting point. If the agent noticed it, state what was observed and ask the user to confirm before proceeding.
Assign exactly one classification:
| Tag | When to use |
|-----|-------------|
| GOTCHA | Non-obvious fact that an agent would get wrong without being told |
| TECHNIQUE | A method or pattern that worked and should be reused |
| FAILURE_MODE | A way something went wrong that should become a guardrail |
| METRIC | A quantified result that validates or invalidates a practice |
| CONTRADICTION | Finding directly conflicts with an existing skill's hard rule, workflow, or gotcha |
No BACKGROUND — chat learnings are always actionable or they're not worth capturing.
Scan .agents/skills/*/SKILL.md for affected skills:
If not generalizable → tell the user and suggest project-specific documentation instead. Stop.
Be opinionated. If it happened once in an unusual context, recommend NOT updating the skill and explain why: "This appears situational — [reason]. Recommend: don't modify the skill. Log as observation only."
Show the user:
═══ Chat Learning ═══
Discovered: [one-sentence insight]
Evidence: [what happened]
Classification: [GOTCHA / TECHNIQUE / FAILURE_MODE / METRIC / CONTRADICTION]
Affected: [skill-name(s)]
═══ Proposed Changes ═══
[skill-name]:
Section: [which section]
Change: [exact diff-style change — lines to add/modify/remove]
For CONTRADICTION, present per learn-from shared protocol (side-by-side + resolution options).
State your recommendation clearly. If the current skill approach is sound and the chat evidence is from one instance, defend the current approach: "The current skill guidance is well-founded — [reason]. One instance doesn't justify changing it. Recommend: KEEP CURRENT."
With explicit user approval:
compress-skill / split-skill.## Gotchas, FAILURE_MODEs as guardrails to ## Hard Rules or ## Gotchas, TECHNIQUEs to ## Workflow steps.learn-from shared protocol.metadata.version on each modified skill.Discovered during [brief context description], [YYYY-MM-DD]validate-skills on every modified skill. Must score ≥10/14.Append to docs/research-learnings/chat-learnings.md:
## [YYYY-MM-DD] — [one-line summary]
- **Classification:** [tag]
- **Evidence:** [what happened]
- **Skills modified:** [list]
- **Changes:** [brief description of what was added/changed]
Create the file if it doesn't exist. Tell user: "Logged in docs/research-learnings/chat-learnings.md."
═══ Proposed Changes ═══ compress-skill: Section: ## Gotchas Change:
references/ must have a specific load trigger in the workflow — "see references/" is not sufficient.Awaiting your approval to apply. </output> </example> </examples>
After completing, always report:
Chat learning captured: [YYYY-MM-DD]
Discovered: [one-sentence insight]
Classification: [tag] | Generalizable: [yes/no]
Skills modified: [list] | Contradictions resolved: [N]
validate-skills: [skill]: [before] → [after]
Logged: docs/research-learnings/chat-learnings.md
development
Run a fast, read-only health check across all skills in the library and produce a structured quality report — without modifying anything. Load when the user asks to validate skills, check skill health, audit the library, run a skill quality check, or when improve-skills needs a pre-flight before starting its cycle. Also triggers on "what's wrong with my skills", "check all skills", "skill health report", "are my skills ok", or "pre-flight check". Called automatically by improve-skills before any improvement work begins, and by universal-skill-creator after every new skill is created. Never modifies any file — only reads and reports.
tools
Design, build, validate, and ship production-grade agent skills that work across OpenAI Codex, Ampcode, Factory.ai Droids, Google Gemini, Warp, Bolt.new, Replit, GitHub Copilot, Claude Code, VS Code, Cursor, and any agentskills.io compliant platform. Load when the user asks to create a skill, build a custom skill, write a SKILL.md, package instructions as a reusable agent capability, convert a workflow into a skill, improve or audit an existing SKILL.md, generate a meta-skill, make a cross-platform skill, turn a repeated task into automation, or design agent skills that target multiple AI coding tools simultaneously. Also load for skill stacking, skill scoping, skill discovery, parameterized skills, skill publishing to GitHub or skills.sh, or when the user says skill creator, skill architect, or skill engineer.
tools
Identify the right tool for a process step. Load when a user or skill needs to check tool availability, confirm CLI compatibility, or determine if an MCP server is needed. Triggers on "what tool", "do I need an MCP", "is [tool] available", "which tool handles", "tool lookup", "check tool availability", "find a tool for". Called by process-decomposer and agent-builder when assigning tools to steps.
development
Apply the Red-Green-Refactor cycle to software development. Load when the user asks to write code using TDD, create unit tests, implement a feature with test coverage, refactor code, or ensure software quality through automated testing. Also triggers on "test-driven development", "write tests first", "TDD this feature", "Red-Green-Refactor", "ensure 100% test coverage", or any request to build software with a test-first approach. Supports unit, integration, and end-to-end testing strategies.