Agent skill

Document Brief

by amd in amd/gaia

Index a document or folder and answer questions about it with quotes from the source.

MITAuto-check passedDocuments & Office

Install Document Brief

skills CLI
$ npx skills add amd/gaia --skill document-brief -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install amd/gaia document-brief --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/amd/gaia.git skills-src && mkdir -p .claude/skills && cp -r skills-src/hub/skills/document-brief .claude/skills/document-brief && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
document-brief
GitHub stars
1.6k
Token cost
~555 tokens
SKILL.md length
244 words
Files
1
Skills in repo
44
Repo updated
First seen
Licence
MIT

At a glance

Index a document or folder and answer questions about it with quotes from the source.

  • Works in 5 steps: Check what is already indexed with… → Index it. index_document(file_path) for… → Answer with query_documents(query). Ask… → …
  • The user points at a PDF
  • SKILL.md covers Procedure, Standing brief format and Fork this
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Document Brief is an agent skill from amd/gaia. 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.

Its SKILL.md is about 560 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office. The repository describes itself as: Build AI agents for your PC. The licence is MIT.

When your agent uses it

  • The user points at a PDF
  • Folder of files and asks what it says
  • What they should worry about

Example prompts

  • “/document-brief”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Check what is already indexed with list_indexed_documents(). If the
  2. Index it. index_document(file_path) for one file, or
  3. Answer with query_documents(query). Ask one focused question at a time;
  4. Quote the source. Every claim in your answer carries the sentence or
  5. Offer the brief. For a document the user has not read at all, lead with

What it can do on your machine

Read from SKILL.md and the folder at commit 6c3bb5c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Document Brief loads about 555 tokens when it runs. Until then it costs about 62 tokens; SKILL.md has 244 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~62
When it runs · the whole SKILL.md, loaded when a task matches
~555

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from amd/gaia at commit 6c3bb5c, republished under its MIT licence (© amd). 244 words, ~555 tokens.

Download SKILL.mdSave it as .claude/skills/document-brief/SKILL.md (or your agent's skills folder).
name
document-brief
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.
license
MIT
version
1.0.0

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.

© amd, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in hub/skills/document-brief of amd/gaia.

Open the folder on GitHubat commit 6c3bb5c

Compare with similar skills

Document Brief next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Document Brief compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Document Brief this skillamd/gaia1.6k—~555Automated safety check: PassMIT
Markdown Article FormatterJimLiu/baoyu-skills26k6 repos~3.5kAutomated safety check: PassMIT
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Obsidian MarkdownAtmosphere/atmosphere3.8k20 repos~1.3kAutomated safety check: PassApache-2.0
DOCXrvdbreemen/OTGW-firmware20733 repos~4.3kAutomated safety check: PassProprietary
Gzh Designisjiamu/gzh-design-skill3.9k1 repos~2.2kAutomated safety check: PassAGPL-3.0

Similar skills

  • Markdown Article Formatter

    JimLiu/baoyu-skills

    Reformats plain text or Markdown articles with frontmatter, a title, a summary, headings, bold, lists and code blocks, and saves a separate formatted copy.

    26k GitHub starsUsed in 6 repos~3.5k tokens
    Documents & OfficeAuto-check passed
  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Obsidian Markdown

    Atmosphere/atmosphere

    Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax.

    3.8k GitHub starsUsed in 20 repos~1.3k tokens
    Documents & OfficeAuto-check passed
  • DOCX

    rvdbreemen/OTGW-firmware

    A skill your agent uses whenever the user wants to create, read, edit, or manipulate Word documents (.docx files).

    207 GitHub starsUsed in 33 repos~4.3k tokens
    Documents & OfficeAuto-check passed
  • Gzh Design

    isjiamu/gzh-design-skill

    微信公众号文章排版引擎,将 Markdown 转换为可直接粘贴到公众号编辑器的 HTML。主题风格从 references/theme-index.md 注册的自定义主题库中选取,自动章节编号、关键词下划线标记、引言卡片、目录导航、代码块、图片/GIF、作者签名。支持 Markdown / Word(.docx) / PDF / 纯文本输入(非 Markdown…

    3.9k GitHub starsUsed in 1 repo~2.2k tokens
    Documents & OfficeAuto-check passed
  • Reads, creates and edits Word .docx files with python-docx, and drops to raw OOXML for tracked changes, comments and byte-exact edits.

    41k GitHub stars~2.5k tokensUpdated 3 days ago
    Documents & OfficeAuto-check passed

More from amd/gaia

All 44 skills in this repo
  • Adds a release eval scorecard to a GAIA hub agent by writing a harness adapter, running a real eval, and wiring the result into the agent's README and release gate.

    1.6k GitHub stars~2.6k tokensUpdated today
    Auto-check passed
  • Walks through releasing a GAIA sidecar agent as a frozen binary plus npm client through the tag-triggered Agent Hub CI pipeline, with a human gate before publishing.

    1.6k GitHub stars~3.6k tokensUpdated today
    Auto-check passed
  • Mines local Claude Code session transcripts with a deterministic Python pipeline to show what the agent is actually used for, how often it fails and what it costs.

    1.6k GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Benchmarks AMD's GAIA agent against Claude Code and across models on quality, honesty, steps, tokens, time and real cost, using gaia eval tasks.

    1.6k GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Guides safe code changes by finding the right file with grep or semantic search, reading before editing, reproducing bugs first, and proving a fix with a real test run.

    1.6k GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Walks through scaffolding, writing and testing a new GAIA agent as a Python class with the SDK, from the base Agent subclass to registered tool methods.

    1.6k GitHub stars~1.5k tokensUpdated today
    Auto-check passed

Questions about Document Brief

What does Document Brief do?

Index a document or folder and answer questions about it with quotes from the source. Document Brief is an agent skill from amd/gaia. Index a document or folder and answer questions about it with quotes from the source.

When should I use Document Brief?

Document Brief fits situations like: the user points at a PDF; folder of files and asks what it says; what they should worry about.

How do I install Document Brief in Claude Code?

Run `npx skills add amd/gaia --skill document-brief -a claude-code`. Or copy the skill folder (hub/skills/document-brief in amd/gaia) into .claude/skills/document-brief in your project. Claude Code loads it when a task matches its description.

How do I install Document Brief in Codex?

Run `npx skills add amd/gaia --skill document-brief -a codex`. Or copy the skill folder (hub/skills/document-brief in amd/gaia) into .agents/skills/document-brief in your project. Codex loads it when a task matches its description.

Can I use Document Brief in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add amd/gaia --skill document-brief -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/document-brief, .gemini/skills/document-brief, .github/skills/document-brief and .opencode/skills/document-brief in your project.

What does Document Brief need to run?

SKILL.md names no scripts, command-line tools or credentials: Document Brief is instructions for the agent only.

Does Document Brief access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Document Brief safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Document Brief use?

Document Brief is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Document Brief use?

About 555 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Document Brief?

Skills that share tags, products or a category with Document Brief: Markdown Article Formatter (JimLiu/baoyu-skills, 26k stars), Markitdown (ImCa0/just-laws, 781 stars), Obsidian Markdown (Atmosphere/atmosphere, 3.8k stars) and DOCX (rvdbreemen/OTGW-firmware, 207 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Document Brief?

amd (a GitHub organization) maintains it in amd/gaia, which has 1,580 GitHub stars. The repository holds 44 skills in this directory. The repository was last updated on October 6, 2026.

Source: amd/gaia on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.