[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ESFMH6HWFYPJSCVS03MD1J":3,"skill-same:01M6ESFMH6HWFYPJSCVS03MD1J":76},{"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":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":47,"updatedAt":48,"install":49,"resources":61},"01M6ESFMH6HWFYPJSCVS03MD1J","kb-view",null,"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.","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\u002Fview\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33],"view","kb","kb view","http","visualization","browser","search","graph","knowledge graph","server","knowledge","bases","local","http server","with","2026-11-10 10:12:30",false,"---\nname: kb-view\ndescription: 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.\nuser-invocable: true\neffort: low\n---\n\n# \u002Fkb-view — KB Viewer\n\n## 0. Prerequisites\n\nCheck for KB config at `.claude\u002Fknowledge-base\u002Fconfig.json`. If missing, tell user: \"KB is not configured. Run `\u002Fkb-bootstrap` to set up your knowledge base.\" and stop.\n\n## 1. Suggest Running in a Separate Terminal\n\nUse `AskUserQuestion` to strongly recommend the user runs the server themselves in a separate terminal window. The server runs continuously and is more responsive when not managed by Claude.\n\nPresent the command:\n\n```\nuv run ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fserve.py --project-root .\n```\n\nOptions:\n- **\"I'll run it myself\"** (recommended) → Give the command, tell them to open http:\u002F\u002F127.0.0.1:8787, and stop.\n- **\"Run it for me\"** → Continue to Step 2.\n\n## 2. Start the Viewer (fallback)\n\nIf the user wants Claude to run it:\n\n1. Run in **background** Bash: `uv run ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fserve.py --project-root .`\n2. Open browser: `open http:\u002F\u002F127.0.0.1:8787`\n3. Tell user: \"KB viewer running at http:\u002F\u002F127.0.0.1:8787 — press Ctrl+C to stop.\"\n\nCustom port: add `--port \u003CPORT>`.\n\n## 3. Architecture\n\n- `scripts\u002Fserve.py` — ThreadingHTTPServer. Reads KB config, delegates tree building to `kb_loader.py`, serves markdown with parsed frontmatter and resolved `@kb-name` links. SPA fallback: all non-API paths serve `index.html`.\n- `scripts\u002Findex.html` — Single-page app. Sidebar tree, fuzzy search, markdown rendering (marked.js + highlight.js + mermaid), `pushState` URL routing, breadcrumb, light\u002Fdark\u002Fsystem theme.\n- `scripts\u002Fgraph.js` — d3-based knowledge graph. Hierarchical KB layout, hover glow, edge flow animation, controls panel, focus-on-node.\n\n## 4. API Endpoints\n\n| Endpoint | Description |\n|----------|-------------|\n| `GET \u002F` | HTML viewer |\n| `GET \u002Fapi\u002Ftree` | KB tree (JSON via kb_loader.py) |\n| `GET \u002Fapi\u002Ffile?path=\u003Crel>` | Markdown file with parsed frontmatter |\n| `GET \u002Fapi\u002Fconfig` | Raw KB config |\n| `GET \u002Fapi\u002Fsearch?q=\u003Cquery>` | Fuzzy search across KB files |\n| `GET \u002Fapi\u002Fgraph` | File link graph (nodes + edges) |\n| `GET \u002F*` | SPA fallback (index.html) |\n\n## 5. Running Tests\n\n```bash\nuv run ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Ftests\u002Frun_tests.py -v\n```\n","# \u002Fkb-view — KB Viewer\n\n## 0. Prerequisites\n\nCheck for KB config at `.claude\u002Fknowledge-base\u002Fconfig.json`. If missing, tell user: \"KB is not configured. Run `\u002Fkb-bootstrap` to set up your knowledge base.\" and stop.\n\n## 1. Suggest Running in a Separate Terminal\n\nUse `AskUserQuestion` to strongly recommend the user runs the server themselves in a separate terminal window. The server runs continuously and is more responsive when not managed by Claude.\n\nPresent the command:\n\n```\nuv run ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fserve.py --project-root .\n```\n\nOptions:\n- **\"I'll run it myself\"** (recommended) → Give the command, tell them to open http:\u002F\u002F127.0.0.1:8787, and stop.\n- **\"Run it for me\"** → Continue to Step 2.\n\n## 2. Start the Viewer (fallback)\n\nIf the user wants Claude to run it:\n\n1. Run in **background** Bash: `uv run ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fserve.py --project-root .`\n2. Open browser: `open http:\u002F\u002F127.0.0.1:8787`\n3. Tell user: \"KB viewer running at http:\u002F\u002F127.0.0.1:8787 — press Ctrl+C to stop.\"\n\nCustom port: add `--port \u003CPORT>`.\n\n## 3. Architecture\n\n- `scripts\u002Fserve.py` — ThreadingHTTPServer. Reads KB config, delegates tree building to `kb_loader.py`, serves markdown with parsed frontmatter and resolved `@kb-name` links. SPA fallback: all non-API paths serve `index.html`.\n- `scripts\u002Findex.html` — Single-page app. Sidebar tree, fuzzy search, markdown rendering (marked.js + highlight.js + mermaid), `pushState` URL routing, breadcrumb, light\u002Fdark\u002Fsystem theme.\n- `scripts\u002Fgraph.js` — d3-based knowledge graph. Hierarchical KB layout, hover glow, edge flow animation, controls panel, focus-on-node.\n\n## 4. API Endpoints\n\n| Endpoint | Description |\n|----------|-------------|\n| `GET \u002F` | HTML viewer |\n| `GET \u002Fapi\u002Ftree` | KB tree (JSON via kb_loader.py) |\n| `GET \u002Fapi\u002Ffile?path=\u003Crel>` | Markdown file with parsed frontmatter |\n| `GET \u002Fapi\u002Fconfig` | Raw KB config |\n| `GET \u002Fapi\u002Fsearch?q=\u003Cquery>` | Fuzzy search across KB files |\n| `GET \u002Fapi\u002Fgraph` | File link graph (nodes + edges) |\n| `GET \u002F*` | SPA fallback (index.html) |\n\n## 5. Running Tests\n\n```bash\nuv run ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Ftests\u002Frun_tests.py -v\n```\n",{"name":5,"effort":39,"description":7,"user-invocable":40},"low",true,"main","05240d66db0eef2efc394d680e83ba002b0f5803","skills\u002Fview",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":50,"prompt":60,"zipAvailable":40},[51,54,57],{"tool":52,"command":53},"npx","npx skills add farzadshbfn\u002Fknowledge-plugin --skill kb-view",{"tool":55,"command":56},"bunx","bunx skills add farzadshbfn\u002Fknowledge-plugin --skill kb-view",{"tool":58,"command":59},"pnpm","pnpm dlx skills add farzadshbfn\u002Fknowledge-plugin --skill kb-view","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ffarzadshbfn\u002Fknowledge-plugin\u002Fblob\u002Fmain\u002Fskills\u002Fview\u002FSKILL.md",[62,68,72],{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"scripts\u002Fgraph.js","SCRIPT","脚本",36942,"https:\u002F\u002Fgithub.com\u002Ffarzadshbfn\u002Fknowledge-plugin\u002Fblob\u002Fmain\u002Fskills\u002Fview\u002Fscripts\u002Fgraph.js",{"path":69,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":70,"sourceHtmlUrl":71},"scripts\u002Findex.html",47613,"https:\u002F\u002Fgithub.com\u002Ffarzadshbfn\u002Fknowledge-plugin\u002Fblob\u002Fmain\u002Fskills\u002Fview\u002Fscripts\u002Findex.html",{"path":73,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":74,"sourceHtmlUrl":75},"scripts\u002Fserve.py",22919,"https:\u002F\u002Fgithub.com\u002Ffarzadshbfn\u002Fknowledge-plugin\u002Fblob\u002Fmain\u002Fskills\u002Fview\u002Fscripts\u002Fserve.py",[77,101,122,145,160,177],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":34},"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",[],[84,20,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100],"kb monitor","monitor","read","via","name","triggers","skill health","patterns","session","user","tracking","convert","access","health","content","status","memory",{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":34},"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",[],[108,109,20,89,110,111,112,113,114,115,95,116,98,117,118,119,120,121],"kb mint","mint","as","distribution","cowork","max","ready","use","plugins","package","create","packages","plugin","make",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":34},"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",[],[20,129,130,33,131,132,133,134,88,135,136,137,138,139,140,141,29,142,143,144],"kb learn","learn","about","paths","text","personal knowledge","article","knowledge base","compact","base","references","fix","fix errors","learning","markdown","changelog",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":34},"01M6ESF4SMXZ6QGWHJMHQNQ6EV","kb-find","Read-only KB discovery with progressive 4-tier loading and --challenge mode for counter-evidence.","https:\u002F\u002Fgithub.com\u002Ffarzadshbfn\u002Fknowledge-plugin\u002Fblob\u002Fmain\u002Fskills\u002Ffind\u002FSKILL.md",[],[152,20,153,86,154,155,156,33,157,158,159],"kb find","find","challenge","discovery","only","loading","query","evidence",{"skillNo":161,"name":162,"nameZh":6,"description":163,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":164,"categories":165,"keywords":166,"publishedAt":34},"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",[],[167,137,20,168,33,169,170,171,172,173,174,115,175,176],"kb compact","terminology","deep","default","indexes","Legacy","oversized","up","notes","directory",{"skillNo":178,"name":179,"nameZh":6,"description":180,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":181,"categories":182,"keywords":183,"publishedAt":34},"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",[],[184,20,185,29,186,187,188,189,190,191,138,192,136,193,176,174],"kb bootstrap","bootstrap","new project","instructions","config","run","first","minimal","structure","project"]