defi-yield-strategy-allocator
它能做什么
这个系统可以帮助你整理和监控数字金融(DeFi)中的投资策略。它会记录预期收益率(APY)、临时性损失风险(无常损失)以及何时调整投资等细节。
适用场景
- ✓当你要为 DeFi 投资设定安全规则和限额时。
- ✓当开发者和审计人员需要共同审查策略时。
- ✓当你需要生成 CSV 或 SQL 等格式的报告,以跟踪规则的执行情况时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/defi-yield-strategy-allocator/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“如何在生产环境中配置并跟踪 DeFi 收益策略分配登记表?”
每周 5 个新技能,1 分钟读完。
工作原理
你先定义投资策略所需的参数和限额,然后从可选项中选择风险和调整的数值。最后,系统会生成标准化文件(例如表格或数据库结构),帮助你进行验证和跟踪。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
DeFi Yield Strategy Allocation Register
What it is: Monitors capital efficiency, yield compounding schedules, and downside protection bounds across decentralized finance yield protocols.
Overview
Provides a standardized, auditable framework and data model for DeFi Yield Strategy Allocation Register operations across distributed engineering and decentralized application systems.
When to Use This Skill
- When formalizing architectural contracts, security invariants, or operational limits for DeFi Yield Strategy Allocation Register.
- When cross-functional review is required between protocol developers, smart contract auditors, and AI engineering agents.
- When generating reproducible CSV, SQL DDL, JSON Schema, and Notion property registers for tracking compliance.
How It Works
- Define the parameters, thresholds, and identity bindings required for the target operational register.
- Select appropriate boundary enforcement values from validated enum select sets.
- Export standardized artifacts (CSV table, SQL DDL, JSON Schema) to integrate into validation CI pipelines.
Field Reference
| # | Field Name | Type | SQL Type | JSON Schema Type | Notion Property Type | Example Value |
|---|---|---|---|---|---|---|
| 1 | Strategy Allocation ID | id |
SERIAL PRIMARY KEY |
integer |
Text | YLD-001 |
| 2 | Target Protocol Strategy | text |
VARCHAR(64) |
string |
Text | Soroban AMM Liquidity Staking |
| 3 | Allocated Capital Principal | currency |
NUMERIC(24,7) |
number |
Number | 100000.0000000 |
| 4 | Base APY Yield % | number |
NUMERIC(6,2) |
number |
Number | 14.25 |
| 5 | Impermanent Loss Risk Score | select |
VARCHAR(32) |
string |
Select | Low (Stablecoin Pair) |
| 6 | Max Protocol Drawdown Cap % | number |
NUMERIC(5,2) |
number |
Number | 5.00 |
| 7 | Automated Harvest Frequency Hours | number |
INTEGER |
number |
Number | 12 |
| 8 | Emergency Unwind Trigger | select |
VARCHAR(64) |
string |
Select | Price Divergence > 3% |
| 9 | Capital Allocation Health | select |
VARCHAR(32) |
string |
Select | Optimum Yield |
| 10 | Portfolio Manager | text |
VARCHAR(64) |
string |
Text | Ranjeet2063 |
| 11 | Last Rebalance Date | date |
DATE |
string, format: date |
Date | 2026-10-01 |
Select Options
Impermanent Loss Risk Score
Low (Stablecoin Pair) | Moderate (Correlated) | High (Volatile)
Emergency Unwind Trigger
Price Divergence > 3% | TVL Drain > 20% | Oracle Failure
Capital Allocation Health
Optimum Yield | Underperforming | Unwinding | Liquidated
Relations
Audit Reference-> links to the formal review documentation or test repository.Target Architecture-> links to the deployed contract or autonomous agent runtime component.
Examples
Prompt
How do I configure and track DeFi Yield Strategy Allocation Register for our production environment?
Recommended Next Step
Generate the unified field schema, SQL DDL migration, and JSON validation schema to register into your system catalog.
Workflow: Define criteria -> Run automated verification -> Record baseline -> Monitor invariants.
Best Practices
- Enforce strict typing on numerical bounds and currency amounts; avoid unstructured free-text fields for critical states.
- Re-run validation test suites on every state-altering commit or parameter change.
- Keep example data synthetic and isolated from production cryptographic keys or private endpoints.
Limitations
- Provides architectural specifications, data models, and verification schemas; does not execute direct transaction signing without authorized external tooling.
- Requires network connectivity and valid RPC credentials when querying on-chain states.
Security & Safety Notes
- All parameters declare
risk: safe. No unauthorized state modification or privileged credential access is performed. - Use synthetic dummy keys and mock addresses in test suites and local verification scripts.
Common Pitfalls
- Problem: Mismatched decimal precision between contract runtime and database register. Solution: Always verify decimals using the explicit field mapping in this reference.
- Problem: Missing authorization checks prior to state update. Solution: Cross-validate against the Security Audit register before deployment.
…
常见问题
什么是“无常损失”?
这是去中心化交易所流动性提供者面临的一种特殊风险。由于价格变化,你的资产价值可能会低于你单纯持有这些资产时的价值。
APY 是什么意思?
APY 是年化收益率(Annual Percentage Yield)的缩写,表示一年内投资的预期收益,包含复利。
这个系统会自动投资吗?
不会。这个系统只帮助你整理和监控策略。它会生成数据和报告,但不会在没有授权的外部工具支持下直接执行金融交易。
详情
作者的原始描述
Multi-vault automated yield strategy allocation register: APY benchmarks, impermanent loss risk tiers, and rebalancing triggers.
热度
- GitHub 星标
- 48k
- 排名
- #4362
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。