# Ask Skill Capture

> Capture conversation lessons as permanent reusable skill files.

- Skill: `navanithans/ask-skill-capture` (Agent Skill, multi-file: 5 files)
- Install (CLI): `npx skillmds@latest add navanithans/ask-skill-capture`
- Raw SKILL.md: https://api.skillmd.com/api/skills/navanithans/ask-skill-capture/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: NavanithanS (https://skillmd.com/u/navanithans)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/navanithans/ask-skill-capture

---


<critical_constraints>
❌ NO saving without user verification
✅ MUST analyze last 10-20 turns for lessons
✅ MUST use standard SKILL.md format with frontmatter
✅ MUST present draft for user approval before saving
</critical_constraints>

<workflow>
1. **Extract**: Review recent conversation for:
   - Constraints: "Don't do X", "Always do Y"
   - Patterns: file structures, naming conventions
   - Tools: specific libraries used
2. **Draft**: Generate SKILL.md with constraints/workflow
3. **Verify**: Ask user to confirm versions/commands
4. **Save**: Write to `.agent/skills/<name>/SKILL.md`
</workflow>

<template>
```markdown
---
name: <skill-name>
description: <One sentence summary>
triggers: ["phrase1", "phrase2"]
---

<critical_constraints>
❌ NO [forbidden pattern]
✅ MUST [required action]
</critical_constraints>

<workflow>
1. Step one
2. Step two
</workflow>
```
</template>

<example>
User: "Capture this as deploy-protocol"
Agent extracts: use force:true, check dist/ folder
Creates: deploy-protocol skill with those as rules
</example>

