[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ESF4SMXZ6QGWHJMHQNQ6EV":3,"skill-same:01M6ESF4SMXZ6QGWHJMHQNQ6EV":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":43,"updatedAt":44,"install":45,"resources":58},"01M6ESF4SMXZ6QGWHJMHQNQ6EV","kb-find",null,"Read-only KB discovery with progressive 4-tier loading and --challenge mode for counter-evidence.","farzadshbfn\u002Fknowledge-plugin","farzadshbfn","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6499563?v=4","01M6ESEW39Z8JCCXSM53M53PWT","Farzad Sharbafian","01M6ESEW7YFB4DMTQ227EGWJYA",1,"MIT","https:\u002F\u002Fgithub.com\u002Ffarzadshbfn\u002Fknowledge-plugin\u002Fblob\u002Fmain\u002Fskills\u002Ffind\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29],"find","kb","kb find","discovery","challenge","read","only","evidence","query","loading","with","2026-11-10 10:12:30",false,"---\nname: kb-find\ndescription: Read-only KB discovery with progressive 4-tier loading and --challenge mode for counter-evidence.\nargument-hint: \"\u003Cquery> [--challenge]\"\neffort: medium\n---\n\n# \u002Fkb-find\n\nProgressive 4-tier KB discovery. **Read-only.**\n\n## Constraints\n- **NEVER** Read `index.md` or `config.json` — kb_loader handles these; config auto-detects.\n- Combine reasoning + tool calls per turn. Batch parallel Bash\u002FRead calls.\n- Only Read individual concept `.md` files (Tier 2\u002F3\u002F4).\n- **Global KBs** (shown with `[read-only]` badge in topic listing) are searchable but not writable. Treat them identically for discovery.\n\n## 1. Input Parsing\n\nParse query from `$0`, strip flags. Two modes:\n\n- **Default**: find concept notes matching query keywords.\n- **`--challenge`**: find content that **contradicts or complicates** the query. Score by contradiction potential. Include adjacent topics. Read 1-2 extra notes in Tier 3\u002F4. Skip KB meta-topics unless query is about them.\n\n## 2. Tier 1 — KB Loader Queries\n\n`KB_LOADER=\"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fkb_loader.py\"`\n\n1. `$KB_LOADER --list-topics` — tree by `@kb-name` with `[skill]` tags.\n2. Pick relevant topics. Slash paths (`compact`) or `@kb-name\u002Fpath`. Challenge: also contradicting topics.\n3. `$KB_LOADER --topic \u003Cpath>` per topic. All calls in one turn.\n4. Build topic map: `{topic_name, notes[], children[], has_skill}`.\n\n`--topic` returns JSON (names\u002Fdescriptions) for Tier 2 scoring. Empty list → report and stop.\n\n## 3. Tier 2 — Frontmatter Scan\n\n**Skip** if Tier 1 name+description clearly shows relevance → Tier 3\u002F4. Only scan ambiguous notes.\n\n1. Read first **15 lines**. Extract name, description, summary.\n2. Score relevance; promote if warranted. Cap 2-3 candidates.\n\n## 4. Tier 3 — TOC Section Read\n\n**Skip to Tier 4** if no TOC or note is \u003C100 lines.\n\n1. Read first **30 lines** (frontmatter + TOC). If already read 15, use `offset=16, limit=15`.\n2. Read relevant sections **±1 adjacent**.\n3. Follow relevant **markdown links** → Tier 2. Cross-KB links (`@kb-name\u002Fpath`) → `--topic @kb-name\u002Ftopic`.\n4. Follow **soft references** (lines starting with `see:` followed by `@kb\u002Ftopic`) → `--topic @kb\u002Ftopic`. These are semantic hints to global KBs.\n\n## 5. Tier 4 — Full Read\n\n1. Full read when no TOC or Tier 3 insufficient. Use `offset` to skip prior lines.\n2. Cap **500 lines\u002Fnote**; note truncation. **>10 notes** → ask user to narrow.\n3. Follow relevant links → Tier 2.\n\n## 6. Output\n\nReturn: `## Topic Map` (paths), `## Relevant Concept Notes` (path + title + content, label concept vs skill), `## Notes` (caveats).\n\n**Challenge mode** output: `## Topic Map`, `## Counter-Evidence` (path, strength, type, excerpt), `## Summary` (1-3 sentences), `## Notes`.\n","# \u002Fkb-find\n\nProgressive 4-tier KB discovery. **Read-only.**\n\n## Constraints\n- **NEVER** Read `index.md` or `config.json` — kb_loader handles these; config auto-detects.\n- Combine reasoning + tool calls per turn. Batch parallel Bash\u002FRead calls.\n- Only Read individual concept `.md` files (Tier 2\u002F3\u002F4).\n- **Global KBs** (shown with `[read-only]` badge in topic listing) are searchable but not writable. Treat them identically for discovery.\n\n## 1. Input Parsing\n\nParse query from `$0`, strip flags. Two modes:\n\n- **Default**: find concept notes matching query keywords.\n- **`--challenge`**: find content that **contradicts or complicates** the query. Score by contradiction potential. Include adjacent topics. Read 1-2 extra notes in Tier 3\u002F4. Skip KB meta-topics unless query is about them.\n\n## 2. Tier 1 — KB Loader Queries\n\n`KB_LOADER=\"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fkb_loader.py\"`\n\n1. `$KB_LOADER --list-topics` — tree by `@kb-name` with `[skill]` tags.\n2. Pick relevant topics. Slash paths (`compact`) or `@kb-name\u002Fpath`. Challenge: also contradicting topics.\n3. `$KB_LOADER --topic \u003Cpath>` per topic. All calls in one turn.\n4. Build topic map: `{topic_name, notes[], children[], has_skill}`.\n\n`--topic` returns JSON (names\u002Fdescriptions) for Tier 2 scoring. Empty list → report and stop.\n\n## 3. Tier 2 — Frontmatter Scan\n\n**Skip** if Tier 1 name+description clearly shows relevance → Tier 3\u002F4. Only scan ambiguous notes.\n\n1. Read first **15 lines**. Extract name, description, summary.\n2. Score relevance; promote if warranted. Cap 2-3 candidates.\n\n## 4. Tier 3 — TOC Section Read\n\n**Skip to Tier 4** if no TOC or note is \u003C100 lines.\n\n1. Read first **30 lines** (frontmatter + TOC). If already read 15, use `offset=16, limit=15`.\n2. Read relevant sections **±1 adjacent**.\n3. Follow relevant **markdown links** → Tier 2. Cross-KB links (`@kb-name\u002Fpath`) → `--topic @kb-name\u002Ftopic`.\n4. Follow **soft references** (lines starting with `see:` followed by `@kb\u002Ftopic`) → `--topic @kb\u002Ftopic`. These are semantic hints to global KBs.\n\n## 5. Tier 4 — Full Read\n\n1. Full read when no TOC or Tier 3 insufficient. Use `offset` to skip prior lines.\n2. Cap **500 lines\u002Fnote**; note truncation. **>10 notes** → ask user to narrow.\n3. Follow relevant links → Tier 2.\n\n## 6. Output\n\nReturn: `## Topic Map` (paths), `## Relevant Concept Notes` (path + title + content, label concept vs skill), `## Notes` (caveats).\n\n**Challenge mode** output: `## Topic Map`, `## Counter-Evidence` (path, strength, type, excerpt), `## Summary` (1-3 sentences), `## Notes`.\n",{"name":5,"effort":35,"description":7,"argument-hint":36},"medium","\u003Cquery> [--challenge]","main","05240d66db0eef2efc394d680e83ba002b0f5803","skills\u002Ffind",0,"https:\u002F\u002Fgithub.com\u002Ffarzadshbfn\u002Fknowledge-plugin","https:\u002F\u002Fgithub.com\u002Ffarzadshbfn","IOS Engineer, Swift lover and also a sport programmer.","2026-04-09 19:07:34",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add farzadshbfn\u002Fknowledge-plugin --skill kb-find",{"tool":51,"command":52},"bunx","bunx skills add farzadshbfn\u002Fknowledge-plugin --skill kb-find",{"tool":54,"command":55},"pnpm","pnpm dlx skills add farzadshbfn\u002Fknowledge-plugin --skill kb-find","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ffarzadshbfn\u002Fknowledge-plugin\u002Fblob\u002Fmain\u002Fskills\u002Ffind\u002FSKILL.md",true,[59],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"scripts\u002Fkb_loader.py","SCRIPT","脚本",16842,"https:\u002F\u002Fgithub.com\u002Ffarzadshbfn\u002Fknowledge-plugin\u002Fblob\u002Fmain\u002Fskills\u002Ffind\u002Fscripts\u002Fkb_loader.py",[66,86,109,130,153,170],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":30},"01M6ESFMH6HWFYPJSCVS03MD1J","kb-view","Opens the KB viewer in the browser. Starts a local HTTP server that renders all configured knowledge bases with working links, fuzzy search, and knowledge graph visualization.","https:\u002F\u002Fgithub.com\u002Ffarzadshbfn\u002Fknowledge-plugin\u002Fblob\u002Fmain\u002Fskills\u002Fview\u002FSKILL.md",[],[73,20,74,75,76,77,78,79,80,81,82,83,84,85,29],"view","kb view","http","visualization","browser","search","graph","knowledge graph","server","knowledge","bases","local","http server",{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":30},"01M6ESFGJRVGCMQ60KDZEA408S","kb-monitor","Monitors KB usage patterns and skill health. Activates when KB access tracking detects frequently-read content that could become a skill, or when user corrections suggest a skill is underperforming. Also triggers on `this isn't working right`, `this skill keeps getting X wrong`, `convert this to a skill`, or `what should become a skill`. Tracks cross-session observations via memory.","https:\u002F\u002Fgithub.com\u002Ffarzadshbfn\u002Fknowledge-plugin\u002Fblob\u002Fmain\u002Fskills\u002Fmonitor\u002FSKILL.md",[],[93,20,94,95,96,97,98,99,100,24,101,102,103,104,105,106,107,108],"monitor","kb monitor","memory","status","content","health","access","convert","tracking","user","session","patterns","skill health","triggers","name","via",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":30},"01M6ESFCM4ZDRWGN8K3XRXH11E","kb-mint","Mints skills from KB topics, packages skills into plugins, and prepares them for Cowork. Use when asked to create a skill from KB content, convert to a plugin, package for distribution, or make something cowork-ready. Also triggers on `convert this to a skill`, `package as plugin`, `mint a skill`, or `make this a plugin`.","https:\u002F\u002Fgithub.com\u002Ffarzadshbfn\u002Fknowledge-plugin\u002Fblob\u002Fmain\u002Fskills\u002Fmint\u002FSKILL.md",[],[20,116,117,118,119,120,121,97,122,100,123,124,125,126,127,106,128,129],"mint","kb mint","plugin","packages","create","package","plugins","use","ready","max","cowork","distribution","as","make",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":30},"01M6ESF7VRA8PNYA7PND9N98BW","kb-learn","Manages a personal knowledge base with learning tracking. Modes: (1) learn from articles, (2) learn about topics, (3) fix errors. Uses markdown links with relative paths for cross-references. Maintains a rolling changelog, validates links, and keeps a markdown-compatible knowledge base. When a note reaches ~500 lines, suggests \u002Fkb-compact.","https:\u002F\u002Fgithub.com\u002Ffarzadshbfn\u002Fknowledge-plugin\u002Fblob\u002Fmain\u002Fskills\u002Flearn\u002FSKILL.md",[],[137,20,138,139,140,141,82,142,143,144,145,146,147,148,107,149,150,151,152,29],"learn","kb learn","changelog","markdown","learning","text","fix","references","base","compact","knowledge base","article","personal knowledge","paths","fix errors","about",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":30},"01M6ESF10FPDW1JVSTVEQK3RZE","kb-compact","Compacts KB directories — extracts legacy, unifies terminology, splits oversized notes, fixes indexes, reconciles with skill folders. Default: single directory. Use --deep for recursive bottom-up traversal.","https:\u002F\u002Fgithub.com\u002Ffarzadshbfn\u002Fknowledge-plugin\u002Fblob\u002Fmain\u002Fskills\u002Fcompact\u002FSKILL.md",[],[20,146,160,161,162,123,163,164,165,166,167,168,169,29],"kb compact","directory","notes","up","oversized","Legacy","indexes","default","terminology","deep",{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":176,"publishedAt":30},"01M6ESEY0VAJJ6YKBMNJ0ETH36","kb-bootstrap","Sets up the knowledge base for a project. Creates the KB config, directory structure, and appends minimal instructions to the project's CLAUDE.md. Run this once when first using KB skills in a new project.","https:\u002F\u002Fgithub.com\u002Ffarzadshbfn\u002Fknowledge-plugin\u002Fblob\u002Fmain\u002Fskills\u002Fbootstrap\u002FSKILL.md",[],[177,20,178,161,179,180,181,82,182,183,163,184,145,185,147,186],"bootstrap","kb bootstrap","config","run","first","new project","instructions","minimal","structure","project"]