用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/XSpoonAi/spoon-awesome-skill --skill token-allowance命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Context-aware caption translation skill for SRT/VTT/ASS with bilingual output and optional Gemini CLI fallback.
CRITICAL: Skill composition engine for automatic workflow generation from skill metadata. Triggers: compose skills, orchestrate, workflow, combine skills, skill pipeline, multi-skill, 技能组合, 工作流编排, 技能发现, 自动编排, skill discovery, semantic matching, StateGraph generation
Intelligent content optimization framework for preparing data and content for AI/ML training pipelines with quality analysis, dataset optimization, and hyperparameter suggestions.
基于 SOC 职业分类
正在显示 SKILL.md
| name | token-allowance |
| description | Manage ERC20 token approvals and allowances. |
| version | 1.0.0 |
| author | SpoonOS Contributor |
| tags | ["web3","erc20","defi","security","allowance"] |
A security-focused skill to manage ERC20 token approvals. It allows agents to check current allowances, approve spenders (like DEX routers), and revoke permissions to secure funds.
# Check if Uniswap Router has access to my USDC
allowance = await agent.run_tool(
"manage_allowance",
action="check",
token_address="0xA0b8...",
spender_address="0xE592..."
)
# Approve 100 USDC
await agent.run_tool(
"manage_allowance",
action="approve",
token_address="0xA0b8...",
spender_address="0xE592...",
amount=100.0
)
| Script | Purpose |
|---|---|
| allowance.py | Checks and manages ERC20 allowances |
| Variable | Required | Description |
|---|---|---|
WEB3_RPC_URL | Yes | RPC URL for the blockchain |
PRIVATE_KEY | Yes | Required for 'approve' and 'revoke' actions |