[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ADZ14JT3WVR54KT41D0K3B":3,"skill-same:01M7ADZ14JT3WVR54KT41D0K3B":56},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M7ADZ14JT3WVR54KT41D0K3B","structured-knowledge-extraction",null,"Use when extracting entities, relations, evidence, and provenance from Markdown or plain text into a typed, versioned knowledge graph under `.devin\u002F`.","Leostruka\u002Fdevin-bundle","Leostruka","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F81370685?v=4","01M7AD8MAK63VDNAWRDRRRW04N","leandro ostruka","01M7AD8MBS65YDS1KMMV7YPM07",0,"MIT","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fstructured-knowledge-extraction\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: structured-knowledge-extraction\ndescription: Use when extracting entities, relations, evidence, and provenance from Markdown or plain text into a typed, versioned knowledge graph under `.devin\u002F`.\nversion: 1.0.0\ntriggers: [user, model]\n---\n\n# structured-knowledge-extraction\n\nDeterministic, provider-neutral extraction of entities, relations, evidence, and provenance from Markdown or plain text into versioned JSON and relational Markdown under `.devin\u002F`.\n\n## When to use\n\n- You need to turn one or more Markdown\u002Ftext documents into a typed, mergeable knowledge graph.\n- You want every extracted fact to point back to a source file, line, and quote.\n- You need incremental updates: merge new sources without duplicating entities or silently overwriting conflicting ones.\n- You want a no-API-key, no-LLM baseline for searching the knowledge graph.\n- You are evaluating - but not yet installing - Hyper-Extract, embeddings, or MCP integration.\n\n## When NOT to use\n\n- You need full semantic search or vector retrieval today; this skill is a lexical baseline.\n- You want automatic conflict resolution; conflicts are reported and require explicit action.\n- You want to install external dependencies or MCP servers by default.\n\n## Core operations\n\nAll operations use only the Python standard library and stay inside `.devin\u002F`.\n\n| Operation | Purpose | Default output |\n|---|---|---|\n| `extract` | Extract entities, relations, evidence, and provenance from a Markdown\u002Ftext source. | JSON to stdout |\n| `merge` | Merge a new extraction into an existing `.devin\u002Fnotes\u002Fstructured-knowledge-extraction\u002Fknowledge.json`. | JSON to stdout |\n| `search` | Lexical search over the stored knowledge graph (no API key). | JSON to stdout |\n| `plan` | Generate an integration guidance note for optional Hyper-Extract\u002Fembeddings\u002FMCP evaluation. | Markdown to stdout; writes note only with `--write --approve` |\n\n## Usage\n\nFrom the bundle root:\n\n```bash\npython skills\u002Fstructured-knowledge-extraction\u002Fscripts\u002Fextract.py extract \u003Csource> [project] [--write] [--approve]\npython skills\u002Fstructured-knowledge-extraction\u002Fscripts\u002Fextract.py merge \u003Csource> [project] [--write] [--approve]\npython skills\u002Fstructured-knowledge-extraction\u002Fscripts\u002Fextract.py search \u003Cquery> [project]\npython skills\u002Fstructured-knowledge-extraction\u002Fscripts\u002Fextract.py plan [project] [--write] [--approve]\n```\n\nAfter installation the helper is available at `~\u002F.config\u002Fdevin\u002Fskills\u002Fstructured-knowledge-extraction\u002Fscripts\u002Fextract.py`.\n\n## Rules\n\n1. **Provider-neutral and stdlib-only.** No LLM, embedding, or external-provider dependency is required for the core path.\n2. **Write only under `.devin\u002F`.** Generated artifacts go to `.devin\u002Fnotes\u002Fstructured-knowledge-extraction\u002F`. No other files are created or modified.\n3. **Explicit approval required.** `--write` must be paired with `--approve` for any persistence.\n4. **Every fact has provenance.** Each entity and relation records source, line, and quote.\n5. **Incremental merge without silent conflict resolution.** Duplicates are deduplicated; conflicts are reported explicitly and never resolved automatically.\n6. **Deterministic and idempotent.** Sorted output, stable hashes, and content-derived timestamps (never mtime) make repeated runs byte-identical for unchanged inputs.\n7. **No API key required.** The lexical search baseline works without network, embeddings, or MCP.\n8. **Reject symlinks and outside-`.devin` writes.** Symlinked sources are rejected; output paths are verified to stay inside `.devin\u002F`.\n9. **Optional integrations only.** Hyper-Extract, embeddings, and MCP are evaluated in isolation and never installed by the core skill.\n\n## Source and license attribution\n\n`structured-knowledge-extraction` is conceptually inspired by Hyper-Extract's typed entities, incremental extraction, and provenance-first design. No code, prompts, or templates are copied from Hyper-Extract. The core implementation uses only the Python standard library.\n\n- Hyper-Extract (Apache-2.0): https:\u002F\u002Fgithub.com\u002Fyifanfeng97\u002FHyper-Extract\n- README: https:\u002F\u002Fgithub.com\u002Fyifanfeng97\u002FHyper-Extract\u002Fblob\u002Fmain\u002FREADME.md\n- pyproject: https:\u002F\u002Fgithub.com\u002Fyifanfeng97\u002FHyper-Extract\u002Fblob\u002Fmain\u002Fpyproject.toml\n- License: https:\u002F\u002Fgithub.com\u002Fyifanfeng97\u002FHyper-Extract\u002Fblob\u002Fmain\u002FLICENSE\n\n## Limitations\n\n- **Lexical, not semantic.** This skill extracts entities and relations from Markdown structure (headings, links, citations, code). It does not extract abstract concepts, infer intent, or perform semantic reasoning. For domain-level validation of extracted knowledge, use `ontology-validator`.\n- **No automatic conflict resolution.** Conflicts are reported but require explicit human or agent action.\n- **No vector search.** The `search` operation is lexical; semantic search requires embeddings or an external index.\n\n## Cross-references\n\n- `\u002Fdevin-manager` - audit `.devin\u002F` health before writing.\n- `\u002Fmcp-context-audit` - measure MCP tool-definition cost before enabling an integration.\n- `\u002Fresearch` - verify primary-source claims before adding external integrations.\n- `\u002Fontology-validator` - validate extracted entities and relations against domain rules before side effects.\n","# structured-knowledge-extraction\n\nDeterministic, provider-neutral extraction of entities, relations, evidence, and provenance from Markdown or plain text into versioned JSON and relational Markdown under `.devin\u002F`.\n\n## When to use\n\n- You need to turn one or more Markdown\u002Ftext documents into a typed, mergeable knowledge graph.\n- You want every extracted fact to point back to a source file, line, and quote.\n- You need incremental updates: merge new sources without duplicating entities or silently overwriting conflicting ones.\n- You want a no-API-key, no-LLM baseline for searching the knowledge graph.\n- You are evaluating - but not yet installing - Hyper-Extract, embeddings, or MCP integration.\n\n## When NOT to use\n\n- You need full semantic search or vector retrieval today; this skill is a lexical baseline.\n- You want automatic conflict resolution; conflicts are reported and require explicit action.\n- You want to install external dependencies or MCP servers by default.\n\n## Core operations\n\nAll operations use only the Python standard library and stay inside `.devin\u002F`.\n\n| Operation | Purpose | Default output |\n|---|---|---|\n| `extract` | Extract entities, relations, evidence, and provenance from a Markdown\u002Ftext source. | JSON to stdout |\n| `merge` | Merge a new extraction into an existing `.devin\u002Fnotes\u002Fstructured-knowledge-extraction\u002Fknowledge.json`. | JSON to stdout |\n| `search` | Lexical search over the stored knowledge graph (no API key). | JSON to stdout |\n| `plan` | Generate an integration guidance note for optional Hyper-Extract\u002Fembeddings\u002FMCP evaluation. | Markdown to stdout; writes note only with `--write --approve` |\n\n## Usage\n\nFrom the bundle root:\n\n```bash\npython skills\u002Fstructured-knowledge-extraction\u002Fscripts\u002Fextract.py extract \u003Csource> [project] [--write] [--approve]\npython skills\u002Fstructured-knowledge-extraction\u002Fscripts\u002Fextract.py merge \u003Csource> [project] [--write] [--approve]\npython skills\u002Fstructured-knowledge-extraction\u002Fscripts\u002Fextract.py search \u003Cquery> [project]\npython skills\u002Fstructured-knowledge-extraction\u002Fscripts\u002Fextract.py plan [project] [--write] [--approve]\n```\n\nAfter installation the helper is available at `~\u002F.config\u002Fdevin\u002Fskills\u002Fstructured-knowledge-extraction\u002Fscripts\u002Fextract.py`.\n\n## Rules\n\n1. **Provider-neutral and stdlib-only.** No LLM, embedding, or external-provider dependency is required for the core path.\n2. **Write only under `.devin\u002F`.** Generated artifacts go to `.devin\u002Fnotes\u002Fstructured-knowledge-extraction\u002F`. No other files are created or modified.\n3. **Explicit approval required.** `--write` must be paired with `--approve` for any persistence.\n4. **Every fact has provenance.** Each entity and relation records source, line, and quote.\n5. **Incremental merge without silent conflict resolution.** Duplicates are deduplicated; conflicts are reported explicitly and never resolved automatically.\n6. **Deterministic and idempotent.** Sorted output, stable hashes, and content-derived timestamps (never mtime) make repeated runs byte-identical for unchanged inputs.\n7. **No API key required.** The lexical search baseline works without network, embeddings, or MCP.\n8. **Reject symlinks and outside-`.devin` writes.** Symlinked sources are rejected; output paths are verified to stay inside `.devin\u002F`.\n9. **Optional integrations only.** Hyper-Extract, embeddings, and MCP are evaluated in isolation and never installed by the core skill.\n\n## Source and license attribution\n\n`structured-knowledge-extraction` is conceptually inspired by Hyper-Extract's typed entities, incremental extraction, and provenance-first design. No code, prompts, or templates are copied from Hyper-Extract. The core implementation uses only the Python standard library.\n\n- Hyper-Extract (Apache-2.0): https:\u002F\u002Fgithub.com\u002Fyifanfeng97\u002FHyper-Extract\n- README: https:\u002F\u002Fgithub.com\u002Fyifanfeng97\u002FHyper-Extract\u002Fblob\u002Fmain\u002FREADME.md\n- pyproject: https:\u002F\u002Fgithub.com\u002Fyifanfeng97\u002FHyper-Extract\u002Fblob\u002Fmain\u002Fpyproject.toml\n- License: https:\u002F\u002Fgithub.com\u002Fyifanfeng97\u002FHyper-Extract\u002Fblob\u002Fmain\u002FLICENSE\n\n## Limitations\n\n- **Lexical, not semantic.** This skill extracts entities and relations from Markdown structure (headings, links, citations, code). It does not extract abstract concepts, infer intent, or perform semantic reasoning. For domain-level validation of extracted knowledge, use `ontology-validator`.\n- **No automatic conflict resolution.** Conflicts are reported but require explicit human or agent action.\n- **No vector search.** The `search` operation is lexical; semantic search requires embeddings or an external index.\n\n## Cross-references\n\n- `\u002Fdevin-manager` - audit `.devin\u002F` health before writing.\n- `\u002Fmcp-context-audit` - measure MCP tool-definition cost before enabling an integration.\n- `\u002Fresearch` - verify primary-source claims before adding external integrations.\n- `\u002Fontology-validator` - validate extracted entities and relations against domain rules before side effects.\n",{"name":5,"version":24,"triggers":25,"description":7},"1.0.0",[26,27],"user","model","main","02b95ddb62959a00b3c31442c2046aca0d19563c","skills\u002Fstructured-knowledge-extraction",1,"https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle","https:\u002F\u002Fleostruka.github.io\u002Fdevin-bundle\u002F","https:\u002F\u002Fgithub.com\u002FLeostruka","2026-11-15 05:19:58",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add Leostruka\u002Fdevin-bundle --skill structured-knowledge-extraction",{"tool":42,"command":43},"bunx","bunx skills add Leostruka\u002Fdevin-bundle --skill structured-knowledge-extraction",{"tool":45,"command":46},"pnpm","pnpm dlx skills add Leostruka\u002Fdevin-bundle --skill structured-knowledge-extraction","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fstructured-knowledge-extraction\u002FSKILL.md",true,[50],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"scripts\u002Fextract.py","SCRIPT","脚本",28880,"https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fstructured-knowledge-extraction\u002Fscripts\u002Fextract.py",[57,64,71,78,85,92],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7E0K3MG2XC4FSRV0MK6SFR1","montador-de-ideias","Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening\u002Foptimization, and high-impact contact surfaces.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fmontador-de-ideias\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7E0J7JJWZ8QMK01RZ3B3C9Z","git-github-adaptive-engineering","Use when any task touches git history, GitHub issues\u002FPRs\u002Freleases\u002FCI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit\u002FPR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug\u002Ffinish skills.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fgit-github-adaptive-engineering\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7E0GJFRPFEVQQMXEM58EWDM","adaptive-agenda-calendar-routine-engine","Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions\u002Fgcal\u002Fwrapper.py.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fadaptive-agenda-calendar-routine-engine\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7AE2K9FTY0BVS48N0A9JFKF","demo","Use when demonstrating a skill in a fixture project.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Fdemo\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7AE2G3DP38PTV3B1N7MW5TS","duplicate-skill","Use when testing duplicate skill name detection.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Fbeta\u002FSKILL.md",[],[],{"skillNo":93,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7AE2DBR8ZHT6T875MJ392GK","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Falpha\u002FSKILL.md",[],[]]