微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🚀

安全高效的 DeFi 代币发行部署专家

deploy-agent-token · v0.30
入口已确认,内容待校验 文件树里有 SKILL.md,但正文还没采回,frontmatter 未核对。
开发 安全 A 级 作者 wpank 公开目录收录
669 下载 273 安装 1.6k 收藏 47k 浏览

简介

基于 Clanker 成熟模式的安全代币发行工具,集成 anti-snipe 保护、safety-guardian 模拟验证与 LP 锁定,确保 Uniswap V4 池子安全启动。

原始描述

Deploy an agent token with a Uniswap V4 pool — handles pool creation with configurable hooks (anti-snipe, dynamic fees, revenue share), initial liquidity bootstrapping, LP locking, and post-deployment monitoring. Use when the user wants to launch a token on Uniswap.

通过你的 Agent 添加

安装目录:deploy-agent-token/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/deploy-agent-token/
Codex CLI~/.codex/skills/deploy-agent-token/
DeepSeek Harness~/.agents/skills/deploy-agent-token/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

什么是 deploy-agent-token?

deploy-agent-token 是一项面向 AI Agent 平台的自动化发币技能,主要围绕 Uniswap V4 池的创建与启动流程进行自动化增强。该技能通过声明式的 Markdown 编排层,调度内部子代理 token-deployer,由后者代为执行完整的代币上线生命周期——从验证代币合约、配置 V4 Hooks(防狙击攻击、动态手续费、收入分成等),到引导初始流动性、锁定 LP 代币,并监控上线后的早期市场表现。

这款技能之所以出现,是因为像 Clanker(累计创建超过 585K 个代币、交易量超 50 亿美元)和 BankrBot 这样的 AI 创造平台日益需要一套安全、可重复的标准流程来发币。手动的池配置、缺失的防狙击机制或者不足的流动性瞬间就能毁掉一次代币发行。deploy-agent-token 正是为消除这些风险而设计。

核心用法概览

技能的使用门槛极低。用户只需要提供代币的合约地址和初始流动性数额,即可触发流程。如果需要更多定制化,高级参数也非常全面:配对资产、链选择、初始价格或目标市值、防狙击延迟时长、手续费分成比例、LP 锁定时间以及归属计划等均可灵活配置。技能会自动将这些参数分发到 token-deployer 子代理,后者内部还会进一步调用安全守护者(safety-guardian)和流动性策略师(lp-strategist)两个专业模块。安全守护者会在每笔交易广播之前进行模拟和验证,流动性策略师则负责计算最优的仓位范围和注入方案。最终,系统会生成一份包含池地址、Hook 配置、流动性详情、LP 锁定状态以及早期监控数据的综合报告。

显著优点

  • 自动化与高效:将过去需要数小时手动操作的复杂发币流程,压缩成一个简单的指令调用,大幅提高效率。
  • 内置多重安全措施:默认启用基于 ClankerHook 模型的防狙击机制,配合交易前模拟验证,能在第一时间拦截异常,降低资金被恶意抢跑或盗取的概率。
  • 流动性深度保障:不仅帮忙添加初期流动性,还整合了专业的 LP 做市策略和长期锁仓机制,为市场参与者建立信任。
  • 高度可定制化:预置了防狙击、动态费率、收入分成、时间加权做市(TWAMM)等不同 Hook 组合,可以满足多变的发币场景。
  • 风险提前感知:子代理在创建池之前会验证代币合约,若出现蜜罐(honeypot)特征或其他明显风险,将直接拒绝执行。

潜在缺点或局限性

  • 高度依赖子代理:核心风险在于实际执行全部依赖 token-deployer 子代理。一旦子代理的安全性或逻辑出现缺陷,可能导致用户资金损失,而该技能自身无法内部规避此隐患。
  • 来源可信度不足:当前版本由个人开发者 wpank 维护,属于 T3 信誉等级,缺乏企业级团队背书或长时间社区验证。
  • 版本不成熟:当下版本号仅为 v0.1.0,尚未经过大规模实战检验,未来可能存在不可预见的行为变更或 bug 修复。
  • 许可证缺失:未声明开源许可证,可能在严肃的企业合规审查中造成一定阻碍。
  • Hook 合约验证要求:技能明确要求所有 Hook 合约必须在目标链上部署并通过源码验证。用户如果没有独立核实这些合约,仍可能面临未验证合约引发的风险。

