elixir-phoenix-hex-publish

elixir-phoenix-hex-publish is a skill for Codex from ccarvalho-eng/codex-elixir-phoenix. It costs 29 tokens per session (852 once invoked), scanned A, original, MIT.

A release workflow for publishing Elixir libraries to Hex.pm, the package registry for Elixir and Erlang projects. It handles release preparation, versioning, changelogs, validation, git tags, GitHub releases, and publication.

In plain words
What is it for?
Use it when cutting a new library version, updating release notes, checking documentation, creating tags and GitHub releases, or publishing to Hex.pm.
Why use it?
It gathers the files and repository details needed for a release and provides repeatable checks before publishing.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when cutting a new library version, updating release notes, checking…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ccarvalho-eng/codex-elixir-phoenix/elixir-phoenix-hex-publish
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ccarvalho-eng/codex-elixir-phoenix --skill elixir-phoenix-hex-publish
Clone the repo
git clone --depth 1 https://github.com/ccarvalho-eng/codex-elixir-phoenix

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for elixir-phoenix-hex-publish

README.md
[![agentmods](https://agentmods.dev/badge/skills/ccarvalho-eng/codex-elixir-phoenix/elixir-phoenix-hex-publish.svg)](https://agentmods.dev/skills/ccarvalho-eng/codex-elixir-phoenix/elixir-phoenix-hex-publish)
Your own site
<a href="https://agentmods.dev/skills/ccarvalho-eng/codex-elixir-phoenix/elixir-phoenix-hex-publish"><img src="https://agentmods.dev/badge/skills/ccarvalho-eng/codex-elixir-phoenix/elixir-phoenix-hex-publish.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 852 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.00852
Opus 5 $0.00015 $0.00426
Sonnet 5 $0.00006 $0.00170
Haiku 4.5 $0.00003 $0.00085

Measured 6d ago against content hash 2d7ee2bd5478, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

elixir-phoenix-hex-publish scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/elixir-phoenix-hex-publish/SKILL.md · 78 lines

How it starts

The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Hex Publish

This skill prepares and publishes Hex.pm releases for Elixir libraries with a repeatable release workflow. Use it when the user wants to cut a new version, check whether docs or wiki content need updates, create the release tag, publish to GitHub, or publish to Hex.

Workflow

  1. Build release context.
  2. Update release artifacts.
  3. Validate locally.
  4. Create the git tag and GitHub release.
  5. Publish to Hex.

Build Release Context

  • Read mix.exs, CHANGELOG.md, and README.md first.
  • Inspect recent tags with git tag --sort=-creatordate.
  • Inspect the current worktree with git status --short.
  • Infer the next version only if the intended bump is obvious from the request or existing draft changes. Otherwise ask.
  • Check whether the README is outdated relative to the release.
  • Check whether the same changes should be reflected in the project wiki. If the repo uses a separate wiki and local wiki content is unavailable, call that out explicitly instead of guessing.

Update Release Artifacts

  • Update mix.exs version.
  • Update CHANGELOG.md using Keep a Changelog style and the release date in YYYY-MM-DD. ONLY list final diff with main. e.g. only add fixes if they were broken on main.
  • If README content is stale, update it in the same change set.
  • If wiki updates are needed but the wiki is not locally available, mention the exact sections that should be updated in the final response.
  • Keep release changes focused. Do not mix unrelated refactors into the release commit.

Validate Locally

  • Use project-specific validation commands when present.
  • For Phoenix projects, prefer the repo alias if one exists. For Aludel, run mix precommit when release edits are complete.
  • If dependency state is out of sync, fix that first with the smallest necessary command such as mix deps.get.
  • Do not tag or publish if validation is failing unless the user explicitly asks to bypass checks.

Create Release Artifacts

  • Confirm the target version before creating release artifacts.
  • Create an annotated tag using the repo convention. Prefer vX.Y.Z if existing tags use that pattern.
  • Push the branch and tag only after local validation passes.
  • Create the GitHub release with gh release create when GitHub CLI is available and authenticated.
  • Use the changelog section for release notes when practical.

Read the full file on GitHub · 78 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 78 lines · 29 tokens per session scan A 2d7ee2bd5478

Subscribe to this mod's changes

elixir-phoenix-hex-publish is a skill published in the GitHub repository ccarvalho-eng/codex-elixir-phoenix (11 stars, last pushed 4mo ago), licensed MIT. It adds 29 tokens to every session and 852 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.