Skip to content
FunCoding

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.

Star
1,580
License
MIT
Last commit
Oct 13, 2026

hub/skills/document-brief/SKILL.md

View on GitHub

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

  1. 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.
  2. Index it. index_document(file_path) for one file, or index_directory(directory_path, recursive=True) for a folder. If indexing fails, run rag_status() and report what it says — do not answer from the filename.
  3. Answer with query_documents(query). Ask one focused question at a time; a compound question retrieves worse than two simple ones.
  4. 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.
  5. 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.

Similar Skills

Featured

pdf

Read and edit PDFs: extract text and tables, merge, split, rotate, and fill forms.

ANanthropics/skills181k1,119 new stars in the last 7 days

Featured

canvas-design

Create posters and visual art as PNG or PDF, guided by a design philosophy.

ANanthropics/skills181k1,119 new stars in the last 7 days

Featured

docx

Create and edit Word docs with TOC, page numbers, headers and more.

ANanthropics/skills181k1,119 new stars in the last 7 days

Featured

doc-coauthoring

Co-write specs, proposals and decision docs through a structured, iterative workflow.

ANanthropics/skills181k1,119 new stars in the last 7 days

Featured

xlsx

Read and edit spreadsheets: add columns, compute formulas, format, and clean messy data.

ANanthropics/skills181k1,119 new stars in the last 7 days

Featured

pptx

Create and edit slide decks, generate slides from templates, and extract text.

ANanthropics/skills181k1,119 new stars in the last 7 days