hookbuilder
Health Uyari
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Uyari
- fs module — File system access in .github/workflows/ci.yml
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
Add this skill to Codex or Claude Code to build a Uniswap v4 hook, test it, and prepare your Programmable launch submission.
Programmable v4 Builder
A portable Agent Skill for turning a product idea or an existing repository into a complete, reviewable Programmable project with explicit evidence.
Maintained by Programmable · Developed in public · MIT licensed
Install · Use the Builder · Contribute · Security
[!IMPORTANT]
Release status
v0.4.0is the latest published release.maincontains the publicv0.5.1development source. Its
integration onmain, package version, or green CI does not make it a stable release. The Applicant beta onmaincan prepare a review request; it does not approve, deploy, route, register, or launch a project.
Programmable v4 Builder is an evidence-first Agent Skill. It accepts a plain
idea or an existing public repository. Hooks, tokens, apps, games, services, standalone settlement systems, and mixed
projects can all be modeled.
The Builder does not limit unfamiliar work to a fixed catalog. Starters and capability packs speed up repeated work;
unknown ideas remain eligible for architecture review. Local checks stay separate from maintainer review, launch
authority, deployment, provider support, and public availability.
Install the published release
Preview the exact published Skill before installing it:
gh skill preview 0xprogrammable/hookbuilder \
[email protected]
Install the same immutable release for Codex:
gh skill install 0xprogrammable/hookbuilder \
skills/programmable-v4-hook-builder \
--agent codex \
--scope user \
--pin v0.4.0
GitHub's gh skill commands are in preview. Clean package placement has been checked for Codex, Claude Code, and
GitHub Copilot; host behavior remains a separate question. See
Portability and lifecycle before choosing another destination.
From the installed Skill directory, verify its package:
node scripts/verify-skill.mjs --installed
Then give your agent one clear request:
Use the Programmable v4 Builder skill. Start from this idea or repository: <idea or public GitHub URL>. Preserve the intended product, choose the smallest complete architecture, run the available checks, and freeze the exact public source revision and evidence needed for review. Ask before any external write.
What the Builder does
| Stage | Output |
|---|---|
| Understand | Preserves the stated product intent and isolates the owner choices that materially change it. |
| Design | Produces the smallest complete architecture, capability graph, value flow, and repository plan. |
| Build | Uses composable starters and capability packs without treating them as an allowlist. |
| Check | Runs deterministic validation, intent-fidelity checks, security boundaries, and executable evidence where available. |
| Bind | Closes over the exact public source repositories, commits, trees, files, and required evidence. |
| Prepare | Freezes the exact source revision and evidence needed by a separate Applicant review request. |
The Builder loads only the protocol, runtime, liquidity, service, and security material relevant to the confirmed
project.
flowchart TD
A["Idea or public repository"] --> B["Intent and material owner choices"]
B --> C["Architecture and repository plan"]
C --> D["Implementation and local checks"]
D --> E["Exact source revision and evidence"]
E --> R["Hookbuilder Applicant request"]
R --> F["Programmable maintainer review"]
F -. "separate authority and evidence" .-> G["Launch authorization"]
G -. "separate authority and evidence" .-> H["Deployment and public availability"]
Inspect the local router on the development source:
node skills/programmable-v4-hook-builder/scripts/cli.mjs context --mode explore
Submit a hook for review
To use the Applicant 1.1 beta through the Skill, install the exact public beta commit. This commit pin is not a stable
release; v0.4.0 remains the latest published release:
gh skill install 0xprogrammable/hookbuilder \
skills/programmable-v4-hook-builder \
--agent codex \
--scope user \
--pin 2112f31b1ecdab87fdcdc78197ecf3c04b5fb140
Hookbuilder is the canonical Applicant repository (0xprogrammable/hookbuilder, repository ID 1320085947). Copy the
example, replace every placeholder with the exact source-bound values, and validate it locally:
cp submissions/examples/applicant-submission-v1.example.json \
submissions/requests/<source-repository-id>-<hook-id>.json
npm run submission:check -- \
submissions/requests/<source-repository-id>-<hook-id>.json
Then open a pull request with the Applicant template selected in the compare URL:
https://github.com/0xprogrammable/hookbuilder/compare/main...<github-login>:<branch>?expand=1&template=applicant-submission.md
The request binds the exact source commit and tree, applicant GitHub login, nonzero checksummed launch-wallet address,
hook, template and model IDs with SemVer versions, all v4 permissions, fee terms, and the exact live beta route[email protected] on Ethereum Mainnet chain 1. It requests review only; the public address is a declaration, not
wallet access, ownership proof, a signature, or a Registry, Router, provider, deployment, or launch write. See the
Applicant beta guide.
Build it with us
The Builder is maintained by Programmable and developed in public. Contributions are welcome when they improve its
accuracy, composability, efficiency, testability, portability, or documentation without weakening evidence bounds.
| If you found or need | Start here |
|---|---|
| A reproducible defect | Open a bug report |
| A missing capability, source, or integration | Propose a capability |
| A code, documentation, template, or evaluation change | Read the contribution guide |
| A possible vulnerability | Report it privately |
Each rule has one owning layer. Change the canonical contract and its tests instead of copying policy into several
files. Pull requests should name the problem, owning layer, checks run, and remaining evidence boundary.
Evidence boundaries
| A result can establish | It does not establish |
|---|---|
| A specific local check passed for exact bytes | An independent audit or a guarantee that code is safe |
| A package was placed and verified for one host directory | That the host selected or executed the Skill correctly |
| An exact Applicant review request was prepared | Maintainer acceptance, launch authorization, or deployment |
| Deployment or source/runtime evidence exists | Provider indexing, quoting, simulation, execution, or public availability |
| A project resembles an existing template or model | Duplication, ineligibility, or unsafe behavior |
The Builder builds and checks. It does not approve routes, execute trades, audit, deploy, list, endorse, or launch.
Every external write, signature, deployment, publication, credentialed provider action, and material cost requires
separate authority.
main
- Fee applicability follows the exact project graph. Zero-scope work must not invent a market, PoolKey, hook, or fee
receipt. - Each Programmable-canonical execution scope preserves the inclusive 10 bps share of executed gross quote-side swap
or fill volume exactly once. Claim authority and platform administration remain separate roles. - Fee V2 names four settlement profiles. The bundled Solidity kernel evidences only
standard-amm; every other profile
needs its own implementation, custody proof, tests, and review. - Public Applicant review requires exact public GitHub source. Local, private, ZIP-packaged, pasted, or non-GitHub
source can support exploration but cannot enter the public review path. - Applicant requests and local Launch Bundles remain review-only and
NOT_AUTHORIZED; neither grants production or
launch authority.
Read the canonical details in Open-World V2 architecture,
Security and review, and
Programmable platform boundaries.
Repository map
skills/programmable-v4-hook-builder/ canonical portable Skill
references/ routed knowledge, schemas, and policy
assets/ starters, capability packs, reference kernels
scripts/ deterministic tools and package tests
evals/ adversarial agent evaluations
docs/ usage, architecture, security, release records
submissions/ public Applicant schema, example, and review requests
config/plugin.json canonical host metadata
plugins/programmable-v4-builder/ generated, byte-verified Codex payload
mcp/ and .mcp.json canonical Codex-only MCP companion
The portable Skill and root MCP files are canonical. Generated manifests and the Codex payload remain byte-aligned
with them. See Architecture before changing package or host metadata.
Verify from source
Node.js 20 or newer is required. The repository has no npm runtime or development dependencies.
npm test
gh skill publish --dry-run
The two bundled reference fee kernels additionally use Foundry:
cd skills/programmable-v4-hook-builder/assets/reference-kernels/programmable-volume-fee-v1
forge test
cd ../programmable-volume-fee-v2
forge test
Model-backed evaluations are separate because they require provider credentials and may cost money. npm test still
validates their structure; an unavailable model result or provider receipt is never treated as passed.
Documentation
| Goal | Documents |
|---|---|
| Use the Builder | Agent Skill guide · Applicant submission beta |
| Understand the system | Architecture · Open-World V2 · Knowledge routing |
| Extend it safely | Templates and extensions · Security and review · Contribution guide |
| Inspect portability and releases | Portability and lifecycle · Release gates · Release process |
Hookbuilder is the canonical public Applicant pull-request surface. Project source stays in the Applicant's own public
GitHub repository; review remains separate from platform contracts, routing, deployment, and the Explorer.
License and independence
Programmable v4 Builder is independent open-source software under the MIT License. Uniswap is a source
protocol and ecosystem referenced by the Builder. This repository does not claim affiliation with or endorsement by
Uniswap Labs or the Uniswap Foundation.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi