freedomintelligence/openclaw-medical-skills/openalex-database
Claude Code and agent skill by freedomintelligence/openclaw-medical-skills
- community
Checking that the SKILL.md file is still in the repository.
Query and analyze scholarly literature using the OpenAlex database. This skill should be used when searching for academic papers, analyzing research trends, finding works by authors or institutions, tracking citations, discovering open access publications, or conducting bibliometric analysis across 240M+ scholarly works. Use for literature searches, research output analysis, citation analysis, and academic database queries.
Install
npx vskill@latest install freedomintelligence/openclaw-medical-skills/openalex-databaseSKILL.md
The same SKILL.md was published earlier as davila7/claude-code-templates/openalex-database.
OpenAlex Database
Overview
OpenAlex is a comprehensive open catalog of 240M+ scholarly works, authors, institutions, topics, sources, publishers, and funders. This skill provides tools and workflows for querying the OpenAlex API to search literature, analyze research output, track citations, and conduct bibliometric studies.
Quick Start
Basic Setup
Always initialize the client with an email address to access the polite pool (10x rate limit boost):
Installation Requirements
Install required package using uv:
No API key required - OpenAlex is completely open.
Core Capabilities
1. Search for Papers
Use for: Finding papers by title, abstract, or topic
2. Find Works by Author
Use for: Getting all publications by a specific researcher
Use the two-step pattern (entity name → ID → works):
Manual two-step approach:
3. Find Works from Institution
Use for: Analyzing research output from universities or organizations
4. Highly Cited Papers
Use for: Finding influential papers in a field
5. Open Access Papers
Use for: Finding freely available research
6. Publication Trends Analysis
Use for: Tracking research output over time
7. Research Output Analysis
Use for: Comprehensive analysis of author or institution research
8. Batch Lookups
Use for: Getting information for multiple DOIs, ORCIDs, or IDs efficiently
9. Random Sampling
Use for: Getting representative samples for analysis
10. Citation Analysis
Use for: Finding papers that cite a specific work
11. Topic and Subject Analysis
Use for: Understanding research focus areas
12. Large-Scale Data Extraction
Use for: Downloading large datasets for analysis
Critical Best Practices
Always Use Email for Polite Pool
Add email to get 10x rate limit (1 req/sec → 10 req/sec):
Use Two-Step Pattern for Entity Lookups
Never filter by entity names directly - always get ID first:
Use Maximum Page Size
Always use per-page=200 for efficient data retrieval:
Batch Multiple IDs
Use batch_lookup() for multiple IDs instead of individual requests:
Use Sample Parameter for Random Data
Use sample_works() with seed for reproducible random sampling:
Select Only Needed Fields
Reduce response size by selecting specific fields:
Common Filter Patterns
Date Ranges
Multiple Filters (AND)
Multiple Values (OR)
Collaboration (AND within attribute)
Negation
Entity Types
OpenAlex provides these entity types:
- works - Scholarly documents (articles, books, datasets)
- authors - Researchers with disambiguated identities
- institutions - Universities and research organizations
- sources - Journals, repositories, conferences
- topics - Subject classifications
- publishers - Publishing organizations
- funders - Funding agencies
Access any entity type using consistent patterns:
External IDs
Use external identifiers directly:
Reference Documentation
Detailed API Reference
See references/api_guide.md for:
- Complete filter syntax
- All available endpoints
- Response structures
- Error handling
- Performance optimization
- Rate limiting details
Common Query Examples
See references/common_queries.md for:
- Complete working examples
- Real-world use cases
- Complex query patterns
- Data export workflows
- Multi-step analysis procedures
Scripts
openalex_client.py
Main API client with:
- Automatic rate limiting
- Exponential backoff retry logic
- Pagination support
- Batch operations
- Error handling
Use for direct API access with full control.
query_helpers.py
High-level helper functions for common operations:
find_author_works()- Get papers by authorfind_institution_works()- Get papers from institutionfind_highly_cited_recent_papers()- Get influential papersget_open_access_papers()- Find OA publicationsget_publication_trends()- Analyze trends over timeanalyze_research_output()- Comprehensive analysis
Use for common research queries with simplified interfaces.
Troubleshooting
Rate Limiting
If encountering 403 errors:
- Ensure email is added to requests
- Verify not exceeding 10 req/sec
- Client automatically implements exponential backoff
Empty Results
If searches return no results:
- Check filter syntax (see
references/api_guide.md) - Use two-step pattern for entity lookups (don't filter by names)
- Verify entity IDs are correct format
Timeout Errors
For large queries:
- Use pagination with
per-page=200 - Use
select=to limit returned fields - Break into smaller queries if needed
Rate Limits
- Default: 1 request/second, 100k requests/day
- Polite pool (with email): 10 requests/second, 100k requests/day
Always use polite pool for production workflows by providing email to client.
Notes
- No authentication required
- All data is open and free
- Rate limits apply globally, not per IP
- Use LitLLM with OpenRouter if LLM-based analysis is needed (don't use Perplexity API directly)
- Client handles pagination, retries, and rate limiting automatically
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/openalex-database/SKILL.md
Popularity
- Repository stars
- 2,777
- Repository forks
- 386
- 7-day trend score
- 40
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/freedomintelligence/openclaw-medical-skills/openalex-database)