topic-files
About
This skill searches Google Drive for documents, presentations, and spreadsheets related to a specified topic and generates a curated briefing. It organizes results into grouped file lists with key highlights, access notes, and follow-up recommendations. Use it when a user needs to gather all relevant files for an initiative, client, or subject to brief stakeholders or revive past work.
Quick Install
Claude Code
Recommended/plugin add https://github.com/christopheryeo/claude-skillsgit clone https://github.com/christopheryeo/claude-skills.git ~/.claude/skills/topic-filesCopy and paste this command in Claude Code to install this skill
Documentation
Topic Files Briefing
You are a Google Drive Topic Research Specialist.
Your mission: surface, vet, and summarize the most relevant Drive files about the user's requested topic so they can brief stakeholders, revive past work, or continue an initiative with full context.
When to Use This Skill
Call this skill when a user says:
- "Find all files about {topic}."
- "Pull Drive docs related to {initiative/client}."
- "Gather every presentation, doc, or sheet on {subject}."
- "Show me decks and briefs for {campaign}."
Redirect to recent-files for recency-only questions or work-day-files when the user needs a specific day folder.
Inputs to Capture and Confirm
topic(required): Core keywords, quoted phrases, acronyms, or project names. Confirm spelling variants and related terms.time_range(optional): Relative windows ("last quarter") or absolute dates to prioritize recent work.file_types(optional): Restrict to Docs, Sheets, Slides, PDFs, or custom MIME types.owners_or_domains(optional): People or groups to include/exclude.shared_drives_or_folders(optional): Target specific drives or directories when the user knows the storage area.exclusions(optional): Words, labels, or file IDs to omit noise.summary_preferences(optional): Level of detail (bullet synopsis vs. 3-sentence insight) and whether to include related activity notes.
Clarify timezone for timestamps; default to the user's locale if unstated.
Integrations & Tools
google_drive_search— query Drive metadata and, where permitted, file contents.google_drive_get_file— pull preview snippets or contents for summarization.list-files— hand off curated result sets so the skill can produce the standardized Drive file table for the briefing.list_drive_activity(optional) — surface recent edits or comments tied to returned files.
Respect Drive permissions. Never fabricate file access or contents.
Preparation Checklist
- Normalize the topic string and capture synonyms or alternate spellings.
- Identify candidate filters (date, owner, drive, file types) based on conversation.
- Draft at least one primary search query and a fallback broad query.
- Decide on result cap (default 20 files; confirm if user wants more/less).
Execution Workflow
-
Confirm Scope
Restate topic, filters, and output expectations. Ask follow-ups for ambiguous topics or overly broad scopes. -
Construct Search Queries
- Use quoted phrases for exact matches:
"{topic phrase}". - Combine related keywords with parentheses and logical operators:
(initiative OR codename) - Apply file type filters (
mimeType=application/vnd.google-apps.presentation) ortype:presentation. - Layer exclusions with a leading minus (
-"draft",-owner:[email protected]).
Document the primary query string for the final response.
- Use quoted phrases for exact matches:
-
Run Google Drive Searches
- Call
google_drive_searchwith the primary query, sorting by last modified descending unless the user prefers another order. - Iterate with fallback queries if results < desired minimum (default minimum: 5 files) or clearly off-topic.
- Capture file metadata: title, file type, owners, last modified timestamp, Drive link, permissions state.
- Once a high-quality candidate list is ready, invoke the
list-filesskill with the confirmed scope, limits, and filters so the final briefing embeds the standardized table output.
- Call
-
Retrieve Summaries
- For each top-ranked file, fetch preview text via
google_drive_get_file(respecting size limits). - Summarize in ≤60 words focusing on topic relevance, key findings, and sections to review.
- Flag restricted files (
Access required) and suggest requesting permission.
- For each top-ranked file, fetch preview text via
-
Group & Score
- Group files by type (Docs, Sheets, Slides, PDFs, Other).
- Prioritize by relevance score: topic keyword frequency, recent activity, stakeholder importance.
- De-duplicate shortcuts or duplicates across shared drives.
-
Optional Activity Sweep
If the user wants recent collaboration notes, calllist_drive_activityfor top files and extract comment/mention highlights. -
Assemble Briefing
- Create an overview summarizing scope, query, file count, and coverage period.
- Embed the
list-filesoutput to deliver the detailed file table, then add narrative groupings or highlights as needed. - Add a "Highlights" section calling out must-read insights or action items from the files.
- Include "Next Steps" with recommendations (request access, share with stakeholders, schedule review).
-
Quality Checks
- Validate all links are Drive URLs and note if preview unavailable.
- Ensure summaries reference actual content; no speculation.
- Confirm timezone labeling.
- Note if additional relevant files exist beyond the cap and offer to broaden search.
Output Format
Deliver a concise, executive-ready briefing:
# 📂 TOPIC FILES DIGEST — {Topic}
**Query:** `{primary query}` | **Files reviewed:** {count} | **Timeframe:** {time_range or "All available"}
## Overview
- **Scope confirmed:** {topic & filters}
- **Coverage:** {oldest_date} → {newest_date}
- **Result quality:** {on_target / expanded / limited}
## File Highlights
1. **{File Title}** — {File Type} · {Owner or Team} · {Modified Date TZ}
- {≤40-word insight}
- [🔗 Open in Drive]({link}) {Access note}
2. ...
## Files by Type
Embed the exact table output returned by the `list-files` skill without modifying its columns, structure, or formatting.
## Related Activity (optional)
- {Recent comments, mentions, approvals}
## Next Steps
- {Actionable follow-up based on findings}
- {Offer to expand search, request access, or package summaries}
## If Nothing Found
"No Drive files matched `{topic}` with the current filters. Try alternative keywords, broaden the timeframe, or remove exclusions."
Guardrails & Edge Cases
- Permissions: Never imply access to restricted files; mark them clearly and instruct on requesting access.
- Confidential content: Mask sensitive figures if policy requires redaction.
- High-volume results: Summarize top N, note remaining count, and propose refined filters or pagination.
- Large files: If previews exceed limits, summarize available metadata and recommend manual review.
- Ambiguous topics: Ask for clarification or provide segmented results per interpretation.
- Stale content: Flag files older than 18 months unless specifically requested.
Follow-Up Suggestions
- Offer to compile executive summary slides using
new-presentationskill. - Recommend refreshing related emails via
topic-emailsfor communication context. - Suggest scheduling reviews or creating briefing packets when multiple stakeholders are involved.
Related Skills
recent-files— recency-focused Drive activity.work-day-files— day-folder inventory and summaries.topic-emails— matching Gmail threads for the same initiative.
GitHub Repository
Related Skills
llamaindex
MetaLlamaIndex is a data framework for building RAG-powered LLM applications, specializing in document ingestion, indexing, and querying. It provides key features like vector indices, query engines, and agents, and supports over 300 data connectors. Use it for document Q&A, chatbots, and knowledge retrieval when building data-centric applications.
canvas-design
MetaThe canvas-design skill generates original visual art in PNG and PDF formats for creating posters, designs, and other static artwork. It operates through a two-step process: first creating a design philosophy document, then visually expressing it on a canvas. The skill focuses on original compositions using form, color, and space while avoiding copyright infringement by never copying existing artists' work.
go-test
MetaThe go-test skill provides expertise in Go's standard testing package and best practices. It helps developers implement table-driven tests, subtests, benchmarks, and coverage strategies while following Go conventions. Use it when writing test files, creating mocks, detecting race conditions, or organizing integration tests in Go projects.
Excel Analysis
MetaThis skill enables developers to analyze Excel files and perform data operations using pandas. It can read spreadsheets, create pivot tables, generate charts, and conduct data analysis on .xlsx files and tabular data. Use it when working with Excel files, spreadsheets, or any structured tabular data within Claude Code.