适合的目标群体

  • AI Agent 平台的开发者:希望让平台上的 Agent 以标准化方式安全创建和启动代币。
  • DeFi 创业团队或个人 KOL:需要快速代币发行,且愿意信赖自动化流程来完成专业级配置。
  • 想学习或研究 Uniswap V4 发币流程的技术人士:这个技能的文档本身就是一个很详实的操作范本。

使用该技能可能存在的常规风险

  • 资金安全风险:尽管有安全守护者模拟,但链上操作不可逆。错误的参数配置(尤其是初始价格、流动性分配)仍可能直接造成资金亏损。若 token-deployer 子代理或其引用的合约存在漏洞,用户的资产将承担更大风险。
  • 性能与依赖风险:技能本身只做参数编排,性能瓶颈完全取决于子代理和链上网络状况。在主网拥塞时,交易确认可能变慢或失败滚动,需注意 gas 估算与动态调整。
  • 合规与监管风险:创建和部署代币在不同司法管辖区内可能涉及证券法等法规。技能和报告提供了工具性便利,但使用者需要自行判断代币的法律性质。未声明许可证也意味着使用许可不够明朗。
  • 社区信任风险:LP 锁定时间、防狙击策略等直接影响市场信心。若经验不足,设置了极短的锁定期或关闭了基础保护,可能导致交易者流失或攻击风险急剧上升。

技能正文


name: deploy-agent-token description: Deploy an agent token with a Uniswap V4 pool — handles pool creation with configurable hooks (anti-snipe, dynamic fees, revenue share), initial liquidity bootstrapping, LP locking, and post-deployment monitoring. Use when the user wants to launch a token on Uniswap. model: opus allowed-tools: [Task(subagent_type:token-deployer)]

Deploy Agent Token

Overview

Automates the full lifecycle of launching a token on Uniswap V4: pool creation with configurable hooks, initial liquidity bootstrapping, LP token locking, and post-deployment monitoring. Delegates to the token-deployer agent which handles the critical first hours of a token's life — ensuring proper anti-snipe protections, correct initial pricing, sufficient liquidity depth, and locked LP tokens.

This skill exists because agent platforms like Clanker (585K+ tokens, $5B+ volume) and BankrBot need automated, safe pool creation. Misconfigured pools, missing anti-snipe hooks, or inadequate liquidity can destroy a launch.

When to Use

Activate when the user asks:

  • "Deploy a token for my agent"
  • "Create a Uniswap V4 pool for my token"
  • "Launch a token with anti-snipe protection"
  • "Set up a pool with dynamic fees"
  • "Deploy token on Base with locked liquidity"
  • "Launch my agent token like Clanker"
  • "Create a pool with revenue share hooks"
  • "Bootstrap liquidity for my new token"

Parameters

Parameter Required Default Description
tokenAddress Yes -- ERC-20 token contract address to create a pool for
pairedToken No WETH Quote token to pair with (WETH, USDC, or address)
chain No base Target chain for deployment (must support V4)
initialPrice No -- Desired price per token in the paired token (or derive from targetMarketCap)
targetMarketCap No -- Target market cap in USD — used to calculate initial price from total supply
initialLiquidity Yes -- Amount of each token to seed the pool (e.g., "1M AGENT + 10 WETH")
hooks No anti-snipe Hook configuration: "anti-snipe", "dynamic-fees", "revenue-share", or comma-separated combination
antiSnipeDelay No 2 blocks Anti-snipe delay period in blocks (ClankerHook model)
revenueSharePct No -- Percentage of swap fees directed to token creator (if revenue-share hook enabled)
lpLockDuration No 10 years How long to lock LP tokens (e.g., "10 years", "1 year", "6 months")
vestingSchedule No -- Optional vesting schedule for token allocations

Hook Configuration Guide

  • Anti-snipe (default, recommended): Prevents bot sniping at launch using a 2-block delay (ClankerHook model). Without this, bots can drain initial liquidity within seconds.
  • Dynamic fees: Adjusts pool fees based on volatility or volume. Good for tokens with unpredictable early trading patterns.
  • Revenue share: Directs a portion of swap fees to the token creator. Creates an ongoing revenue stream from trading activity.
  • TWAMM: Time-weighted average market making for gradual price discovery during launch.

