update

update is a command for coding agents from AR6420/Hail_Hydra. It costs 10 tokens per session (510 once invoked), scanned A, original, MIT.

A command for updating the Hydra framework, a collection of coding-agent tools, to the newest npm release.

In plain words
What is it for?
It compares installed and published versions, shows relevant changelog entries, and performs the Hydra update when one is available.
Why use it?
It checks whether an update is needed, previews the changes, and explains which settings and files are preserved or replaced.

Command

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.

agentmods
npx agentmods add commands/ar6420/hail_hydra/update
Clone the repo
git clone --depth 1 https://github.com/AR6420/Hail_Hydra

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 update

README.md
[![agentmods](https://agentmods.dev/badge/commands/ar6420/hail_hydra/update.svg)](https://agentmods.dev/commands/ar6420/hail_hydra/update)
Your own site
<a href="https://agentmods.dev/commands/ar6420/hail_hydra/update"><img src="https://agentmods.dev/badge/commands/ar6420/hail_hydra/update.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 510 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00010 $0.00510
Opus 5 $0.00005 $0.00255
Sonnet 5 $0.00002 $0.00102
Haiku 4.5 $0.00001 $0.00051

Measured 4d ago against content hash a4cf61ee028c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

update scanned grade A with 1 finding 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 4d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sL "https://raw.githubusercontent.com/AR6420/Hail_Hydra/main/CHANGELOG.md"
content/commands/update.md · 79 lines

What it actually says

Hydra Update

Run the following steps to update Hydra to the latest version:

Step 1 — Check versions

cat ~/.claude/skills/hydra/VERSION 2>/dev/null || echo "VERSION file not found"
npm view hail-hydra-cc version 2>/dev/null || echo "Package not found on npm"

If the installed version matches the latest npm version, tell the user: "🐉 Hydra is already at the latest version ([version])." and stop here.

Step 2 — Show changelog preview

Fetch the CHANGELOG from GitHub:

curl -sL "https://raw.githubusercontent.com/AR6420/Hail_Hydra/main/CHANGELOG.md"

Parse the changelog to extract entries between the installed version and the latest version. Display a formatted "What's New" section:

🐉 Hydra Update Available: [installed] → [latest]
═══════════════════════════════════════════════════

📋 What's New:
[changelog entries for versions between installed and latest]

If the changelog fetch fails, skip the preview and continue with the update.

Step 3 — Show safety note

Display:

⚠️  What gets replaced:
   • Agent definitions (agents/*.md)
   • SKILL.md, references, commands, hooks
   • VERSION file

✅ What's preserved:
   • Your hydra.config.md settings
   • Agent memory directories (memory/)
   • CLAUDE.md orchestrator notes
   • settings.json hook registrations (re-registered automatically)

Step 4 — Ask for confirmation

Ask the user: "Proceed with update? [Y/n]"

If they decline, respond: "🐉 Update cancelled." and stop.

Step 5 — Run the update

npx hail-hydra-cc@latest --global

Step 6 — Verify

cat ~/.claude/skills/hydra/VERSION

Report to the user:

  • If updated: "🐉 Hydra updated from [old] → [new]. All heads refreshed. Restart Claude Code to load the new files."
  • If error: Show the error and suggest running npx hail-hydra-cc@latest --global manually in their terminal.
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. 4d ago First seen · 79 lines · 10 tokens per session scan A a4cf61ee028c

Subscribe to this mod's changes

update is a command published in the GitHub repository AR6420/Hail_Hydra (48 stars, last pushed 23d ago), licensed MIT. It adds 10 tokens to every session and 510 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.