Markdown Converter
Agent skill for markdown-converter
Interface with Zotero's MCP server to search and retrieve bibliographic data using advanced semantic search and multi-strategy approaches. Designed for output as a plain markdown formatted outline, suitable for pasting into Logseq. Also offers side-by-side translation of Chinese titles and abstracts for improved English language search within Logseq. Context-aware - uses agents in Claude Code, batched searches in Claude Desktop.
Sign in to like and favorite skills
Interface with Zotero's MCP server to search and retrieve bibliographic data using advanced semantic search and multi-strategy approaches.
Designed for plain markdown outline output: This skill generates bibliographies formatted as plain markdown outlines suitable for pasting into Logseq with:
Context-Aware Skill: This skill automatically adapts its strategy based on the environment:
Search comprehensively, not narrowly. Never settle for a single search attempt. Always:
Detect which environment you're running in:
How to tell: Check if Task tool is available in your tool list.
KNOWN BUG: Claude Desktop has a critical bug where large MCP responses cause request timeouts that DELETE the entire conversation without warning or recovery.
To get comprehensive results safely, use iterative batched searches:
✅ SAFE: Multiple small searches
❌ UNSAFE: Single large search
Instead of one search with limit=50, do 5 searches with different angles:
1. Semantic search: "main concept" (limit=10) 2. Semantic search: "related concept variation" (limit=10) 3. Keyword search: "specific terms" (limit=10) 4. Tag-based search: relevant tags (limit=10) 5. Notes/annotations search: "concept" (limit=10)
This gives ~50 results from different perspectives, safer than one large call.
For user-guided exploration:
1. First batch: limit=10 2. Present results 3. Ask: "Would you like more results, or shall I search from a different angle?" 4. Next batch based on user feedback
Always use these safe defaults:
limit=10 for initial searcheslimit=15 if user explicitly needs moreWhen running in Claude Code, use autonomous agents for comprehensive searches.
Use agents when:
Don't use agents when:
User request: "Find me papers about [topic]"
Agent task:
Search my Zotero library comprehensively for papers about [topic]. Use multiple search strategies autonomously: 1. SEMANTIC SEARCHES (5-6 variations) - Try natural language phrasings - Try different conceptual angles - Use synonyms and related terms - No limit restrictions - get comprehensive results 2. KEYWORD SEARCHES (3-4 variations) - Try exact terms and variations - Try broader/narrower terms - Try related methodology terms 3. TAG-BASED SEARCHES - First use zotero_get_tags to discover relevant tags - Then search by multiple relevant tags - Try tag combinations 4. FULL-TEXT & ANNOTATIONS - Use zotero_search_notes for the concept - Use zotero_get_annotations to find highlights - Search for related concepts in notes 5. SYNTHESIS - Combine all results and deduplicate - Identify the 20-30 most relevant papers - Group by theme/approach if applicable - Provide brief relevance explanations Return a curated list with: - Paper metadata (title, authors, year) - Why each paper is relevant - Thematic groupings if applicable - Coverage note (which strategies found what)
User request: "What do I have by/about [author]?"
Agent task:
Find all items related to [author] in my Zotero library. Search comprehensively: 1. DIRECT AUTHORSHIP - zotero_search_items with author="[author]" - zotero_advanced_search with author field 2. CITATIONS & MENTIONS - zotero_search_notes: "[author]" (cited in my notes) - zotero_get_annotations: "[author]" (mentioned in highlights) - zotero_semantic_search: "[author]'s main concepts/theories" 3. RELATED WORK - Search for concepts/theories associated with this author - Search for methodologies they use - Search for co-authors 4. SYNTHESIS - Organize by: (1) authored by, (2) cited in my notes, (3) related concepts - Include temporal overview if relevant - Note any thematic clusters Return organized results with context about how each item relates to [author].
User request: "Research about X in context Y"
Agent task:
Find papers about [X] in the context of [Y]. Multi-angle search strategy: 1. COMBINED SEARCHES - Semantic: "X in Y" + variations - Semantic: "Y approaches to X" - Advanced: keyword=X AND keyword=Y - Advanced: keyword=X AND keyword=[Y synonyms] 2. SEPARATE THEN CROSS-REFERENCE - Find strong X papers - Find strong Y papers - Identify overlap and connections - Check if X papers mention Y in fulltext - Check if Y papers mention X in fulltext 3. TAG ANALYSIS - Get tags related to X - Get tags related to Y - Search items tagged with both domains - Find bridging concepts in tags 4. ANNOTATION MINING - Search notes for X+Y together - Search notes for X and Y separately - Check if you've annotated connections 5. SYNTHESIS - Papers directly about X in Y context - Papers about X that discuss Y - Papers about Y that discuss X - Papers that bridge both (even if not explicit) Return results grouped by relevance strength and connection type.
User request: "What's related to X?" or "Explore my library for X"
Agent task:
Explore my Zotero library to discover all material related to [X]. Comprehensive discovery approach: 1. DIRECT SEARCHES (Cast wide net) - Semantic search: multiple phrasings of X - Keyword search: X and synonyms - Tag search: X-related tags - Notes/annotations: X mentions 2. EXPANSION PHASE - Analyze top results to identify: * Related concepts and theories * Related methodologies * Related application domains * Related authors - Search for each of these expansions 3. DEEP EXPLORATION - For promising papers, check fulltext for related concepts - Look at tags on promising papers, search those tags - Check annotations for related ideas - Look for cited works mentioned in your notes 4. THEMATIC CLUSTERING - Group all findings by themes/approaches - Identify conceptual clusters - Note connections between clusters - Highlight surprising/unexpected connections 5. SYNTHESIS - Core papers directly about X - Related theoretical frameworks - Methodological connections - Application domains - Surprising/tangential connections worth noting Return a thematic map of your library's coverage of this topic.
Use the Task tool with
subagent_type="general-purpose":
Task( description="Comprehensive Zotero search for X", subagent_type="general-purpose", prompt="[Use one of the task patterns above]" )
ALWAYS use multiple search methods in combination (in both environments):
zotero_semantic_search for conceptual, thematic, or exploratory querieszotero_search_items with multiple keyword variationszotero_advanced_search for precise criteriazotero_get_tags to discover relevant tagszotero_search_by_tag with multiple tag variationszotero_get_collections and zotero_get_collection_items for organized searcheszotero_search_notes to search annotations and highlightszotero_get_item_fulltext for content not in metadataClaude Desktop:
1. zotero_semantic_search: "X" (limit=10) 2. zotero_semantic_search: "X alternative phrasing" (limit=10) 3. zotero_search_items: keyword variations of X (limit=10) 4. zotero_get_tags: look for X-related tags 5. zotero_search_by_tag: if relevant tags found (limit=10) 6. zotero_search_notes: "X" (limit=10) Result: ~50+ results safely retrieved
Claude Code:
Launch agent with Task tool (Pattern 1) Agent performs comprehensive multi-strategy search Returns curated results with synthesis
Claude Desktop:
1. zotero_search_items: author="[Author]" (limit=10) 2. zotero_advanced_search: author + recent years (limit=10) 3. zotero_search_notes: "[Author]" (limit=10) 4. zotero_semantic_search: "[Author]'s main concepts" (limit=10)
Claude Code:
Launch agent with Task tool (Pattern 2)
If initial searches yield poor results:
Ask clarifying questions:
Broaden search:
Check search database status:
zotero_get_search_database_statuszotero_update_search_database if outdatedTry alternative angles:
When the user requests a bibliography or formatted output of search results:
ALWAYS use outline hierarchy (nested bullet points), NEVER use markdown headers (
):
NO BOLD STYLING - use plain text for all content#
Compact citation format:
- Main Topic - Bibliography - A. Category Name - Author(s), Year. Title (English Translation if applicable) - Type: Article Type - Journal: Journal Name, Volume X, Issue Y, Pages Z - Zotero: [zotero://select/library/items/ITEM_KEY](zotero://select/library/items/ITEM_KEY) - DOI: [if available] - Abstract (Chinese): [if applicable] - Abstract (English): [translation or original]
Format rules:
Chinese Abstracts:
Abstract (Chinese): and Abstract (English):Chinese Titles:
中文標題 (English Translation)Author Names:
黃美金 (Huang Mei-Jin)Each bibliography entry must include (when available):
zotero://select/library/items/ITEM_KEY)#, ##, etc.) - use nested bullets only**text**) - use plain text throughout- Indigenous Language Proficiency Certification (原住民族語言能力認證) - Bibliography - A. Core Certification Papers - 黃美金 (Huang Mei-Jin), 2003. 原住民族語言能力認證:回顧與展望 (Indigenous Language Proficiency Certification: Review and Prospects) - Type: Journal Article - Journal: 原住民教育季刊, Issue 9, Pages 5-27 - Zotero: [zotero://select/library/items/W44VF3CG](zotero://select/library/items/W44VF3CG) - Abstract (Chinese): [full Chinese abstract] - Abstract (English): [full English translation] - B. Policy & Historical Context - [next paper...]
When creating bibliographies:
/Users/niyaro/Desktop/ with descriptive filename.md extensionbbedit command)| Tool | Primary Use | Claude Desktop Limit | Claude Code (Agent) |
|---|---|---|---|
| Conceptual discovery | limit=10 | No limit, use liberally |
| Keyword matching | limit=10 | No limit |
| Precise filtering | limit=10 | No limit |
| Discover tags | No limit needed | No limit needed |
| Tag filtering | limit=10 | No limit |
| Annotation search | limit=10 | No limit |
| Highlight retrieval | limit=10 | No limit |
| Full-text access | N/A (single item) | N/A (single item) |
| Collection discovery | No limit needed | No limit needed |
| Recent additions | limit=10 | No limit |
| Update index | N/A | N/A |
Remember: This skill adapts to your environment. In Claude Code, leverage agents for comprehensive autonomous searches. In Claude Desktop, use careful batched searches with safety limits.