Abstract searcher

From modbender/skill-library-mcp · View interactive version

Abstract searcher is an AI agent skill from the GitHub repository modbender/skill-library-mcp. Add abstracts to .bib file entries by searching academic databases (arXiv, Semantic Scholar, CrossRef) with browser fallback.

How to use this skill

Skill file

Abstract Searcher

Automatically fetch and add abstracts to BibTeX entries.

Usage

Given a .bib file, this skill will:

  1. Parse each BibTeX entry
  2. Search for the abstract using multiple sources:
  1. If APIs fail: Use browser automation to search Google Scholar
  2. Add abstract={...} to each entry
  3. Return the complete modified .bib file

Quick Start

# Process a bib file (API-based)
python3 {baseDir}/scripts/add_abstracts.py input.bib > output.bib

API Sources (No keys required)

  1. arXiv API: http://export.arxiv.org/api/query?search_query=...
  2. Semantic Scholar: https://api.semanticscholar.org/graph/v1/paper/search?query=...
  3. CrossRef: https://api.crossref.org/works?query.title=...
  4. OpenAlex: https://api.openalex.org/works?search=...

Browser Fallback (IMPORTANT!)

When APIs fail to find an abstract, use Chrome browser relay like a real person:

Step 1: Attach Chrome tab

# Check if tab is attached
browser action=tabs profile=chrome

# If no tabs, ask user to click the Clawdbot Browser Relay toolbar icon
# Or use mac-control skill to auto-click it

Step 2: Open Google Scholar and search

browser action=open profile=chrome targetUrl="https://scholar.google.com"
browser action=snapshot profile=chrome

# Type the paper title in search box
browser action=act profile=chrome request={"kind":"type","ref":"search box ref","text":"paper title here"}
browser action=act profile=chrome request={"kind":"press","key":"Enter"}
browser action=snapshot profile=chrome

Step 3: Click the result

# Find the paper in results, click to open
browser action=act profile=chrome request={"kind":"click","ref":"paper title link ref"}
browser action=snapshot profile=chrome

Step 4: Extract abstract from the page

Step 5: Copy and format for BibTeX

# Get the abstract text from snapshot
# Clean it: remove newlines, escape special chars
# Add to bib entry: abstract={...},

Tips:

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.