[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C329PNC8DPCBNKYXBEYJJC":3,"skill-same:01M6C329PNC8DPCBNKYXBEYJJC":108},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":54,"linkOnly":55,"markdownContent":56,"markdownBody":57,"frontMatter":58,"refName":66,"commitSha":67,"skillDirectory":68,"forksCount":69,"repositoryHtmlUrl":70,"repositoryHomepageUrl":71,"ownerHtmlUrl":72,"ownerBlogUrl":73,"ownerDescription":74,"updatedAt":75,"install":76,"resources":89},"01M6C329PNC8DPCBNKYXBEYJJC","kb-ingest","知识库来源导入与整理","Ingest a source (URL, file, or freeform note) into the knowledge base. Creates a source summary and updates or creates relevant entity and concept pages.","将来源（URL、文件或自由格式的笔记）导入知识库。创建来源摘要，并更新或创建相关的实体页面和概念页面。","jmagly\u002Faiwg","jmagly","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1159087?v=4","01M6C10AK8N2WCSQN11FYGTJWN","Joseph Magly","01M6C10AQ8A2RMED1Y1BSVY7NF",229,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fknowledge-base\u002Fskills\u002Fkb-ingest\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TRAEZFJ43R95HPEBJYG","知识工作者","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRFRAYBCBW9WKDY9TCSHY3","知识管理与沉淀","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53],"kb","kb ingest","ingest","source","run","concept","path","updates","websearch","URL","relevant","dry","efficiency","knowledge-base","knowledge base","webfetch","write","read","grep","haiku","knowledge","Bash","file","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nplatforms: [all]\nname: kb-ingest\ndescription: Ingest a source (URL, file, or freeform note) into the knowledge base. Creates a source summary and updates or creates relevant entity and concept pages.\ncommandHint:\n  argumentHint: \"\u003Csource> [--topic \u003Ctag>] [--kb \u003Cpath>] [--dry-run]\"\n  allowedTools: Read, Write, Glob, Grep, Bash, WebFetch, WebSearch\n  model: haiku\n  category: knowledge-base\n  modelRole: efficiency\n  modelTier: economy\n---\n\n# KB Ingest\n\nIngest any source — a URL, local file, or freeform note — into the knowledge base. Produces a source summary, then creates or updates entity and concept pages with new information.\n\n## Triggers\n\n- \"ingest this article\" → fetch URL and ingest\n- \"add to KB: ...\" → treat the text as a freeform note\n- \"summarize this book and add it to my KB\" → ingest file or freeform content\n- `\u002Fkb-ingest \u003Csource>` → direct invocation\n\n## Parameters\n\n### `\u003Csource>` (required)\n\n| Format | Behavior |\n|--------|----------|\n| `https:\u002F\u002F...` | Fetch with WebFetch, extract content |\n| File path | Read the file directly |\n| Quoted text | Treat as freeform note or paste |\n\n### `--topic \u003Ctag>` (optional)\nTag this source with a topic hint (e.g., `--topic \"machine-learning\"`). Influences which entity\u002Fconcept pages to touch.\n\n### `--kb \u003Cpath>` (optional)\nRoot of the knowledge base. **Default**: resolved by `aiwg kb path` (#965), which reads `resolveStorage('kb')` and honors any `roots.kb` override in `.aiwg\u002Fstorage.config`. On the default `fs` backend this is `.aiwg\u002Fkb\u002F`. To redirect the KB to an Obsidian vault or other backend without changing this skill, configure `.aiwg\u002Fstorage.config` (#934).\n\nWhen this skill needs to resolve the root from inside a Bash step:\n\n```bash\nKB_ROOT=$(aiwg kb path)\n# write a page through the adapter (preferred — honors all backends):\necho \"# Foo\" | aiwg kb put entities\u002Ffoo.md\n# or write directly to the resolved fs path (fs backend only):\necho \"# Foo\" > \"$KB_ROOT\u002Fentities\u002Ffoo.md\"\n```\n\nFortemi storage routing here is only a persistence backend choice. It is not the\nFortemi Core index\u002Fsearch backend used by `aiwg index ...` by default;\n`--backend local` selects the legacy fallback. KB pages join that search cache\nonly after the artifact graph has been built and synced with `aiwg index sync`.\n\n### `--dry-run` (optional)\nShow what would be created or updated without writing files.\n\n---\n\n## Execution Flow\n\n### Phase 1: Acquire Content\n\n1. Resolve the source type (URL, file, freeform text).\n2. For URLs: fetch with WebFetch. Extract title, author, date, and body text.\n3. For files: read directly. Infer type from extension or content.\n4. For freeform text: treat as a note; title defaults to first sentence (truncated to 60 chars).\n\n### Phase 2: Summarize\n\nUsing the source-summary template at `$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fknowledge-base\u002Ftemplates\u002Fsource-summary.md`:\n\n- Extract 3–7 key takeaways\n- Identify notable quotes (verbatim, with location if available)\n- Write a 2–5 sentence summary\n- Note strengths and weaknesses\n\nDetermine the slug: lowercase title, spaces to hyphens, strip punctuation.\nSave to: `\u003Ckb>\u002Fsources\u002F\u003Cslug>.md`\n\n### Phase 3: Identify Entities and Concepts\n\nScan the source content for:\n- Named entities (people, tools, companies, places, products)\n- Concepts, techniques, patterns, or frameworks mentioned\n\nFor each identified item:\n1. Check whether a page already exists in `\u003Ckb>\u002Fentities\u002F` or `\u003Ckb>\u002Fconcepts\u002F`.\n2. If it exists: read the current page, add new facts or sources if not already present.\n3. If it does not exist: create a new page from the appropriate template.\n\nUse the entity-page template for discrete things.\nUse the concept-page template for ideas and techniques.\n\n### Phase 4: Cross-Link\n\nIn the new source summary, populate the **Connections** section with `[[wiki-links]]` to pages touched.\nIn each touched entity\u002Fconcept page, add the source to the **Sources** table.\n\n### Phase 5: Report\n\n```\nKB Ingest complete\n\nSource summary: .aiwg\u002Fkb\u002Fsources\u002Farticle-slug.md\nPages created:\n  + .aiwg\u002Fkb\u002Fentities\u002Fperson-name.md\n  + .aiwg\u002Fkb\u002Fconcepts\u002Ftechnique-name.md\nPages updated:\n  ~ .aiwg\u002Fkb\u002Fentities\u002Fexisting-entity.md  (added source)\n\nNext steps:\n  - Review created pages and fill placeholder sections\n  - Run \u002Fkb-health to check for orphan pages\n```\n\n---\n\n## Scope Limits\n\n- Create or update at most 5 entity\u002Fconcept pages per ingest run. If more are identified, list them in the report as \"candidates for future pages\" rather than creating stubs automatically.\n- Do not fetch URLs found within the source content. Ingest one source at a time.\n- Do not remove or overwrite existing content in updated pages — only append to Sources tables and add missing facts clearly marked with the source.\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fknowledge-base\u002Ftemplates\u002Fsource-summary.md\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fknowledge-base\u002Ftemplates\u002Fentity-page.md\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fknowledge-base\u002Ftemplates\u002Fconcept-page.md\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fknowledge-base\u002Fskills\u002Fkb-health\u002FSKILL.md\n","# KB Ingest\n\nIngest any source — a URL, local file, or freeform note — into the knowledge base. Produces a source summary, then creates or updates entity and concept pages with new information.\n\n## Triggers\n\n- \"ingest this article\" → fetch URL and ingest\n- \"add to KB: ...\" → treat the text as a freeform note\n- \"summarize this book and add it to my KB\" → ingest file or freeform content\n- `\u002Fkb-ingest \u003Csource>` → direct invocation\n\n## Parameters\n\n### `\u003Csource>` (required)\n\n| Format | Behavior |\n|--------|----------|\n| `https:\u002F\u002F...` | Fetch with WebFetch, extract content |\n| File path | Read the file directly |\n| Quoted text | Treat as freeform note or paste |\n\n### `--topic \u003Ctag>` (optional)\nTag this source with a topic hint (e.g., `--topic \"machine-learning\"`). Influences which entity\u002Fconcept pages to touch.\n\n### `--kb \u003Cpath>` (optional)\nRoot of the knowledge base. **Default**: resolved by `aiwg kb path` (#965), which reads `resolveStorage('kb')` and honors any `roots.kb` override in `.aiwg\u002Fstorage.config`. On the default `fs` backend this is `.aiwg\u002Fkb\u002F`. To redirect the KB to an Obsidian vault or other backend without changing this skill, configure `.aiwg\u002Fstorage.config` (#934).\n\nWhen this skill needs to resolve the root from inside a Bash step:\n\n```bash\nKB_ROOT=$(aiwg kb path)\n# write a page through the adapter (preferred — honors all backends):\necho \"# Foo\" | aiwg kb put entities\u002Ffoo.md\n# or write directly to the resolved fs path (fs backend only):\necho \"# Foo\" > \"$KB_ROOT\u002Fentities\u002Ffoo.md\"\n```\n\nFortemi storage routing here is only a persistence backend choice. It is not the\nFortemi Core index\u002Fsearch backend used by `aiwg index ...` by default;\n`--backend local` selects the legacy fallback. KB pages join that search cache\nonly after the artifact graph has been built and synced with `aiwg index sync`.\n\n### `--dry-run` (optional)\nShow what would be created or updated without writing files.\n\n---\n\n## Execution Flow\n\n### Phase 1: Acquire Content\n\n1. Resolve the source type (URL, file, freeform text).\n2. For URLs: fetch with WebFetch. Extract title, author, date, and body text.\n3. For files: read directly. Infer type from extension or content.\n4. For freeform text: treat as a note; title defaults to first sentence (truncated to 60 chars).\n\n### Phase 2: Summarize\n\nUsing the source-summary template at `$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fknowledge-base\u002Ftemplates\u002Fsource-summary.md`:\n\n- Extract 3–7 key takeaways\n- Identify notable quotes (verbatim, with location if available)\n- Write a 2–5 sentence summary\n- Note strengths and weaknesses\n\nDetermine the slug: lowercase title, spaces to hyphens, strip punctuation.\nSave to: `\u003Ckb>\u002Fsources\u002F\u003Cslug>.md`\n\n### Phase 3: Identify Entities and Concepts\n\nScan the source content for:\n- Named entities (people, tools, companies, places, products)\n- Concepts, techniques, patterns, or frameworks mentioned\n\nFor each identified item:\n1. Check whether a page already exists in `\u003Ckb>\u002Fentities\u002F` or `\u003Ckb>\u002Fconcepts\u002F`.\n2. If it exists: read the current page, add new facts or sources if not already present.\n3. If it does not exist: create a new page from the appropriate template.\n\nUse the entity-page template for discrete things.\nUse the concept-page template for ideas and techniques.\n\n### Phase 4: Cross-Link\n\nIn the new source summary, populate the **Connections** section with `[[wiki-links]]` to pages touched.\nIn each touched entity\u002Fconcept page, add the source to the **Sources** table.\n\n### Phase 5: Report\n\n```\nKB Ingest complete\n\nSource summary: .aiwg\u002Fkb\u002Fsources\u002Farticle-slug.md\nPages created:\n  + .aiwg\u002Fkb\u002Fentities\u002Fperson-name.md\n  + .aiwg\u002Fkb\u002Fconcepts\u002Ftechnique-name.md\nPages updated:\n  ~ .aiwg\u002Fkb\u002Fentities\u002Fexisting-entity.md  (added source)\n\nNext steps:\n  - Review created pages and fill placeholder sections\n  - Run \u002Fkb-health to check for orphan pages\n```\n\n---\n\n## Scope Limits\n\n- Create or update at most 5 entity\u002Fconcept pages per ingest run. If more are identified, list them in the report as \"candidates for future pages\" rather than creating stubs automatically.\n- Do not fetch URLs found within the source content. Ingest one source at a time.\n- Do not remove or overwrite existing content in updated pages — only append to Sources tables and add missing facts clearly marked with the source.\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fknowledge-base\u002Ftemplates\u002Fsource-summary.md\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fknowledge-base\u002Ftemplates\u002Fentity-page.md\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fknowledge-base\u002Ftemplates\u002Fconcept-page.md\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fknowledge-base\u002Fskills\u002Fkb-health\u002FSKILL.md\n",{"name":5,"namespace":59,"platforms":60,"commandHint":62,"description":7},"aiwg",[61],"all",{"model":50,"category":44,"modelRole":43,"modelTier":63,"allowedTools":64,"argumentHint":65},"economy","Read, Write, Glob, Grep, Bash, WebFetch, WebSearch","\u003Csource> [--topic \u003Ctag>] [--kb \u003Cpath>] [--dry-run]","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Fknowledge-base\u002Fskills\u002Fkb-ingest",36,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg","https:\u002F\u002Faiwg.io","https:\u002F\u002Fgithub.com\u002Fjmagly","https:\u002F\u002Fintegrolabs.io","ml\u002Fai, industrial automation, safety\u002Fsecurity, ssi\r\n\r\nmagly.net\r\nintegrolabs.io\r\naiwg.io\r\nfortemi.com\r\npagenary.com\r\nbytecask.com","2026-11-14 10:46:34",{"source":9,"skillName":5,"commands":77,"prompt":87,"zipAvailable":88},[78,81,84],{"tool":79,"command":80},"npx","npx skills add jmagly\u002Faiwg --skill kb-ingest",{"tool":82,"command":83},"bunx","bunx skills add jmagly\u002Faiwg --skill kb-ingest",{"tool":85,"command":86},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill kb-ingest","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fknowledge-base\u002Fskills\u002Fkb-ingest\u002FSKILL.md",true,[90,96,100,104],{"path":91,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fdirectory-structure.md","REFERENCE","参考文档",1612,"https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fskill-databases\u002Fwindsurf\u002Fskills\u002Fwindsurf-linting-config\u002Freferences\u002Fdirectory-structure.md",{"path":97,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Ferrors.md",441,"https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fskill-databases\u002Fwindsurf\u002Fskills\u002Fwindsurf-linting-config\u002Freferences\u002Ferrors.md",{"path":101,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Fexamples.md",511,"https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fskill-databases\u002Fwindsurf\u002Fskills\u002Fwindsurf-linting-config\u002Freferences\u002Fexamples.md",{"path":105,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Fimplementation.md",662,"https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fskill-databases\u002Fwindsurf\u002Fskills\u002Fwindsurf-linting-config\u002Freferences\u002Fimplementation.md",[109,117,122,147,166,171],{"skillNo":110,"name":111,"nameZh":17,"description":112,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":116},"01M78KW7PZJ9YQZQMW84SN2YD4","plugin-search","Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":118,"name":111,"nameZh":17,"description":112,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":116},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":123,"name":124,"nameZh":17,"description":125,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":54},"01M70QA0BSYJ49EES9V4RE8QH1","host-hardening","Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[129,130,131,132,133,48,134,135,136,137,138,139,140,52,141,142,143,144,145,146],"hardening","host","host hardening","verification","secrets","request","remediation","recommendations","audit","plan","port","bind","access","only","retention","re","never","firewall",{"skillNo":148,"name":149,"nameZh":17,"description":150,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":54},"01M70PNT2Z4HMZPRBTAF6073NN","exposure-analysis","Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fforensics\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[154,155,156,157,158,47,48,159,139,145,52,160,130,161,142,162,163,146,164,165],"analysis","exposure analysis","collection","reconstruction","operator","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":167,"name":124,"nameZh":17,"description":125,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":54},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[129,130,131,144,145,146,140,143,136,133,48,134,135,137,138,139,132,52,141,142],{"skillNo":172,"name":149,"nameZh":17,"description":150,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":173,"categories":174,"keywords":175,"publishedAt":54},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[154,155,165,164,158,163,162,142,157,47,48,159,139,156,52,160,130,146,145,161]]