Agent skill

Submit Hook

by aeonfun in aeonfun/aeon

Submit a deployed Uniswap v4 hook to the public univ4-hooks registry - format the listing, open a PR (issue fallback) so it lists on the hook marketplace.

MITAuto-check passedDevelopment

Install Submit Hook

skills CLI
$ npx skills add aeonfun/aeon --skill submit-hook -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aeonfun/aeon submit-hook --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aeonfun/aeon.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/submit-hook .claude/skills/submit-hook && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
submit-hook
GitHub stars
767
Token cost
~1.3k tokens
SKILL.md length
642 words
Files
2
Skills in repo
82
Repo updated
First seen
Licence
MIT

At a glance

Submit a deployed Uniswap v4 hook to the public univ4-hooks registry - format the listing, open a PR (issue fallback) so it lists on the hook marketplace.

  • Works in 7 steps: Pick the deploy. Read… → Gate it. If the record's network is not… → Name it. Derive a PascalCase… → …
  • Tasks that involve Pull requests
  • SKILL.md covers What lists, and what does not, Steps, Degrade rules and Notes
  • Runs Python scripts from its folder; calls python3; needs GH_TOKEN

What it does

Submit Hook is an agent skill from aeonfun/aeon. Submit a deployed Uniswap v4 hook to the public univ4-hooks registry - format the listing, open a PR (issue fallback) so it lists on the hook marketplace.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `submit-univ4.py`).

It sits in Development, covering Pull requests. It works with Uniswap. The repository describes itself as: The most autonomous AI agent framework: runs unattended on GitHub Actions, self-healing skills, drives Claude Code, Grok, Codex & more. No approval loops. Configure once, forget… The licence is MIT.

When your agent uses it

  • Tasks that involve Pull requests

Example prompts

  • “/submit-hook”

