← 返回
数据分析 中文

Abstract Searcher

Add abstracts to .bib file entries by searching academic databases (arXiv, Semantic Scholar, CrossRef) with browser fallback.
通过搜索学术数据库(arXiv、Semantic Scholar、CrossRef)并为 .bib 文件条目添加摘要,支持浏览器回退。
easonc13
数据分析 clawhub v1.0.0 1 版本 99786 Key: 无需
★ 0
Stars
📥 1,399
下载
💾 81
安装
1
版本
#latest

概述

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:
    • arXiv API (for arXiv papers)
    • Semantic Scholar API
    • CrossRef API
    • OpenAlex API
  3. If APIs fail: Use browser automation to search Google Scholar
  4. Add abstract={...} to each entry
  5. 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

  • ScienceDirect: Look for "Abstract" section in snapshot
  • ACL Anthology: Abstract is directly visible at top
  • Springer/Wiley: May need to click "Abstract" to expand
  • PubMed: Abstract is usually visible

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:

  • Use profile=chrome to use real Chrome with your login sessions
  • Google Scholar rarely blocks real Chrome browsers
  • ScienceDirect/IEEE may need institutional login (your Chrome has it)
  • Always verify the paper title matches before copying abstract!

Notes

  • Rate limiting: 2 seconds between API requests
  • Browser fallback should find almost all papers
  • Abstracts are cleaned (newlines removed, escaped for BibTeX)
  • Always verify the abstract matches the correct paper!

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 06:24 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 65,005
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 164 📥 59,856
developer-tools

Sui Move

easonc13
{"answer":"Sui区块链与Move智能合约开发。当用户询问Sui、Move语言、智能合约、对象、交易或Sui上的区块链开发时使用。"}
★ 4 📥 2,260