[skill]
name = "pdf-summarize"
description = "Extract text from a PDF document and generate a structured summary"
version = "0.1.0"
author = "openjarvis"

[[skill.steps]]
tool_name = "pdf_extract"
arguments_template = '{"path": "{pdf_path}"}'
output_key = "pdf_text"

[[skill.steps]]
tool_name = "think"
arguments_template = '{"thought": "Identify the document structure (title, sections, key arguments) from the extracted text: {pdf_text}"}'
output_key = "structure"

[[skill.steps]]
tool_name = "think"
arguments_template = '{"thought": "Generate a comprehensive summary with sections: Overview, Key Points, Conclusions, and Action Items based on: {structure}"}'
output_key = "summary"
