Personal AI, On Personal Devices
Python
[skill]
name = "compare-docs"
description = "Compare two documents and summarize their differences"
version = "0.1.0"
author = "openjarvis"
[[skill.steps]]
tool_name = "file_read"
arguments_template = '{"path": "{file_a}"}'
output_key = "doc_a"
[[skill.steps]]
tool_name = "file_read"
arguments_template = '{"path": "{file_b}"}'
output_key = "doc_b"
[[skill.steps]]
tool_name = "think"
arguments_template = '{"thought": "Compare the two documents. Identify additions, removals, and modifications. Note structural differences and content changes. Document A: {doc_a}. Document B: {doc_b}"}'
output_key = "differences"
[[skill.steps]]
tool_name = "think"
arguments_template = '{"thought": "Generate a comparison summary with sections: Overview, Key Differences, Added Content, Removed Content, Modified Sections, and Recommendation: {differences}"}'
output_key = "comparison_report"