document-brief
Index a document or folder and answer questions about it with quotes from the source. Use when the user points at a PDF, contract, spec, report, or folder of files and asks what it says, what changed, or what they should worry about.
- License 许可
- MIT
- 最近更新
- 2026-10-26
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- document-brief
- license
- MIT
- version
- 1.0.0
- metadata
- { "gaia": { "provenance": { "source": "starter-pack" }, "security_tier": "community", "tools_required": [ "index_document", "index_directory", "list_indexed_documents", "query_documents", "summarize_document", "rag_status" ] } }
- description
- Index a document or folder and answer questions about it with quotes from the source. Use when the user points at a PDF, contract, spec, report, or folder of files and asks what it says, what changed, or what they should worry about.
03 SKILL.md 正文
Document Brief
Reading a long document for someone is not summarization — it is answering the question they actually have, with the sentence that proves it.
Procedure
- Check what is already indexed with
list_indexed_documents(). If the file the user named is already there, skip straight to step 3 — re-indexing is slow and buys nothing. - Index it.
index_document(file_path)for one file, orindex_directory(directory_path, recursive=True)for a folder. If indexing fails, runrag_status()and report what it says — do not answer from the filename. - Answer with
query_documents(query). Ask one focused question at a time; a compound question retrieves worse than two simple ones. - Quote the source. Every claim in your answer carries the sentence or figure it came from. If retrieval returns nothing relevant, say "the document does not appear to cover that" — never fill the gap from general knowledge.
- Offer the brief. For a document the user has not read at all, lead with
summarize_document(file_path)and then invite specific questions.
Standing brief format
When the user asks for "a brief" rather than a specific question:
- What it is — one line.
- What matters — the 3–5 points that would change a decision.
- What to watch — obligations, deadlines, numbers that move.
- Open questions — what the document leaves unresolved.
Fork this
Replace the brief format with your domain's checklist and it becomes a reviewer: for a contract, ask for termination, liability, auto-renewal, and payment terms by name in step 3 so they are never skipped.
04 同仓库更多 Skills
web-search
Search the web via the Brave Search API. Use when the user asks about current events or external facts.
triage-support-ticket
Triage an inbound support ticket end to end. Use when the user pastes a support ticket or asks to triage one.
tool-mismatch
Declares a tool its tools.py never registers. Used to prove validation fails loudly with no partial load.
report-archive
Archive a generated report to the user's reports folder and register it with the team's report index. Use when the user asks to file, archive, or publish a finished report.
local-capability
Writes files on the local workspace. Used to prove Phase 1 refuses local-capability permissions.
incident-review
Run an incident postmortem. Stands in for a Claude Code skill library imported read-only from .claude/skills/.