/elixir:hex-docs-searchfrom elixir
Searches Elixir/Hex package documentation locally and via HexDocs API. Useful when investigating packages like Phoenix, Ecto, or Ash, understanding integration patterns, or finding module/function docs and usage examples.
Ships in elixir. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Search Elixir package documentation. Prioritize local sources, fetch if needed.
deps/<package>/lib/ (source with @moduledoc/@doc), deps/<package>/doc/ (HTML if generated).hex-docs/docs/hexpm/<package>/<version>/.hex-packages/<package>-<version>/site:hexdocs.pmDetermine version from mix.lock, mix.exs, or prompt user if ambiguous.
# Fetch documentation (stores in .hex-docs/)
HEX_HOME=.hex-docs mix hex.docs fetch <package> <version>
# Fetch source code (if docs insufficient or unavailable)
mix hex.package fetch <package> <version> --unpack --output .hex-packages/<package>-<version>
Mention adding .hex-docs/ and .hex-packages/ to .gitignore once per session when fetching occurs.
Powered by Typesense at search.hexdocs.pm.
# Search within a specific package
curl -s "https://search.hexdocs.pm/?q=<query>&filter_by=package:=[<package>-<version>]" \
| jq '.hits[].document | {title, doc, url}'
# Search across all packages
curl -s "https://search.hexdocs.pm/?q=<query>" \
| jq '.hits[].document | {package, title, doc}'
Response fields:
package: Package nametitle: Module/function namedoc: Documentation texturl: Path to append to https://hexdocs.pm# From mix.lock
grep '"<package>"' mix.lock | grep -oE '[0-9]+\.[0-9]+\.[0-9]+'
# Latest from hex.pm
curl -s "https://hex.pm/api/packages/<package>" | jq -r '.releases[0].version'
What SKILL.md sets; muted values are Claude Code's defaults
haikuExplore), in the backgroundThree short reads, in order
npx claudepluginhub bradleygolden/claude-marketplace-elixir --plugin elixir2 skills in this plugin