kn-extract

Extract generalizable knowledge from tasks into centralized documentation.

234|50|Updated Dec 25, 2025
One-click install
npx skills add https://github.com/knowns-dev/knowns --skill kn-extract
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kn-extract
Source: https://github.com/knowns-dev/knowns/tree/main/.agent/skills/kn-extract
Command: npx skills add https://github.com/knowns-dev/knowns --skill kn-extract

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It extracts only generalizable knowledge from tasks, patterns, and decisions into centralized documentation.

Core Features & Use Cases

  • Pattern extraction: Identify and extract reusable patterns, solutions, or knowledge from tasks and code.
  • Documentation creation & update: Create or update docs and templates, and link back to related tasks.
  • Quality controls: Enforce generalizability and avoid duplication by validating references.

Quick Start

Use kn-extract to pull a pattern from a completed task and generate a documentation entry under patterns/.

Frequently Asked Questions about kn-extract

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

FAQPage Schema
How do I extract reusable patterns from completed tasks into documentation?

To extract reusable patterns from completed tasks, the skill identifies generalizable knowledge from task sources and transforms it into centralized pattern docs and templates, linking back to the original tasks.

What is the best way to avoid duplication when creating pattern docs from existing code?

To avoid duplication when creating pattern docs, the skill enforces generalizability and validates references against existing documentation by searching and checking centralized knowledge sources before generating new entries.

How does linking tasks to centralized documentation work?

Linking tasks to centralized documentation works by extracting generalizable knowledge from code or existing docs, creating or updating pattern entries, and establishing explicit references back to the originating tasks.

Can I update existing templates and documentation instead of creating new ones?

Yes, you can update existing templates and documentation. The skill searches centralized knowledge sources, validates references to prevent duplication, and creates new entries or updates existing pattern docs as needed.

Do I need specific APIs to extract knowledge from tasks into pattern docs?

Yes, extracting knowledge from tasks into pattern docs requires using the mcp__knowns__ APIs. These APIs handle searching, creating, updating, and validating centralized documentation to enforce generalizability and avoid duplication.