一键导入
wikipedia-search
Search and fetch structured content from Wikipedia using the MediaWiki API for reliable, encyclopedic information
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Search and fetch structured content from Wikipedia using the MediaWiki API for reliable, encyclopedic information
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Convert raw Nanopore signal data (FAST5/POD5) to nucleotide sequences using Dorado basecaller. Covers model selection, GPU acceleration, modified base detection, and quality filtering. Use when processing raw Nanopore data before alignment. Note: Guppy is deprecated; use Dorado for all new analyses.
Meta-agent that routes bioinformatics requests to specialised sub-skills. Handles file type detection, analysis planning, report generation, and reproducibility export.
Ancestry decomposition PCA against the Simons Genome Diversity Project
Shotgun metagenomics profiling — taxonomy, resistome, and functional pathways
Semantic Similarity Index for disease research literature using PubMedBERT embeddings
Query the ClinPGx API for pharmacogenomic gene-drug data, clinical annotations, CPIC guidelines, and FDA drug labels
| name | wikipedia-search |
| description | Search and fetch structured content from Wikipedia using the MediaWiki API for reliable, encyclopedic information |
| metadata | {"genetind":{"emoji":"📚","requires":{"bins":["python3"]}}} |
This skill enables Claude to search and fetch content from Wikipedia using the MediaWiki API. It provides more reliable, structured access to Wikipedia than general web search, with support for summaries, full article content, and multi-language access.
Use this skill when you need:
Avoid using this skill for:
The skill is invoked by running the wiki script with a query:
python ~/.genetind/skills/wikipedia-search/scripts/wiki.py "your query" [options]
--mode [search|summary|full] — Operation mode (default: summary)
search: Search for page titles matching the querysummary: Get a concise summary of a specific pagefull: Get the complete article with sections and structure--sentences N — Number of sentences for summary mode (default: 5)--lang CODE — Language code (default: en)en — Englishes — Spanishfr — Frenchde — Germanit — Italianja — Japanesezh — Chineseru — Russianar — Arabicpt — PortugueseSearch for Wikipedia articles matching a term:
python ~/.genetind/skills/wikipedia-search/scripts/wiki.py "quantum computing" --mode search
Output:
{
"mode": "search",
"query": "quantum computing",
"results": [
{
"title": "Quantum computing",
"description": "Study of computers based on quantum phenomena",
"url": "https://en.wikipedia.org/wiki/Quantum_computing"
},
...
],
"count": 10
}
Get a concise summary of a Wikipedia page:
python ~/.genetind/skills/wikipedia-search/scripts/wiki.py "Python (programming language)" --mode summary
Or with custom sentence count:
python ~/.genetind/skills/wikipedia-search/scripts/wiki.py "Albert Einstein" --mode summary --sentences 3
Output:
{
"mode": "summary",
"title": "Albert Einstein",
"exists": true,
"url": "https://en.wikipedia.org/wiki/Albert_Einstein",
"summary": "Albert Einstein was a German-born theoretical physicist...",
"categories": ["1879 births", "1955 deaths", "German physicists", ...]
}
Retrieve the complete article with sections:
python ~/.genetind/skills/wikipedia-search/scripts/wiki.py "Machine learning" --mode full
Output:
{
"mode": "full",
"title": "Machine learning",
"exists": true,
"url": "https://en.wikipedia.org/wiki/Machine_learning",
"summary": "Machine learning is a field of study in artificial intelligence...",
"sections": [
{
"title": "History and relationships to other fields",
"level": 0,
"text": "..."
},
...
],
"categories": [...],
"links": ["Artificial intelligence", "Neural network", ...]
}
Search or fetch content in other languages:
python ~/.genetind/skills/wikipedia-search/scripts/wiki.py "Paris" --mode summary --lang fr
python ~/.genetind/skills/wikipedia-search/scripts/wiki.py "東京" --mode summary --lang ja
When using this skill, follow this workflow:
--mode search to find relevant articles--mode summary or --mode full--mode summary for quick facts--mode full for comprehensive information{
"mode": "search",
"query": "original query",
"results": [
{
"title": "Page Title",
"description": "Brief description",
"url": "https://en.wikipedia.org/wiki/Page_Title"
}
],
"count": 10
}
{
"mode": "summary",
"title": "Article Title",
"exists": true,
"url": "https://en.wikipedia.org/wiki/Article_Title",
"summary": "Summary text...",
"categories": ["Category1", "Category2"]
}
{
"mode": "full",
"title": "Article Title",
"exists": true,
"url": "https://en.wikipedia.org/wiki/Article_Title",
"summary": "Summary text...",
"sections": [
{
"title": "Section Name",
"level": 0,
"text": "Section content..."
}
],
"categories": ["Category1", "Category2"],
"links": ["Related Page 1", "Related Page 2"]
}
{
"mode": "summary",
"title": "Nonexistent Page",
"exists": false,
"error": "Page not found"
}
When presenting Wikipedia content to users:
[Article Title](URL)Example:
According to Wikipedia, Python is a high-level, general-purpose programming
language that emphasizes code readability with the use of significant indentation.
Source:
- [Python (programming language) - Wikipedia](https://en.wikipedia.org/wiki/Python_(programming_language))
The script handles common errors gracefully:
If a page doesn't exist:
"exists": false and "error": "Page not found"If the API request fails:
If Wikipedia-API library is missing:
pip to be available--break-system-packages flag in some environmentspip install Wikipedia-APIWikipedia's API is generally permissive:
The script automatically installs missing dependencies:
subprocess.check_call([
sys.executable, "-m", "pip", "install",
"Wikipedia-API", "--break-system-packages", "--quiet"
])
The --break-system-packages flag is needed for externally-managed Python environments (common on modern Linux distributions and macOS with Homebrew Python).
GeneTind-WikipediaSearch/1.00 — Success1 — General error (page not found, network failure, invalid query, etc.)2 — Import error (dependency installation failed)If you get "Permission denied" error:
chmod +x ~/.genetind/skills/wikipedia-search/scripts/wiki.py
If python3 command doesn't exist, create an alias or use full path to Python interpreter.
If auto-install fails due to venv restrictions, manually install globally:
python3 -m pip install Wikipedia-API --user
--mode search to find exact titleensure_ascii=False for proper Unicode supportLANG=en_US.UTF-8 or similar environment variable# Start with search
python ~/.genetind/skills/wikipedia-search/scripts/wiki.py "neural networks" --mode search
# Get summary of main article
python ~/.genetind/skills/wikipedia-search/scripts/wiki.py "Artificial neural network" --mode summary
# Get full content for deep dive
python ~/.genetind/skills/wikipedia-search/scripts/wiki.py "Artificial neural network" --mode full
# Who is someone?
python ~/.genetind/skills/wikipedia-search/scripts/wiki.py "Marie Curie" --mode summary --sentences 2
# What is something?
python ~/.genetind/skills/wikipedia-search/scripts/wiki.py "Blockchain" --mode summary --sentences 3
# Where is something?
python ~/.genetind/skills/wikipedia-search/scripts/wiki.py "Machu Picchu" --mode summary
# Historical events
python ~/.genetind/skills/wikipedia-search/scripts/wiki.py "World War II" --mode full
# Historical figures
python ~/.genetind/skills/wikipedia-search/scripts/wiki.py "Leonardo da Vinci" --mode summary --sentences 10
# Physics
python ~/.genetind/skills/wikipedia-search/scripts/wiki.py "Quantum entanglement" --mode summary
# Biology
python ~/.genetind/skills/wikipedia-search/scripts/wiki.py "DNA" --mode full
# Chemistry
python ~/.genetind/skills/wikipedia-search/scripts/wiki.py "Periodic table" --mode summary
../web-search/ — Complementary skill for current events and real-time information