askill
skill-capture

skill-captureSafety 95Repository

Captures and formalizes reusable knowledge, methods, or lessons from the current conversation. Trigger when the user signals a solution was difficult, expresses a desire to remember a workflow, highlights a "useful" finding, or asks to consolidate insights (e.g., "what did we learn?"). Also trigger when an agent discovers implicit conventions, formatting rules, or undocumented constraints during artifact creation or troubleshooting. Use to convert ad-hoc problem-solving into structured, reusable skills.

1 stars
1.2k downloads
Updated 2/13/2026

Package Files

Loading files...
SKILL.md

Skill Learning

Detect, evaluate, and suggest reusable method candidates that emerge from active work. Turns implicit expertise used during a task into explicit, shared organizational knowledge.


When to Use This Skill

  • After completing a complex multi-step task that required novel reasoning
  • During retrospectives on effort-heavy investigations or implementations
  • When the same method pattern appears across multiple tasks
  • When evaluating whether a workflow should be formalized as a skill
  • Periodically, to audit accumulated context for extraction opportunities

Methodology

Phase 1: Context Mining

Scan the current working context for repeatable method patterns. Look for:

SignalWhat It Indicates
Multi-step reasoning applied to solve a problemPotential methodology skill
Decision tree or heuristic constructed ad-hocPotential decision framework skill
Checklist mentally followed during a taskPotential validation/quality skill
Same approach used across 2+ different tasksHigh-value extraction candidate
Complex domain knowledge synthesized from researchPotential reference/guide skill
Effort-heavy investigation with transferable findingsKnowledge worth preserving

Output: A list of 1-5 skill candidates, each described in one sentence.

Phase 2: Duplicate Check

For each candidate, verify it doesn't already exist:

  1. Compare candidate name against existing skill names (exact and synonym match)
  2. Compare candidate purpose against existing skill descriptions (semantic overlap)
  3. Check if an existing skill partially covers the candidate's scope

Decision table:

FindingAction
Exact name match exists❌ Drop — already exists
Description overlap > 70% with existing skill❌ Drop — already covered
Partial overlap (30-70%) with existing skill⚠️ Flag as potential extension to existing skill
No meaningful overlap✅ Proceed to evaluation

IMPORTANT: Do NOT load full skill files during this phase — compare names and descriptions only. Full skill loading wastes context budget when most candidates will be filtered out.

Phase 3: Candidate Evaluation

Score each surviving candidate on three dimensions:

3a. Effort Capitalization

How much effort was spent discovering/applying this method?

Effort LevelScoreIndicators
High3Multi-step investigation, research, trial-and-error, >30 min equivalent
Medium2Structured reasoning, some research, 10-30 min equivalent
Low1Quick application of known patterns, <10 min equivalent

Higher effort = more value in capturing it so it's not repeated.

3b. Usage Frequency

How often would this skill be applied across future tasks?

FrequencyScoreIndicators
Recurring3Applies to a common task type (testing, debugging, reviewing, etc.)
Periodic2Applies to tasks that occur regularly but not frequently
Rare1Applies to niche or one-off scenarios

3c. Portability

How many different agents/contexts could benefit?

PortabilityScoreIndicators
Universal3Any agent could use this method
Multi-agent22-3 specific agent types would benefit
Single-agent1Only useful for one specific agent type

Scoring Decision

Total Score (3-9)Recommendation
7-9Learn — High-value skill worth creating
4-6⚠️ Consider — Useful but weigh against skill count overhead
1-3Skip — Not worth formalizing

Phase 4: User Presentation

Present evaluated candidates to the user for confirmation. Apply prompt-interaction-design patterns:

For 1-3 candidates: Yes/No per candidate with evaluation summary

**Skill Candidates Detected**

Based on the work done, these methods could be extracted as reusable skills:

1. **{Candidate Name}** — {one-line purpose}
   - Effort: {High|Medium|Low} | Frequency: {Recurring|Periodic|Rare} | Portability: {Universal|Multi|Single}
   - Score: {N}/9 → {Learn|Consider|Skip}
   - Create this skill? **Yes / No**

2. **{Candidate Name}** — {one-line purpose}
   ...

For 4+ candidates: Multi-select checklist

**Skill Candidates Detected**

Select which skills to create:

- [ ] **{Candidate Name}** (score {N}/9) — {one-line purpose}
- [ ] **{Candidate Name}** (score {N}/9) — {one-line purpose}
- [ ] **{Candidate Name}** (score {N}/9) — {one-line purpose}
- [ ] **{Candidate Name}** (score {N}/9) — {one-line purpose}

For candidates flagged as extensions: Suggest extending instead of creating

- **{Candidate Name}** — overlaps with existing `{skill-name}` skill
  - Recommendation: Extend `{skill-name}` rather than creating new skill
  - Extend? **Yes / No**

Anti-Patterns

  • Premature extraction — Creating a skill after seeing a pattern once. Wait for the second occurrence or high effort capitalization score.
  • Full skill loading during duplicate check — Wastes context budget. Names and descriptions are sufficient for Phase 2.
  • Kitchen-sink skills — Bundling unrelated methods into one skill because they came from the same task. Each skill should teach one cohesive method.
  • Agent-specific skills — Extracting a method only one agent would ever use. That belongs inline in the agent, not as a skill.
  • Skipping user confirmation — Always present candidates for approval before creating skill files.
  • Manual registry updates — Searching for or updating a skill catalog after creating a skill. There is no skill registry. Skills are auto-discovered by VS Code's native progressive disclosure: the <skill> tags in system context are populated from .github/skills/*/SKILL.md frontmatter at runtime. Creating the file in the right directory is the only registration step.
  • Effort-aware extraction — Prioritize capturing methods that required significant effort to discover, even if usage frequency is moderate.

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

78/100Analyzed 2/19/2026

Highly structured meta-skill for capturing reusable knowledge with excellent methodology (4 phases), clear scoring system, and practical templates. Well-suited for teams wanting to formalize learning. Slight penalty for .github path suggesting internal focus, but content quality is strong with good actionability, clarity, and safety practices.

95
90
75
85
90

Metadata

Licenseunknown
Version-
Updated2/13/2026
PublisherfaroukBakari

Tags

githubgithub-actionsprompting