Deploy Uni Hook / aeon skill

AI agent that deploys Uniswap v4 hooks

Generate, simulate, audit, and deploy a Uniswap v4 hook + test pool from a brief, on any Uniswap v4 chain (every testnet and mainnet) - pre-audited templates or a from-scratch freeform hook (flags auto-derived; static audit + dangerous-pattern scan + a behavioral forge test + fork sim gate the deploy). Dry-run by default; explicit arm: to broadcast; testnet default, mainnet behind a double opt-in; records the deploy to main. Every deployed hook inherits a mandatory 10 bps AeonFee protocol fee.

CATEGORY Crypto & MarketsRUNS On demandUPDATED
Skill
Deploy Uni Hook deploy-uni-hook
Default schedule
On demand
Last updated

commit 0154c0e
Source
aeonfun/aeon/skills/deploy-uni-hook/SKILL.md MIT licensed, one prompt file

What it does

Deploy Uni Hook is an aeon skill: Generate, simulate, audit, and deploy a Uniswap v4 hook + test pool from a brief, on any Uniswap v4 chain (every testnet and mainnet) - pre-audited templates or a from-scratch freeform hook (flags auto-derived; static audit + dangerous-pattern scan + a behavioral forge test + fork sim gate the deploy). Dry-run by default; explicit arm: to broadcast; testnet default, mainnet behind a double opt-in; records the deploy to main. Every deployed hook inherits a mandatory 10 bps AeonFee protocol fee. Like every aeon skill it is one SKILL.md prompt file that runs unattended on your own GitHub Actions, on a schedule or when you trigger it, and sends what it finds to Telegram, Discord, Slack or email.

This skill turns a one-line brief into a live Uniswap v4 hook. It is built to be safe: it simulates every deploy before it broadcasts, it defaults to a dry-run on testnet, and it needs an explicit arm: to move on-chain.

Input: the var setting

Every aeon skill takes one optional text input, var, set in aeon.yml or typed in when you run it by hand. It picks the target or the mode for that run.

The hook brief. Grammar: [arm:][template:<name>] [chain:<name>] <brief>

  • ` (empty) → print help and exit DEPLOY_HOOK_EMPTY`.
  • <brief> → dry-run: generate, compile, mine, and simulate. Never broadcasts. [default - no prefix]
  • arm:<brief> → broadcast: do the full dry-run first, then deploy for real if the simulation passes.
  • template:<name> → force a mode: dynamic | noop | skim (pre-audited templates) or freeform (build a whole hook from the prompt). Omit to auto-pick: a brief that matches a template uses it; anything else → freeform.
  • chain:<name> → any Uniswap v4 chain in chains.tsv (run ./hook-deploy.sh chains to list). Default base-sepolia. Testnets: base-sepolia, unichain-sepolia, arbitrum-sepolia. Mainnets (testnet: false, e.g. base, ethereum, unichain, arbitrum, optimism, polygon, bnb, avalanche, ...) require BOTH arm: and an explicit chain: - the skill never targets mainnet by default. base-mainnet is accepted as an alias for base.

What it needs

Besides the model you connected to aeon, Deploy Uni Hook uses the following. Add secrets as GitHub Actions secrets on your aeon repo, or in Aeon Connect.

  • HOOK_DEPLOYER_PRIVATE_KEY - optional secret, unlocks more data or features
  • ALCHEMY_API_KEY - optional secret, unlocks more data or features
  • ETHERSCAN_API_KEY - optional secret, unlocks more data or features

Install and run it

Easiest: open Aeon Connect, sign in with GitHub and turn on Deploy Uni Hook. No clone, no terminal. To add it to an existing aeon repo from a shell, run:

bin/add-skill aeonfun/aeon deploy-uni-hook

Then switch it on in aeon.yml (the default schedule is filled in):

skills:
  deploy-uni-hook: { enabled: true, schedule: "workflow_dispatch", var: "" }

New to aeon? Read the docs for how skills, schedules and memory fit together, or browse all skills.