Workflow

  1. Extract parameters from the user's request. Determine the token address, paired token, chain, initial price or market cap, liquidity amounts, hook configuration, and LP lock duration. Validate that required parameters (token address, initial liquidity) are provided. If initial price is not specified but target market cap is, note that the agent will calculate the price from total supply.

  2. Delegate to token-deployer agent: Invoke Task(subagent_type:token-deployer) with the extracted parameters. The agent executes a 7-step pipeline:

    • Verify token: Check token contract via metadata (name, symbol, decimals, supply, risk flags). Refuse if honeypot indicators detected.
    • Configure hooks: Select and validate V4 hooks, verify they are deployed on the target chain, calculate hook address requirements.
    • Create pool: Calculate sqrtPriceX96, construct pool key, simulate via safety-guardian, execute initialization.
    • Bootstrap liquidity: Delegate to lp-strategist for optimal range, add liquidity via position manager.
    • Lock LP: Transfer position NFT to time-locked vault, configure lock duration.
    • Monitor: Track price, volume, TVL, and anomalies during the critical first hours.
    • Report: Produce comprehensive deployment report.

    The agent internally delegates to safety-guardian (transaction validation) and lp-strategist (liquidity strategy).

  3. Present results: Format the deployment report for the user, including pool address, hook configuration, liquidity details, LP lock status, and early monitoring data.

Agent Delegation

Task(subagent_type:token-deployer)
  tokenAddress: <0x...>
  pairedToken: <WETH|USDC|address>
  chain: <base|ethereum|...>
  initialPrice: <price in paired token>
  targetMarketCap: <USD value>
  initialLiquidity: <amounts>
  hooks: <anti-snipe,dynamic-fees,revenue-share>
  antiSnipeDelay: <2 blocks>
  revenueSharePct: <percentage>
  lpLockDuration: <10 years>
  vestingSchedule: <schedule>

Output Format

Token Deployment Complete

  Pool:
    Address:    0x1234...abcd
    Chain:      Base (8453)
    Version:    V4
    Pair:       AGENT / WETH
    Fee:        0.30% (tick spacing: 60)
    Hooks:      Anti-snipe (2-block delay) + Dynamic fees
    Init Price: 0.001 WETH per AGENT

  Liquidity:
    Position:   #12345
    Amount:     1,000,000 AGENT + 10 WETH
    Range:      Full range
    Status:     Active

  LP Lock:
    Vault:      0x5555...6666
    Duration:   10 years (unlocks 2036-02-10)
    Position:   #12345

  Early Monitoring (1h):
    Price:      0.00105 WETH (+5.0%)
    Volume:     $45,000
    TVL:        $20,000
    Anomalies:  None detected

  Next Steps:
    - Monitor pool health over the first 24 hours
    - Consider adding more liquidity if TVL grows
    - Share pool address for community trading

Important Notes

  • Pool creation is irreversible. Every pool creation transaction is simulated via safety-guardian before broadcast.
  • Anti-snipe hooks are enabled by default and strongly recommended. Without them, bots can front-run the launch and drain initial liquidity within seconds.
  • All hook contracts must be deployed and verified on the target chain before they can be attached to a pool. Unverified hooks can steal funds.
  • If an existing pool with significant liquidity already exists for the token pair, the agent will warn you and suggest adding to the existing pool instead.
  • LP locking builds market confidence. The default 10-year lock follows the Clanker model. Shorter locks are possible but may reduce trader confidence.
  • Initial price calculation is critical. The agent cross-checks the price against token supply and target market cap to prevent misconfiguration.
  • Post-deployment monitoring runs during the first hours to detect anomalies (sandwich attacks, unusual trades, liquidity removal).

Error Handling

Error User-Facing Message Suggested Action
Token verification failed "Could not verify token at [address]: [reason]." Check the token contract address and chain
Honeypot detected "Token has honeypot indicators. Refusing to create pool." Review the token contract for malicious code
Pool already exists "A pool with $[X] TVL already exists for this pair. Consider adding liquidity instead." Use manage-liquidity to add to existing pool
Hook not deployed "Hook contract [type] is not deployed on [chain]." Deploy the hook first or choose a different hook
V4 not supported "Uniswap V4 is not deployed on [chain]." Choose a chain with V4 support
Insufficient liquidity tokens "Not enough [token] to seed the pool: have [X], need [Y]." Acquire more tokens or reduce initial liquidity
Safety guardian vetoed "Transaction vetoed by safety-guardian: [reason]." Review the veto reason and adjust parameters
LP lock failed "Could not lock LP tokens: [reason]." Check vault contract availability on the chain
Gas estimation failed "Could not estimate gas for pool creation on [chain]." Try again or check chain status

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

finance-accountingblockchaindefitoken-deploymentliquidity-managementuniswapautomation

同类 Skill