skill-trainer

Extract actionable learnings from git diffs and session history into agent skill entries.

18|3|Updated Dec 14, 2025
One-click install
npx skills add https://github.com/SaadhJawwadh/Note-taking --skill skill-trainer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-trainer
Source: https://github.com/SaadhJawwadh/Note-taking/tree/main/.agent/skills/skill-trainer
Command: npx skills add https://github.com/SaadhJawwadh/Note-taking --skill skill-trainer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Skill-trainer prevents the agent from repeating past mistakes by turning recent fixes and workflow outcomes into durable, updated skill instructions.

Core Features & Use Cases

  • Extracts actionable learnings: Converts recent session activity (e.g., bug fixes, refactors, workflow executions) into a concise capability update.
  • Updates the closest existing skill: Finds the most relevant skill under .agent/skills/ and injects new guidance to reduce future errors.
  • Creates a new minimal skill when needed: Adds a new skill directory with a clear description when no existing skill matches the domain.
  • Enforces consent-first deployment safety: Ensures deployment/management steps require explicit user consent before any git commit, git tag, or git push.

Quick Start

Use the skill-trainer to analyze the latest git diff and session results, then update or create the appropriate .agent/skills/<skill-name>/SKILL.md to capture what changed and why.

Frequently Asked Questions about skill-trainer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update agent skills from recent git diffs and chat history?

To prevent repeated mistakes across agent workflows, the skill-trainer distills actionable learnings from git diffs and chat history, then injects new guidance into the most relevant SKILL.md file. It captures troubleshooting fixes and refactor outcomes to improve future task handling.

Can I create a new agent skill directory when no existing skill matches the domain?

Yes, the skill-trainer creates a minimal new skill directory under .agent/skills/ with a clear description when no existing SKILL.md matches the domain. This ensures new learnings from git diffs are captured even if no prior skill structure exists for that workflow.

Does updating agent skills require explicit user consent for git commit and push operations?

Yes, the skill-trainer enforces consent-based deployment safety, mandating explicit user consent before executing any git commit, git tag, or git push operations. This guardrail prevents unauthorized repository changes during skill updates.

What is knowledge distillation for agent workflow adjustments and CI/CD fixes?

Knowledge distillation for agent workflows extracts actionable learnings from recent git diffs and executed commands. The skill-trainer converts CI/CD adjustments and troubleshooting outcomes into durable skill instructions within SKILL.md files to prevent similar future mistakes.

What are the limitations of automated agent skill updates from session history?

The main limitation of automated agent skill updates is the strict consent-based deployment requirement. The skill-trainer cannot autonomously execute git commit, tag, or push operations, requiring manual user approval for all deployment steps after updating the SKILL.md files.