Requirements

  • Python 3

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Pick the deploy. Read memory/state/hook-deploys.json (a list of deploy records). If ${var} is a 0x... address, select the record whose…
  2. Gate it. If the record's network is not mainnet, exit SUBMIT_HOOK_SKIP. If its chain is not one of ethereum base robinhood monad bnb…
  3. Name it. Derive a PascalCase contract-style name from the record's brief/feature (a market-hours gate becomes MarketHoursGate). This is…
  4. Classify it. From the brief and flagNames, choose
  5. Write the listing prose from the brief
  6. Submit. Run the helper (a live mainnet deploy that cleared this instance's deploy gates lists as an aeon, verified hook)
  7. Notify + exit. Send a short note (hook name, chain, PR/issue URL). Exit SUBMIT_HOOK_OK (PR/issue opened or already listed).

What it can do on your machine

Read from SKILL.md and the folder at commit f252074. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • GH_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Submit Hook loads about 1.3k tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 642 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~42
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from aeonfun/aeon at commit f252074, republished under its MIT licence (© aeonfun). 642 words, ~1,342 tokens.

Download SKILL.mdSave it as .claude/skills/submit-hook/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
submit-hook
description
Submit a deployed Uniswap v4 hook to the public univ4-hooks registry - format the listing, open a PR (issue fallback) so it lists on the hook marketplace.
metadata.title
Submit Hook
metadata.category
crypto
metadata.var
a deployed hook address to submit; empty = the most recent live deploy in the ledger
metadata.tags
crypto, dev
metadata.capabilities
writes_external_host

${var} - a hook address (0x...) to submit. Empty means the most recent live mainnet deploy in memory/state/hook-deploys.json.

Today is ${today}. This skill takes a hook this instance already deployed and lists it on the public registry aeonfun/univ4-hooks (the source behind the aeon hook marketplace). It does the formatting the registry expects, then opens a PR. The flags and callbacks are decoded from the address by the registry, so this skill only supplies the address, the chain, and the human-readable listing.

The mechanics (clone, write the entry, regenerate the registry, open the PR, fall back to an issue when there is no push access) live in skills/submit-hook/submit-univ4.py, so all GitHub egress stays inside that helper.

What lists, and what does not

  • Only live mainnet deploys. A dry-run or a testnet deploy is never submitted (the registry lists real, verifiable hooks). Skip with SUBMIT_HOOK_SKIP.
  • Only registry-supported chains. The registry's chains.json covers ethereum base robinhood monad bnb arbitrum unichain. A deploy on any other chain is skipped (SUBMIT_HOOK_UNSUPPORTED_CHAIN); note it and stop.
  • Idempotent. The helper skips if the address (any chain) or the slug is already listed, so re-running is safe.

Steps

  1. Pick the deploy. Read memory/state/hook-deploys.json (a list of deploy records). If ${var} is a 0x... address, select the record whose hookAddress matches it; else select the most recent record with network: "mainnet". No matching record means notify and exit SUBMIT_HOOK_NONE.

  2. Gate it. If the record's network is not mainnet, exit SUBMIT_HOOK_SKIP. If its chain is not one of ethereum base robinhood monad bnb arbitrum unichain, exit SUBMIT_HOOK_UNSUPPORTED_CHAIN (the registry cannot list it yet). Confirm int(hookAddress,16) & 0x3FFF == int(flags,16); if not, the record is inconsistent, so notify and exit SUBMIT_HOOK_BAD_RECORD.

  3. Name it. Derive a PascalCase contract-style name from the record's brief/feature (a market-hours gate becomes MarketHoursGate). This is the marketplace title and the hooks/<slug>.json filename.

  4. Classify it. From the brief and flagNames, choose:

    • category: one of Fees Rewards Access Games Orders Launch. A gate/allowlist is Access; a fee/volatility hook is Fees; a tribute/buyback/leaderboard is Rewards; a block/price/volume game is Games; limit/async/MEV ordering is Orders; launch/anti-bot/anti-rug is Launch.
    • klass: VALUE if the hook returns a delta or moves tokens (a *ReturnDelta flag), FEE if it sets a dynamic LP fee, else GATE.
    • template: map the record's template. dynamic stays dynamic, noop stays noop, anything else (freeform/skim) becomes freeform.
  5. Write the listing prose from the brief:

    • mechanic: one punchy line for the tile.
    • plain: 2-4 plain-language sentences a non-dev follows, for the modal.
    • rules: the exact rules the hook enforces, one per line (2-4).
  6. Submit. Run the helper (a live mainnet deploy that cleared this instance's deploy gates lists as an aeon, verified hook):

    bash
    python3 skills/submit-hook/submit-univ4.py \
      --address "$HOOK_ADDRESS" --chain "$CHAIN" \
      --name "$NAME" --category "$CATEGORY" --klass "$KLASS" \
      --template "$TEMPLATE" --stage deployed --source aeon --verified \
      --date "$(echo "$TIMESTAMP" | cut -c1-10)" \
      --mechanic "$MECHANIC" --plain "$PLAIN" \
      --rule "$RULE1" --rule "$RULE2" [--rule "$RULE3"]

    Add --dry-run first to print the entry and the intended action without touching the registry, then drop it to actually open the PR. The helper prints the PR URL (or the issue URL on a fallback, or already listed).

  7. Notify + exit. Send a short note (hook name, chain, PR/issue URL). Exit SUBMIT_HOOK_OK (PR/issue opened or already listed).

Show full SKILL.md (139 more words)Show less

Degrade rules

  • No ledger or no matching record: SUBMIT_HOOK_NONE (notify, never fail hard).
  • Testnet or dry-run deploy: SUBMIT_HOOK_SKIP.
  • Chain not in the registry: SUBMIT_HOOK_UNSUPPORTED_CHAIN.
  • flags != address & 0x3FFF in the record: SUBMIT_HOOK_BAD_RECORD.
  • No push access to the registry: the helper files the structured submission issue instead and still exits SUBMIT_HOOK_OK.

Notes

  • The registry validates every PR: flags/callbacks are recomputed from the address, the schema is enforced, and the aggregated hooklist.json is checked. The helper regenerates hooklist.json + HOOKS.md before pushing so that check passes.
  • deploy-uni-hook calls this same helper on a successful live deploy, so a hook usually lists itself the moment it lands. Run this skill by hand to resubmit an older deploy or one that failed to auto-list.
  • The helper never puts a token on a command line. It uses the gh CLI, which reads GH_TOKEN from the environment.

© aeonfun, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/submit-hook of aeonfun/aeon.

  • SKILL.md
  • submit-univ4.py

Open the folder on GitHubat commit f252074

Compare with similar skills

Submit Hook next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Submit Hook compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Submit Hook this skillaeonfun/aeon767—~1.3kAutomated safety check: PassMIT
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Check PRonyx-dot-app/onyx32k2 repos~2.3kAutomated safety check: PassMIT
Understand Diff AnalysisEgonex-AI/Understand-Anything85k1 repos~1.4kAutomated safety check: PassMIT
PR Design DocOpenHands/OpenHands90k—~2.4kAutomated safety check: PassMIT

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Check PR

    onyx-dot-app/onyx

    Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.

    32k GitHub starsUsed in 2 repos~2.3k tokens
    DevelopmentAuto-check passed
  • Understand Diff Analysis

    Egonex-AI/Understand-Anything

    Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.

    85k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • PR Design Doc

    OpenHands/OpenHands

    For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…

    90k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • WooCommerce Code Review

    woocommerce/woocommerce

    Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.

    11k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed

More from aeonfun/aeon

All 82 skills in this repo
  • Browses open tasks on the TaskMarket agent-worker market and, with explicit operator approval, creates tasks, tracks submissions and submits finished work.

    767 GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Sets up and manages an Aeon agent instance that runs skills on a schedule through GitHub Actions: starting, rescheduling, debugging, editing skills and mining chat history.

    767 GitHub stars~8.8k tokensUpdated today
    Auto-check: warnings
  • Reads a Base Account's address, portfolio and transaction history through the Base MCP server, and stays strictly read-only in unattended Aeon runs, reporting only changes.

    767 GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Audits every page of a site each day from its sitemap, scores on-page and technical SEO, checks duplicates across pages and reports what changed since the last run.

    767 GitHub stars~5.1k tokensUpdated today
    Auto-check passed
  • Action Converter

    aeonfun/aeon

    5 concrete real-life actions, leverage-scored against open loops with specificity and anti-fluff gates

    767 GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Aeon Config Doctor

    aeonfun/aeon

    Static linter for an Aeon instance's configuration that catches silent failures such as unquoted schedules, duplicate keys, unconfigured skills and broken MCP references.

    767 GitHub stars~3.3k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Submit Hook

What does Submit Hook do?

Submit a deployed Uniswap v4 hook to the public univ4-hooks registry - format the listing, open a PR (issue fallback) so it lists on the hook marketplace. Submit Hook is an agent skill from aeonfun/aeon. Submit a deployed Uniswap v4 hook to the public univ4-hooks registry - format the listing, open a PR (issue fallback) so it lists on the hook marketplace.

When should I use Submit Hook?

Submit Hook fits situations like: tasks that involve Pull requests.

How do I install Submit Hook in Claude Code?

Run `npx skills add aeonfun/aeon --skill submit-hook -a claude-code`. Or copy the skill folder (skills/submit-hook in aeonfun/aeon) into .claude/skills/submit-hook in your project. Claude Code loads it when a task matches its description.

How do I install Submit Hook in Codex?

Run `npx skills add aeonfun/aeon --skill submit-hook -a codex`. Or copy the skill folder (skills/submit-hook in aeonfun/aeon) into .agents/skills/submit-hook in your project. Codex loads it when a task matches its description.

Can I use Submit Hook in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aeonfun/aeon --skill submit-hook -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/submit-hook, .gemini/skills/submit-hook, .github/skills/submit-hook and .opencode/skills/submit-hook in your project.

What does Submit Hook need to run?

Going by SKILL.md and its folder, Submit Hook needs Python for the scripts in its folder, the command-line tools its instructions call (python3) and credentials named GH_TOKEN. Our summary lists: Python 3.

Does Submit Hook access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Submit Hook safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Submit Hook use?

Submit Hook is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Submit Hook use?

About 1.3k tokens (SKILL.md is roughly 5.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Submit Hook?

Skills that share tags, products or a category with Submit Hook: Finishing a Development Branch (obra/superpowers, 296k stars), PR Babysitter (openinterpreter/openinterpreter, 69k stars), Check PR (onyx-dot-app/onyx, 32k stars) and Understand Diff Analysis (Egonex-AI/Understand-Anything, 85k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Submit Hook?

aeonfun (a GitHub organization) maintains it in aeonfun/aeon, which has 767 GitHub stars. The repository holds 82 skills in this directory. The repository was last updated on October 6, 2026.

Source: aeonfun/aeon on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.