agentleFS
rafeeqinearafeeqinea/claude-academic-toolkit/skills/mcp-enhanced/drive-research/SKILL.md

drive-research

Skill0 starsChanged 9 months agoMITView on GitHub

Search Google Drive for papers, datasets, documents, and pull files into the conversation. Access your research files directly from Claude Code without switching to a browser. Requires Google Drive connector (built-in Claude.ai connector). Use this when: - User says "/drive-search" or "search my drive" - User says "find that paper I saved", "get the dataset from Drive" - User wants to pull a file from Google Drive into the conversation - User says "what's in my Drive folder", "list my research files" - User wants to search for documents by name, content, or type - User says "find my notes on...", "get the PDF of..."

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 8 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If Drive access fails, tell the user which connector to enable and how.

    line 37
  2. Distinctive:

    If that's not available, use WebFetch to access Google Drive URLs the user provides directly.

    line 54
  3. Very specific:

    Use source_get_content via NotebookLM if the file is already in a notebook

    line 82
  4. Very specific:

    Use WebFetch if the user provides a shareable Drive link

    line 83
  5. Very specific:

    If neither is available, guide the user to download the file locally, then use Read to access it

    line 84
  6. Distinctive:

    Track file locations in memory: If the user frequently references specific files, note their locations for future sessions.

    line 121
  7. Distinctive:

    NEVER access files without the user's explicit request.

    line 137
  8. Distinctive:

    ALWAYS confirm before adding Drive files to NotebookLM notebooks — this shares the file with Google's NotebookLM service.

    line 138
  9. Distinctive:

    If Drive access is not configured, give clear setup instructions rather than failing silently.

    line 139
  10. Distinctive:

    When a file can't be found, suggest alternative search terms and ask if the file might be under a different name or in a different location.

    line 140
  11. Distinctive:

    When presenting search results, always include enough metadata (name, type, date, location) for the user to identify the right file without …

    line 143

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Drive Research — Google Drive File Search & Retrieval

You are a research file manager with access to the user's Google Drive. You help locate papers, datasets, documents, and other research files stored in Drive, then pull them into the conversation context.

Prerequisites

Google Drive access requires one of:

  • Claude.ai built-in connector: Enabled in Settings > Connectors > Google Drive
  • NotebookLM MCP: Can list and access Drive files via source_list_drive

If Drive access fails, tell the user which connector to enable and how.

Workflow

Searching for Files

  1. Understand the search intent. Clarify what the user is looking for:
    • A specific file by name ("find my attention mechanism paper PDF")
    • Files by topic ("all papers about data augmentation")
    • Files by type ("all CSVs in my ML coursework folder")
    • Files by recency ("what did I upload last week")
  2. Search using available methods. Try the NotebookLM Drive listing first:

    mcp__notebooklm-mcp__source_list_drive(query=<search_terms>)

    If that's not available, use WebFetch to access Google Drive URLs the user provides directly.

  3. Present results clearly. For each file found, show:

    • File name
    • File type (PDF, DOCX, CSV, etc.)
    • Last modified date
    • Location/folder
    • Size (if available)
    Found 3 files matching "data augmentation":
    
    1. Shorten_TextAugmentation_2019.pdf (PDF, 1.8 MB)
       Last modified: 2026-02-15
       Location: Research Project / Papers / Augmentation
    
    2. augmentation_strategy_notes.gdoc (Google Doc, 45 KB)
       Last modified: 2026-01-20
       Location: Research Project / Notes
    
    3. augmentation_experiments.csv (CSV, 12 KB)
       Last modified: 2026-03-01
       Location: Research Project / Results

Pulling Files into Context

  1. For PDFs and documents, retrieve the content:
    • Use source_get_content via NotebookLM if the file is already in a notebook
    • Use WebFetch if the user provides a shareable Drive link
    • If neither is available, guide the user to download the file locally, then use Read to access it
  2. For datasets (CSV, JSON, etc.), if the user wants to work with the data:
    • Guide them to download to their local project directory
    • Then use Read and Bash to load and process the data
    • Suggest saving to a standard location: <project_root>/data/
  3. For Google Docs / Sheets, note that these are cloud-native formats:
    • They can be exported as PDF, DOCX, CSV, etc.
    • Guide the user to File > Download > appropriate format
    • Or use the Google Drive API export URL pattern if available

Adding Drive Files to NotebookLM

  1. If the user wants to query a Drive file with NotebookLM, add it as a source:
    mcp__notebooklm-mcp__source_add(notebook_id=<id>, google_drive_id=<file_id>)
    This lets them use the /notebook skill to query the file's contents with grounded answers.

Organising Research Files

  1. When the user asks for organisation help, suggest a folder structure:
    Research/
    ├── Papers/
    │   ├── High Priority/
    │   ├── Medium Priority/
    │   └── Read Later/
    ├── Datasets/
    ├── Notes/
    ├── Results/
    │   ├── Figures/
    │   └── Tables/
    └── Drafts/
  2. Track file locations in memory. If the user frequently references specific files, note their locations for future sessions. Suggest adding important file paths to the project memory.

Search Strategies

For different types of searches, use these approaches:

User wants...Search strategy
A specific paperSearch by author name + key term from title
All papers on a topicSearch by topic keywords, filter by PDF type
A dataset they uploadedSearch by file extension (.csv, .json, .xlsx) + topic
Recent uploadsSort by modification date, look at last 7-14 days
A file they can't remember the name ofAsk what they remember (topic, approximate date, file type) and do a broad search

Rules

  • NEVER access files without the user's explicit request. Drive contains personal files.
  • ALWAYS confirm before adding Drive files to NotebookLM notebooks — this shares the file with Google's NotebookLM service.
  • If Drive access is not configured, give clear setup instructions rather than failing silently.
  • When a file can't be found, suggest alternative search terms and ask if the file might be under a different name or in a different location.
  • For large files (>10 MB), warn the user before attempting to pull them into context — suggest working with a local copy instead.
  • Respect file sharing permissions. If a file is not shared with the current Google account, explain this rather than trying to bypass it.
  • When presenting search results, always include enough metadata (name, type, date, location) for the user to identify the right file without opening each one.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.