AI SummaryA skill that enables safe, comprehensive searches of Zotero libraries by executing Python code to filter and rank results, preventing context overload crashes. Useful for researchers and developers who need efficient access to large reference collections.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to install the "zotero-mcp-code" skill in my project. Please run this command in my terminal: # Install skill into the correct directory (2 files) mkdir -p .claude/skills/zotero-mcp-code-neversight && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/zotero-mcp-code-neversight/SKILL.md "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/development/zotero-mcp-code-neversight/SKILL.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/zotero-mcp-code-neversight/metadata.json "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/development/zotero-mcp-code-neversight/metadata.json" Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.
Description
Search Zotero library using code execution for efficient multi-strategy searches without crash risks. Use this skill when the user needs comprehensive Zotero searches with automatic deduplication and ranking.
🚀 Basic Usage
For 90% of Zotero searches, use this simple pattern: `python import sys sys.path.append('/Users/niyaro/Documents/Code/zotero-code-execution') import setup_paths from zotero_lib import SearchOrchestrator, format_results
Zotero MCP Code Execution Skill
Search your Zotero library using code execution for safe, efficient, comprehensive searches.
🎯 Core Concept
Instead of calling MCP tools directly (which loads all results into context and risks crashes), write Python code that: • Fetches large datasets (50-100+ items per strategy) • Filters and ranks in code execution environment • Returns only top N results to context Benefits: • ✅ No crash risk (large data stays in code) • ✅ Automatic multi-strategy search • ✅ Automatic deduplication • ✅ Automatic ranking • ✅ One function call instead of 5-10
Multi-Term Searches
Zotero treats multi-word queries as AND conditions! ❌ Wrong: comprehensive_search("Atyal Atayal 泰雅族") → finds 0 results (needs ALL terms) ✅ Right: Search each term separately and merge results (see Pattern 6 below) When to use multi-term OR search: • Multiple spellings (Atayal, Atyal) • Multiple languages (Atayal, 泰雅族) • Synonyms (skill transfer, transfer of learning)
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster