hexdocs-fetcher
Fetch HexDocs for Elixir libraries with HTML-to-markdown conversion
Install / Use
npx skills add oliver-kriska/claude-elixir-phoenix --skill hexdocs-fetcherInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Content & MediaSupported Platforms
Our assessment of hexdocs-fetcher
hexdocs-fetcher scores 84/100 on our quality scale, 856th of 1,184 Content & Media skills we index.
Its SKILL.md is 3.2 KB long, well organised into 22 sections with 6 code examples: a solid amount of guidance for an agent.
It has 560 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated 3 days ago, so hexdocs-fetcher is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
hexdocs-fetcher compared with similar skills
All 4 of these similar skills score higher than hexdocs-fetcher; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| hexdocs-fetcher (this skill)by oliver-kriska | 84 | 560 | 3d ago | SKILL.md |
| siyuanby siyuan-note | 100 | 46.6k | today | MCP Server |
| algorithmic-artby anthropics | 100 | 177.9k | 13d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 13d ago | SKILL.md |
| designby nextlevelbuilder | 100 | 130.2k | 14d ago | SKILL.md |
Frequently asked questions
- How do I install hexdocs-fetcher?
- Run
npx skills add oliver-kriska/claude-elixir-phoenix --skill hexdocs-fetcher. The install tabs above show the steps for each supported agent. - Which AI agents does hexdocs-fetcher work with?
- It is written for Claude Code, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is hexdocs-fetcher safe to use?
- It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is hexdocs-fetcher still maintained?
- The repository was last updated 3 days ago, so hexdocs-fetcher is actively maintained.
Skill content
View source on GitHubname: hexdocs-fetcher description: "Fetch HexDocs for Elixir libraries with HTML-to-markdown conversion. Use when looking up docs on hexdocs.pm — modules, functions, guides, changelogs." effort: low
HexDocs Fetcher
Efficiently fetch Elixir library documentation from hexdocs.pm using Claude Code's native WebFetch tool.
Usage
When researching libraries, use WebFetch:
# Fetch library overview
WebFetch(
url: "https://hexdocs.pm/oban",
prompt: "Extract the main documentation, including module overview, installation instructions, and key functions. Format as clean markdown."
)
# Fetch specific module docs
WebFetch(
url: "https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.html",
prompt: "Extract the module documentation including all public functions, their specs, and examples."
)
# Fetch getting started guide
WebFetch(
url: "https://hexdocs.pm/ecto/getting-started.html",
prompt: "Extract the complete getting started guide content."
)
Token Efficiency
WebFetch automatically converts HTML to markdown and extracts relevant content:
| Source | Raw HTML | With WebFetch | Benefit | |--------|----------|---------------|---------| | HexDocs page | ~80k tokens | ~15k tokens | 80% reduction | | Phoenix docs | ~120k tokens | ~25k tokens | 79% reduction | | README | ~20k tokens | ~8k tokens | 60% reduction |
Integration with hex-library-researcher
When evaluating libraries, fetch docs efficiently:
# Get library overview with focused extraction
WebFetch(
url: "https://hexdocs.pm/oban",
prompt: "Extract: 1) Installation instructions 2) Main features 3) Basic usage example"
)
Common HexDocs URLs
# Library overview
https://hexdocs.pm/{library}
# Module documentation
https://hexdocs.pm/{library}/{Module}.html
https://hexdocs.pm/{library}/{Module.Submodule}.html
# Guides
https://hexdocs.pm/{library}/guides.html
https://hexdocs.pm/{library}/{guide-name}.html
# API reference
https://hexdocs.pm/{library}/api-reference.html
Prompt Strategies
Use focused prompts for better extraction:
# For API docs
prompt: "Extract all public function docs with @spec and examples"
# For guides
prompt: "Extract the complete guide content preserving code examples"
# For troubleshooting
prompt: "Extract any troubleshooting sections, common errors, and FAQs"
# For configuration
prompt: "Extract configuration options and their defaults"
Caching
WebFetch includes automatic 15-minute caching. When fetching the same URL multiple times in a session, results are cached automatically.
For longer persistence, save to planning directory:
# After fetching, write the result to a file
Write(
file_path: ".claude/plans/{slug}/research/docs/oban.md",
content: "{extracted content}"
)
Tidewave Alternative
If Tidewave MCP is available, prefer mcp__tidewave__get_docs for exact version-matched documentation:
mcp__tidewave__get_docs(module: "Oban.Worker")
This fetches docs for the exact version in your mix.lock.
Iron Laws
- NEVER fetch entire HexDocs sites — always target specific modules or guides
- Use focused prompts — generic fetches waste tokens; specify what to extract
- Prefer Tidewave when available — exact version match beats generic hexdocs.pm
Related Skills
siyuan
46.6kAn open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
design
130.2kComprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, or MuAPI AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG…
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
