跳到正文
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
许可证
MIT
最近提交
2026年10月13日

hub/skills/document-brief/SKILL.md

在 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.

相似的 Skill

精选

pdf

提取文本和表格、合并拆分、填写表单,也能对扫描件做 OCR。

ANanthropics/skills181k近 7 天新增 1,119 个 star

精选

canvas-design

按设计理念生成海报和视觉作品,输出 PNG 或 PDF。

ANanthropics/skills181k近 7 天新增 1,119 个 star

精选

docx

创建和编辑 Word 文档,支持目录、页码、页眉等排版。

ANanthropics/skills181k近 7 天新增 1,119 个 star

精选

doc-coauthoring

按步骤协作撰写技术方案、提案和决策文档,逐轮修改。

ANanthropics/skills181k近 7 天新增 1,119 个 star

精选

xlsx

读写 Excel 和 CSV,处理公式、格式、图表与数据清洗。

ANanthropics/skills181k近 7 天新增 1,119 个 star

精选

pptx

生成、读取和修改演示文稿,也能合并拆分幻灯片。

ANanthropics/skills181k近 7 天新增 1,119 个 star