[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75DM29HZ5BRCJTYB9EXNXZ0":3,"skill-same:01M75DM29HZ5BRCJTYB9EXNXZ0":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M75DM29HZ5BRCJTYB9EXNXZ0","extract",null,"Turn a proven pattern or debugging solution into a standalone reusable skill with SKILL.md, reference docs, and examples.","agisota\u002Fold-one","agisota","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F121413592?v=4","01M75B4BRNT67EC1NDRT8QZEP2","01M75B4BS7QR9VP580MSCPTS3X",3,"MIT","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fextract\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: \"extract\"\ndescription: \"Turn a proven pattern or debugging solution into a standalone reusable skill with SKILL.md, reference docs, and examples.\"\n---\n\n# \u002Fsi:extract — Create Skills from Patterns\n\nTransforms a recurring pattern or debugging solution into a standalone, portable skill that can be installed in any project.\n\n## Usage\n\n```\n\u002Fsi:extract \u003Cpattern description>                  # Interactive extraction\n\u002Fsi:extract \u003Cpattern> --name docker-m1-fixes       # Specify skill name\n\u002Fsi:extract \u003Cpattern> --output .\u002Fskills\u002F            # Custom output directory\n\u002Fsi:extract \u003Cpattern> --dry-run                     # Preview without creating files\n```\n\n## When to Extract\n\nA learning qualifies for skill extraction when ANY of these are true:\n\n| Criterion | Signal |\n|---|---|\n| **Recurring** | Same issue across 2+ projects |\n| **Non-obvious** | Required real debugging to discover |\n| **Broadly applicable** | Not tied to one specific codebase |\n| **Complex solution** | Multi-step fix that's easy to forget |\n| **User-flagged** | \"Save this as a skill\", \"I want to reuse this\" |\n\n## Workflow\n\n### Step 1: Identify the pattern\n\nRead the user's description. Search auto-memory for related entries:\n\n```bash\nMEMORY_DIR=\"$HOME\u002F.claude\u002Fprojects\u002F$(pwd | sed 's|\u002F|%2F|g; s|%2F|\u002F|; s|^\u002F||')\u002Fmemory\"\ngrep -rni \"\u003Ckeywords>\" \"$MEMORY_DIR\u002F\"\n```\n\nIf found in auto-memory, use those entries as source material. If not, use the user's description directly.\n\n### Step 2: Determine skill scope\n\nAsk (max 2 questions):\n- \"What problem does this solve?\" (if not clear)\n- \"Should this include code examples?\" (if applicable)\n\n### Step 3: Generate skill name\n\nRules for naming:\n- Lowercase, hyphens between words\n- Descriptive but concise (2-4 words)\n- Examples: `docker-m1-fixes`, `api-timeout-patterns`, `pnpm-workspace-setup`\n\n**Reserved fragments — must NOT appear in the skill name:**\n- `claude`\n- `anthropic`\n\nFor skills about Claude Code itself, use the `cc-` prefix instead:\n- ❌ `claude-code-settings` → ✅ `cc-settings`\n- ❌ `claude-code-maintenance` → ✅ `cc-maintenance`\n- ❌ `claude-mcp-tools` → ✅ `cc-mcp-tools`\n- ❌ `claude-plugin-development` → ✅ `cc-plugin-development`\n\nBefore writing the skill directory, check the proposed name against this list.\nIf a reserved fragment is present, transform it (drop the fragment or replace\nthe `claude*`\u002F`anthropic*` prefix with `cc-`) and confirm with the user.\n\n### Step 4: Create the skill files\n\n**Spawn the `skill-extractor` agent** for the actual file generation.\n\nThe agent creates:\n\n```\n\u003Cskill-name>\u002F\n├── SKILL.md            # Main skill file with frontmatter\n├── README.md           # Human-readable overview\n└── reference\u002F          # (optional) Supporting documentation\n    └── examples.md     # Concrete examples and edge cases\n```\n\n### Step 5: SKILL.md structure\n\nThe generated SKILL.md must follow this format:\n\n```markdown\n---\nname: \"skill-name\"\ndescription: \"\u003Cone-line description>. Use when: \u003Ctrigger conditions>.\"\n---\n\n# \u003CSkill Title>\n\n> One-line summary of what this skill solves.\n\n## Quick Reference\n\n| Problem | Solution |\n|---------|----------|\n| {{problem 1}} | {{solution 1}} |\n| {{problem 2}} | {{solution 2}} |\n\n## The Problem\n\n{{2-3 sentences explaining what goes wrong and why it's non-obvious.}}\n\n## Solutions\n\n### Option 1: {{Name}} (Recommended)\n\n{{Step-by-step with code examples.}}\n\n### Option 2: {{Alternative}}\n\n{{For when Option 1 doesn't apply.}}\n\n## Trade-offs\n\n| Approach | Pros | Cons |\n|----------|------|------|\n| Option 1 | {{pros}} | {{cons}} |\n| Option 2 | {{pros}} | {{cons}} |\n\n## Edge Cases\n\n- {{edge case 1 and how to handle it}}\n- {{edge case 2 and how to handle it}}\n```\n\n### Step 6: Quality gates\n\nBefore finalizing, verify:\n\n- [ ] SKILL.md has valid YAML frontmatter with `name` and `description`\n- [ ] `name` matches the folder name (lowercase, hyphens)\n- [ ] `name` does NOT contain reserved fragments `claude` or `anthropic` (use `cc-` prefix for Claude Code skills)\n- [ ] Description includes \"Use when:\" trigger conditions\n- [ ] Solutions are self-contained (no external context needed)\n- [ ] Code examples are complete and copy-pasteable\n- [ ] No project-specific hardcoded values (paths, URLs, credentials)\n- [ ] No unnecessary dependencies\n\n### Step 7: Report\n\n```\n✅ Skill extracted: {{skill-name}}\n\nFiles created:\n  {{path}}\u002FSKILL.md          ({{lines}} lines)\n  {{path}}\u002FREADME.md         ({{lines}} lines)\n  {{path}}\u002Freference\u002Fexamples.md  ({{lines}} lines)\n\nInstall: \u002Fplugin install (copy to your skills directory)\nPublish: clawhub publish {{path}}\n\nSource: MEMORY.md entries at lines {{n, m, ...}} (retained — the skill is portable, the memory is project-specific)\n```\n\n## Examples\n\n### Extracting a debugging pattern\n\n```\n\u002Fsi:extract \"Fix for Docker builds failing on Apple Silicon with platform mismatch\"\n```\n\nCreates `docker-m1-fixes\u002FSKILL.md` with:\n- The platform mismatch error message\n- Three solutions (build flag, Dockerfile, docker-compose)\n- Trade-offs table\n- Performance note about Rosetta 2 emulation\n\n### Extracting a workflow pattern\n\n```\n\u002Fsi:extract \"Always regenerate TypeScript API client after modifying OpenAPI spec\"\n```\n\nCreates `api-client-regen\u002FSKILL.md` with:\n- Why manual regen is needed\n- The exact command sequence\n- CI integration snippet\n- Common failure modes\n\n## Tips\n\n- Extract patterns that would save time in a *different* project\n- Keep skills focused — one problem per skill\n- Include the error messages people would search for\n- Test the skill by reading it without the original context — does it make sense?\n","# \u002Fsi:extract — Create Skills from Patterns\n\nTransforms a recurring pattern or debugging solution into a standalone, portable skill that can be installed in any project.\n\n## Usage\n\n```\n\u002Fsi:extract \u003Cpattern description>                  # Interactive extraction\n\u002Fsi:extract \u003Cpattern> --name docker-m1-fixes       # Specify skill name\n\u002Fsi:extract \u003Cpattern> --output .\u002Fskills\u002F            # Custom output directory\n\u002Fsi:extract \u003Cpattern> --dry-run                     # Preview without creating files\n```\n\n## When to Extract\n\nA learning qualifies for skill extraction when ANY of these are true:\n\n| Criterion | Signal |\n|---|---|\n| **Recurring** | Same issue across 2+ projects |\n| **Non-obvious** | Required real debugging to discover |\n| **Broadly applicable** | Not tied to one specific codebase |\n| **Complex solution** | Multi-step fix that's easy to forget |\n| **User-flagged** | \"Save this as a skill\", \"I want to reuse this\" |\n\n## Workflow\n\n### Step 1: Identify the pattern\n\nRead the user's description. Search auto-memory for related entries:\n\n```bash\nMEMORY_DIR=\"$HOME\u002F.claude\u002Fprojects\u002F$(pwd | sed 's|\u002F|%2F|g; s|%2F|\u002F|; s|^\u002F||')\u002Fmemory\"\ngrep -rni \"\u003Ckeywords>\" \"$MEMORY_DIR\u002F\"\n```\n\nIf found in auto-memory, use those entries as source material. If not, use the user's description directly.\n\n### Step 2: Determine skill scope\n\nAsk (max 2 questions):\n- \"What problem does this solve?\" (if not clear)\n- \"Should this include code examples?\" (if applicable)\n\n### Step 3: Generate skill name\n\nRules for naming:\n- Lowercase, hyphens between words\n- Descriptive but concise (2-4 words)\n- Examples: `docker-m1-fixes`, `api-timeout-patterns`, `pnpm-workspace-setup`\n\n**Reserved fragments — must NOT appear in the skill name:**\n- `claude`\n- `anthropic`\n\nFor skills about Claude Code itself, use the `cc-` prefix instead:\n- ❌ `claude-code-settings` → ✅ `cc-settings`\n- ❌ `claude-code-maintenance` → ✅ `cc-maintenance`\n- ❌ `claude-mcp-tools` → ✅ `cc-mcp-tools`\n- ❌ `claude-plugin-development` → ✅ `cc-plugin-development`\n\nBefore writing the skill directory, check the proposed name against this list.\nIf a reserved fragment is present, transform it (drop the fragment or replace\nthe `claude*`\u002F`anthropic*` prefix with `cc-`) and confirm with the user.\n\n### Step 4: Create the skill files\n\n**Spawn the `skill-extractor` agent** for the actual file generation.\n\nThe agent creates:\n\n```\n\u003Cskill-name>\u002F\n├── SKILL.md            # Main skill file with frontmatter\n├── README.md           # Human-readable overview\n└── reference\u002F          # (optional) Supporting documentation\n    └── examples.md     # Concrete examples and edge cases\n```\n\n### Step 5: SKILL.md structure\n\nThe generated SKILL.md must follow this format:\n\n```markdown\n---\nname: \"skill-name\"\ndescription: \"\u003Cone-line description>. Use when: \u003Ctrigger conditions>.\"\n---\n\n# \u003CSkill Title>\n\n> One-line summary of what this skill solves.\n\n## Quick Reference\n\n| Problem | Solution |\n|---------|----------|\n| {{problem 1}} | {{solution 1}} |\n| {{problem 2}} | {{solution 2}} |\n\n## The Problem\n\n{{2-3 sentences explaining what goes wrong and why it's non-obvious.}}\n\n## Solutions\n\n### Option 1: {{Name}} (Recommended)\n\n{{Step-by-step with code examples.}}\n\n### Option 2: {{Alternative}}\n\n{{For when Option 1 doesn't apply.}}\n\n## Trade-offs\n\n| Approach | Pros | Cons |\n|----------|------|------|\n| Option 1 | {{pros}} | {{cons}} |\n| Option 2 | {{pros}} | {{cons}} |\n\n## Edge Cases\n\n- {{edge case 1 and how to handle it}}\n- {{edge case 2 and how to handle it}}\n```\n\n### Step 6: Quality gates\n\nBefore finalizing, verify:\n\n- [ ] SKILL.md has valid YAML frontmatter with `name` and `description`\n- [ ] `name` matches the folder name (lowercase, hyphens)\n- [ ] `name` does NOT contain reserved fragments `claude` or `anthropic` (use `cc-` prefix for Claude Code skills)\n- [ ] Description includes \"Use when:\" trigger conditions\n- [ ] Solutions are self-contained (no external context needed)\n- [ ] Code examples are complete and copy-pasteable\n- [ ] No project-specific hardcoded values (paths, URLs, credentials)\n- [ ] No unnecessary dependencies\n\n### Step 7: Report\n\n```\n✅ Skill extracted: {{skill-name}}\n\nFiles created:\n  {{path}}\u002FSKILL.md          ({{lines}} lines)\n  {{path}}\u002FREADME.md         ({{lines}} lines)\n  {{path}}\u002Freference\u002Fexamples.md  ({{lines}} lines)\n\nInstall: \u002Fplugin install (copy to your skills directory)\nPublish: clawhub publish {{path}}\n\nSource: MEMORY.md entries at lines {{n, m, ...}} (retained — the skill is portable, the memory is project-specific)\n```\n\n## Examples\n\n### Extracting a debugging pattern\n\n```\n\u002Fsi:extract \"Fix for Docker builds failing on Apple Silicon with platform mismatch\"\n```\n\nCreates `docker-m1-fixes\u002FSKILL.md` with:\n- The platform mismatch error message\n- Three solutions (build flag, Dockerfile, docker-compose)\n- Trade-offs table\n- Performance note about Rosetta 2 emulation\n\n### Extracting a workflow pattern\n\n```\n\u002Fsi:extract \"Always regenerate TypeScript API client after modifying OpenAPI spec\"\n```\n\nCreates `api-client-regen\u002FSKILL.md` with:\n- Why manual regen is needed\n- The exact command sequence\n- CI integration snippet\n- Common failure modes\n\n## Tips\n\n- Extract patterns that would save time in a *different* project\n- Keep skills focused — one problem per skill\n- Include the error messages people would search for\n- Test the skill by reading it without the original context — does it make sense?\n",{"name":5,"description":7},"main","f37de8f681f0c0ca0e0ebab6e5fddf764ca7553d","skills\u002Fextract",1,"https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one","https:\u002F\u002Fagisota.github.io\u002Fold-one\u002F","https:\u002F\u002Fgithub.com\u002Fagisota","pzd.world","2026-07-04 22:32:06",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add agisota\u002Fold-one --skill extract",{"tool":38,"command":39},"bunx","bunx skills add agisota\u002Fold-one --skill extract",{"tool":41,"command":42},"pnpm","pnpm dlx skills add agisota\u002Fold-one --skill extract","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fextract\u002FSKILL.md",true,[],[47,54,61,70,77,84],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":18},"01M75KRGZWQWE9JDBS6RX42NWV","zoom-out","Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-out\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M75KRCZHKE0ZYAQFFYHS0YNP","zeroize-audit","Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C\u002FC++\u002FRust code handling secrets, keys, passwords, or other sensitive data.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzeroize-audit\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":66,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M75KR94KYQ30DTE1P9WNDAE0","yeet","Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M75KR3H13YJ9QHMD49818FA1","yara-rule-authoring","Guides authoring of high-quality YARA-X detection rules for malware identification. Use when writing, reviewing, or optimizing YARA rules. Covers naming conventions, string selection, performance optimization, migration from legacy YARA, and false positive reduction. Triggers on: YARA, YARA-X, malware detection, threat hunting, IOC, signature, crx module, dex module.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyara-rule-authoring\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M75KQMPY8A4Y8XTDD2DT0M9T","x-twitter-growth","X\u002FTwitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X\u002FTwitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-twitter-growth\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M75KQHNZ0ANZNJGZY6M8MDAK","x-api","X\u002FTwitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-api\u002FSKILL.md",[],[]]