mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-19 07:59:34 +00:00
Rename high-impact skills to task-oriented names and move plugin-owned skills into their owning plugin folders.\n\nAlign renamed skill frontmatter with the official SKILL.md standard by keeping trigger language in name/description metadata, replacing the old create-skill wizard with build-skill, and updating browser, A0 connector, computer-use, CLI setup, and scheduler skill references.\n\nTighten the recurring cross-provider guidance gaps surfaced by the evidence sweeps: memory requests now avoid promptinclude-file routing, scheduler prompts distinguish cron schedules from planned ISO dates, document questions prefer document_query, skills_tool search/read_file usage is clearer, normal notifications set info/priority 10, and local/host text editors preserve patch intent.\n\nUpdate regression tests for the renamed skills, plugin ownership, prompt budget reality, and standard frontmatter shape.
41 lines
1.2 KiB
Markdown
41 lines
1.2 KiB
Markdown
### document_query
|
|
read local or remote documents or answer questions about them
|
|
prefer this over text_editor when the user says "check/read this document" or asks a question about a document path/url, even for Markdown files
|
|
args:
|
|
- `document`: url path or list of them
|
|
- `queries`: optional list of questions
|
|
- `query`: optional single-question alias
|
|
- without `query` or `queries` it returns document content
|
|
- `document` accepts one path/url or a list for cross-document comparison
|
|
- for local files use full paths; for web documents use full urls
|
|
examples:
|
|
1 read a document
|
|
~~~json
|
|
{
|
|
"thoughts": ["I need the full contents of the report before answering."],
|
|
"headline": "Loading report contents",
|
|
"tool_name": "document_query",
|
|
"tool_args": {
|
|
"document": "https://example.com/report.pdf"
|
|
}
|
|
}
|
|
~~~
|
|
|
|
2 compare documents with questions
|
|
~~~json
|
|
{
|
|
"thoughts": ["I need targeted answers across two documents."],
|
|
"headline": "Comparing two documents",
|
|
"tool_name": "document_query",
|
|
"tool_args": {
|
|
"document": [
|
|
"https://example.com/report-one.pdf",
|
|
"/path/to/report-two.pdf"
|
|
],
|
|
"queries": [
|
|
"Compare the main conclusions.",
|
|
"What changed between the two versions?"
|
|
]
|
|
}
|
|
}
|
|
~~~
|