Paper search with citation
Skill LivXue/paper-search-with-citation/paper_search_with_citation
Paper search with citation skill for LLM agent
npx -y skills add LivXue/paper-search-with-citation --skill paper_search_with_citationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 10 stars10 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use when working with the Academic Paper Search and BibTeX Generation API, including searching papers, retrieving BibTeX citations, and monitoring API manager statistics
SKILL.md
2.9 KB, as published. Nobody here has run it
Academic Search API Usage Guide
Overview
This skill provides comprehensive usage instructions for the Academic Paper Search and BibTeX Generation API, which supports Semantic Scholar API with advanced multi-API key and proxy management. The API offers endpoints for searching papers, retrieving BibTeX citations from DOIs, and monitoring API manager statistics.
When to Use
- Searching academic papers using keywords with optional year filtering
- Retrieving BibTeX citations for papers using DOI
- Checking API health and manager statistics
- Monitoring API key and proxy configuration status
- Checking API key keep-alive task status
- Manually triggering keep-alive checks for idle API keys
- Formatting API responses using jq
API Access Information
- Base URL: http://localhost:8111
- API Documentation: http://localhost:8111/docs
Calling the API with curl
1. Health Check
curl http://localhost:8111/health
2. Search Papers (POST Method)
curl -X POST "http://localhost:8111/search" \
-H "Content-Type: application/json" \
-d '{
"query": "attention",
"limit": 3,
"include_bibtex": true
}'
3. Search Papers (GET Method)
curl "http://localhost:8111/search?query=attention&limit=3&include_bibtex=true&year=2020-2023"
Parameter Description:
query: Search keywords (required)limit: Number of results to return, range 1-20 (optional, default 3)include_bibtex: Whether to include BibTeX, true/false (optional, default true)year: Publication year filter (optional). Supported formats:- Single year:
"2020" - Range:
"2016-2020" - From year:
"2010-" - To year:
"-2015"
- Single year:
4. Get BibTeX Citation (POST Method)
curl -X POST "http://localhost:8111/bibtex" \
-H "Content-Type: application/json" \
-d '{"doi": "10.48550/arXiv.1706.03762"}'
5. Get BibTeX Citation (GET Method)
curl "http://localhost:8111/bibtex/10.48550/arXiv.1706.03762"
Parameter Description:
doi: DOI of the paper (required)
6. View API Manager Statistics
curl "http://localhost:8111/manager/stats"
Return information includes:
- Total configurations
- Healthy configurations
- Rate-limited configurations
- Proxied configurations
- Current index
7. Formatted Output (Using jq)
If jq is installed, you can use it to format JSON output:
# Search and format output
curl "http://localhost:8111/search?query=attention&limit=2" | jq .
# Show only paper titles
curl "http://localhost:8111/search?query=attention&limit=3" | jq -r '.papers[].title'
# Get BibTeX and save to file
curl "http://localhost:8111/bibtex/10.48550/arXiv.1706.03762" | jq -r '.bibtex' > paper.bib