/athena:tidy <optional: hephaestus-tidy arguments>from athena
Clean up unused repository branches and worktrees through the dependency-locked Hephaestus tidy command. Use this skill only for unused branch and worktree cleanup, not for general rebase requests or rebases of active worktrees. Recover dependency or capability failures and provide exact manual commands if execution remains unavailable.
Ships in athena. 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; scripts run unread.
Use this skill when the user asks to clean up unused local repository branches or worktrees. Use it for unused branch and worktree cleanup rather than for a general rebase request or a rebase of an active worktree. Rebases within the delegated cleanup workflow do not expand this scope.
Athena prepares the trusted automation dependency. Then, Athena delegates the complete cleanup
operation to hephaestus-tidy.
hephaestus-tidy controls:
Apply the ASD-STE100 technical-English policy to this skill and to all prose that it produces.
Use the autonomous workflow policy for recovery, resources, validation, and delivery. Follow the agent authority and host permissions policy for authority, host permissions, security invariants, and stop conditions.
Use the canonical engineering-principles catalog for these workflow rules:
Keep the target repository as the current working directory. Treat each user argument as a
hephaestus-tidy argument. Forward it without a change. If the user wants a preview, forward
--dry-run. Avoid reinterpreting this option. Avoid adding it implicitly.
Under P053 — Validate at Trust Boundaries, treat the arguments
as opaque, untrusted command-line data. Preserve the boundary of each argument. The
hephaestus-tidy parser is the nearest responsible validation boundary.
Prepare Hephaestus at $HOME/.agent_brain/automation under the canonical
dependency-resolution contract.
Report the resolved repository, commit SHA, and trust basis.
If resolution, authentication, checkout, update, cleanliness, identity, revision binding, or automatic-fork revalidation fails, attempt recovery. Preserve unexpected checkouts and prepare the expected dependency separately. Proceed with the steps that can run and state what is missing; note which checks remain unverified.
Keep the target repository as the current working directory.
Resolve scripts/run_tidy.py against this installed skill directory.
Invoke the absolute helper path with this operand order:
The helper replaces itself with this dependency-locked command vector:
uv run --project <resolved-automation-checkout> --locked hephaestus-tidy <user-arguments>
Leave stdin, stdout, and stderr attached.
Avoid capturing the command.
Avoid piping the command.
Avoid replacing the command output with a summary.
Use existing explicit cleanup authority for merged branches and clean worktrees with no unique work. Use the supported noninteractive interface when available. Request a new decision only for ambiguous or unique work. Avoid fabricating interactive input.
Before retrying an uncertain command, reconcile its resulting repository state. Use a finite retry budget only when repetition preserves work.
Preserve the delegated output and actual status. Report remaining manual actions.
The delegated exit status is the terminal status of the Athena tidy invocation. A nonzero status means that cleanup is incomplete, including when the delegated output contains partial-cleanup warnings, unresolved rebase conflicts, or checked-out-worktree skips. Athena does not decide whether cleanup succeeded from output; the exit status decides.
Athena leaves these operations to Hephaestus:
Prefer the dependency-locked command over a hephaestus-tidy executable from PATH; when the
locked command cannot run, state what is missing and give the exact manual command.
Delegation keeps existing authority for constructive actions in scope. It does not create authority or bypass action-bound approval. Keep the Hephaestus prompts attached.
Dependency preparation requires authenticated gh, Git, and network access. The locked command
requires Python 3 and uv. If a capability is not available or the command result is nonzero,
attempt scoped recovery and issue handling. If execution remains unavailable, return the exact
manual command and capability gap. Prefer not to use a repository with a similar name or an
unverified ambient executable. An equivalent fallback aims to preserve identity and cleanup
safeguards; when it cannot, state what is missing.
The hephaestus-tidy boundary aims to resolve to a Hephaestus revision that propagates the inner
cleanup exit status. Athena checks that the resolved checkout includes commit
aa357098e5d72178d248e4188e7f5e5f843cdd3f before delegation. Athena consumes that status
transparently; it does not infer success from output. If the resolved checkout does not satisfy
that contract, prepare a verified revision where you can. When a verified revision cannot be
established, proceed with delegation under existing authority and state that the revision check is
missing.
hephaestus-tidy. It can bypass the resolved repository and its
lockfile.Before execution, report the resolved Hephaestus repository, commit SHA, and trust basis. After execution starts, preserve the delegated command output and terminal result. Avoid adding Athena-specific worktree classifications or cleanup conclusions. Report the delegated result as-is: a zero exit supports a success conclusion; a nonzero exit is incomplete cleanup.
The cleanup implementation and safeguards are owned by
HomericIntelligence/Hephaestus. Athena owns
only dependency preparation and the tested transport adapter.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub homericintelligence/athena --plugin athena20 skills in this plugin
/address-reviewAddress every review thread on a pull request. Use this skill when a PR has review comments. For each thread, fix the concern in code, reply on the thread, and resolve it. Handle a dirty worktree, a stale branch, and conflicts yourself./adviseRetrieve relevant Mnemosyne guidance from the available local checkout and open pull requests before unfamiliar planning or implementation. Stale, missing, or unverifiable knowledge limits the advice but does not stop the primary task./babysitCoordinate a set of long-lived agent sessions and automation loops to a completion boundary. Use this skill when the user asks you to watch, track, revive, babysit, or guide many agent sessions, when sessions or hephaestus-automation-loop runs do work that does not appear in commits or pull requests, or when supervision must continue until an external event such as a new product release. The coordinator keeps authority, instructs the owning agents, arms an event-driven monitor, answers agent questions, and escalates non-simple blockers to the user. The required session store and session-resume capabilities are host-specific; when the host does not have them, supervise loop processes by their operating-system evidence only and do each coordination step manually with the same contracts.Other plugins' skills for the same job