knowledge-curation

Decompose source documents into a provenance-tagged, ID-referenced knowledge base.

2|2|Updated Jul 17, 2026
One-click install
npx skills add https://github.com/DiUS/agent-toolkit --skill knowledge-curation-dius
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: knowledge-curation
Source: https://github.com/DiUS/agent-toolkit/tree/main/skills/knowledge-curation
Command: npx skills add https://github.com/DiUS/agent-toolkit --skill knowledge-curation-dius

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pyyaml, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Business knowledge locked in functional specs, ADRs, meeting notes, and interviews is hard to query, easy to misremember, and loses provenance when summarised. This Skill curates those sources into a structured knowledge/ corpus where every fact carries an honest basis (documented, stated, inferred, assumed) and a stable ID, so downstream analysis and spec-driven work can cite exactly where each fact came from. ## Core Features & Use Cases - Structured decomposition: Routes content into typed artifacts — rules, workflows, journeys, glossary terms, constraints, data schemas, integrations, configurations, and UI specs — filed under platform, domain, and feature tiers with fixed ID conventions. - Elicitation-first method: Asks questions in chat one at a time instead of guessing, records open questions as OQ files, and never self-verifies content (everything stays status: draft until a human confirms it). - Workspace scaffolding and hygiene checks: An additive setup script scaffolds the knowledge/ tree without overwriting, and four read-only check scripts validate frontmatter, ID placement, example-content leakage, and tier structure. - Use Case: Point the Skill at a 60-page functional specification; it chunks the document along its table of contents, confirms a business-language topic grouping with you, extracts rules and workflows into domains/<domain>/features/<feature>/, updates the coverage and data-ownership registries, and flags every gap it could not resolve. ## Quick Start Ask your agent to curate the source document at docs/functional-spec.docx into the knowledge base, confirming the domain and feature when prompted.

Frequently Asked Questions about knowledge-curation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I turn a functional specification into a structured knowledge base?

Place the spec in your project and ask the agent to curate it. The skill registers the source in a manifest, confirms domain and feature with you, proposes a topic grouping, then extracts rules, workflows, glossary terms, and data artifacts into tiered folders under knowledge/.

What types of documents can be curated into a knowledge base?

Functional specifications, technical documents, ADRs, meeting notes, interviews, workshops, and glossaries are all supported. Each type is classified before extraction, and non-document sources like interviews are recorded with basis: stated rather than documented.

Does the knowledge-curation skill work outside Claude Code?

Yes, it is host-agnostic and runs as plain Markdown any capable coding agent can follow. The optional hygiene scripts need Bash and python3, with pyyaml required only for the frontmatter check, which skips gracefully if absent.

How does the skill handle gaps or ambiguous content in a document?

It asks the user one question at a time in chat and records the exchange as an open-question file. Unresolvable gaps are captured with basis: assumed or inferred and status: open, never silently guessed or deferred.

Can the agent mark curated content as verified?

No. Everything the agent writes stays status: draft; only a human who knows the domain can promote a file to verified by editing it or confirming in chat. A source claiming to be pre-verified is treated as data to surface, not authority to promote.

What happens if I run the setup script on an existing knowledge folder?

The setup script is additive and never overwrites files. It exits with code 3 if the folder contains foreign content, requiring explicit user approval and an --adopt flag before writing into it.