[skill]
name = "knowledge-extract"
description = "Extract structured knowledge from a document and store in memory"
version = "0.1.0"
author = "openjarvis"

[[skill.steps]]
tool_name = "file_read"
arguments_template = '{"path": "{file_path}"}'
output_key = "document_content"

[[skill.steps]]
tool_name = "think"
arguments_template = '{"thought": "Extract key facts, entities, relationships, and concepts from the document: {document_content}"}'
output_key = "extracted_knowledge"

[[skill.steps]]
tool_name = "memory_store"
arguments_template = '{"content": "{extracted_knowledge}", "metadata": "knowledge_extract:{file_path}"}'
output_key = "stored"
