AgentSkillsCN

onchain-alpha

适用于从区块链状态、资金流动与钱包行为中提取预测性信号的链上阿尔法工作流。当任务涉及将链上数据转化为可交易的加密阿尔法,并辅以稳健的泄漏控制时,可选用此类工作流。

SKILL.md
--- frontmatter
name: onchain-alpha
description: "Onchain alpha workflows for extracting predictive signals from blockchain state, flows, and wallet behavior. use when tasks involve translating onchain data into tradable crypto alpha with robust leakage controls."

Onchain Alpha

objective

Generate and validate onchain-derived alpha with timestamp integrity and execution-aware evaluation.

workflow

  1. define onchain entities, events, and labeling conventions.
  2. build features from transfers, liquidity pools, and wallet cohorts.
  3. align onchain timestamps with tradeable market snapshots.
  4. validate predictive value after fees, latency, and slippage.
  5. deploy only when signal robustness survives regime and venue changes.

required diagnostics

  • feature decay and information half-life diagnostics.
  • wallet-cohort concentration and crowding indicators.
  • onchain-to-market timestamp alignment error metrics.
  • cross-venue execution slippage on signal triggers.
  • performance stability across chain congestion regimes.

risk controls

  • enforce anti-leakage checks on event finality and reorg handling.
  • enforce capacity and crowding limits for deployable size.
  • enforce fallback behavior during chain-data outages.

outputs

  • run python scripts/onchain_alpha_diagnostics.py input.csv --output diagnostics.json and keep the json artifact.
  • write an implementation memo using references/onchain-alpha-playbook.md with assumptions, tests, limits, and rollout plan.

resources

  • use scripts/onchain_alpha_diagnostics.py for deterministic diagnostics.
  • use references/onchain-alpha-playbook.md for the domain checklist and delivery structure.