← ClaudeAtlas

save-skilllisted

Capture a reusable pattern from the current conversation into a local skill file under .claude/skills/local/ — LLM-draft + user-confirm, local-only, never synced. Use when the user says *save-skill, 'save this as a skill', '把这个存成 skill', or wants to keep a just-validated pattern.
Sheldon-92/TAD · ★ 3 · AI & Automation · score 79
Install: claude install-skill Sheldon-92/TAD
# *save-skill — Local Skill Capture ## Purpose Bottom-up, in-the-moment capture: when a conversation just validated a small reusable pattern, `*save-skill` turns it into a persistent, discoverable local skill file under `.claude/skills/local/` — zero ceremony, no framework release. This COMPLEMENTS the Gate 4 Knowledge Assessment / distill loop (framework-level knowledge); it does not replace it. Local skills are project-local tactical patterns, isolated from the TAD distribution chain. 平台绑定交互决策(cross-harness binding):本文件及其 references 中所有 AskUserQuestion 调用是「交互决策契约」而非具体工具——当前 harness 有该工具 (Claude Code)→ 直接调用;无该工具(Codex 等)→ 以编号纯文本列出全部选项 (1. … / 2. … / 3. …)并**停止等待用户输入**,用户以编号或自由文本作答; 禁止代答、禁止把选项折叠成默认值继续执行。SAFETY 门控的调用点(人工审批 / 归档确认 / 权限升级确认类)无论何种 harness 都必须获得真人作答后才能继续。 非交互执行模式(如 codex exec)→ 视为无人可答,按 blocked 停止并上报, 不得自选默认值;已按 YOLO/预授权模式运行且该决策点有书面预授权记录 → 按其协议处理,不适用本条 blocked 分支。 ## Flow Execute these steps in order. Steps 3 and 4 are BLOCKING — never skip them. ### Step 1 — Scan Identify the ONE reusable pattern in the current conversation: - What problem does it solve? - What is the solution? - When to apply it? - When NOT to apply it? If the user gave a hint (`*save-skill <hint>`), scope the scan to that hint. If nothing capturable exists in the conversation, say so and STOP — do not invent a pattern. ### Step 2 — Draft Fill the Local Skill Template (below). Naming rules: - Name MUST be kebab-case matching `[a-z0-9-]+`. - Derive the name from the pattern's TRIGGER