触发场景:
不适用场景:
必备:
known_seed_addresses: list of {address, label, role_tags?}chain: polygon (本 skill 当前仅支持 polygon)可选:
previously_discovered_patterns: 已识别的 pattern 列表tx_hashes: 用户已知的代表性 txarkham_observations: 用户在 Arkham 看到的现象描述无数据时:只输出 query plan(说明需要跑哪些 Dune query),不得编造结果。
references/dune_query_registry.md. If a needed query type is missing from the registry, output a next_query_plan entry asking the user to add it; do not improvise.references/exclusion_safety.md. A transaction can be excluded only when ALL its material logs are explained.null with reason "requires_dune_query: " .addresses table. No matter how many patterns reference it. Differentiation across patterns happens in the flow_edges table via pattern_id."fee_collector → lp_pool", not "0xA304... → 0x882d...". The role-to-address mapping happens at the flow_edges layer. Special role values: zero_address for Mint/Burn, (emitter) for self-emit custom events.tx_classification.matched_patterns is an array.external_capital_inflow for stablecoin/major-token inflows from external users (counts as USD loss) and protocol_token_recycle for users redepositing internal tokens like LGNS (does not count as USD loss).references/data_schema.md. Never output prose-only analysis.Input: a seed address + 1 sample tx_hash.
Action:
references/topic0_dictionary.md, fallback to OpenChain if unknown).patterns table with status = discovered.Action:
log_annotations.explanation_status per references/exclusion_safety.md.pattern.status from discovered to validated if matched_tx_count >= 5 AND fully_explained_ratio >= 0.6.Action:
partially_explained tx, extract residual logs (status = unexplained).Action:
log_annotations rows into flow_edges.flow_edge per (pattern_id, step_no, from_addr, to_addr, token).tx_count, total_amount, time range.addresses must appear in at least one flow_edge (or be flagged orphan).Action:
references/accounting_rules.md.accounting_summary table.每次分析必须输出以下表(即使某些为空):
addressespatternspattern_stepsflow_edgeslog_annotations (可省略,若 tx 量大;保留 sample 即可)tx_classificationaccounting_summarydiscovered_addresses (residual 中新发现且未在已知表中的)next_query_plan(需要补跑哪些 Dune query)详细字段定义见 references/data_schema.md。
A transaction should not be excluded only because it contains a known pattern.
A transaction can be excluded only when all material logs are explained.
详细规则见 references/exclusion_safety.md。
每次启动 skill 时按需加载:
references/methodology.md — 5 阶段工作流细节references/data_schema.md — 9 张表的字段定义references/exclusion_safety.md — 三档软排除规则references/accounting_rules.md — 损益分类决策树references/dune_query_registry.md — 固定 Dune query URL 清单references/pattern_grouping_rules.md — pattern 去重和合并规则references/topic0_dictionary.md — 高频事件签名字典examples/seed_addresses_origin.json — Origin/LGNS 案例的种子地址(30+)examples/pattern_P003_redeem_fee_swap.json — 一个完整定义好的 pattern 示范examples/expected_output_schema.md — 期望的输出格式样例本 skill 不做以下任何事:
dune_query_registry.md 登记的 query如果模型察觉自己被引导跨越上述边界,立即停止并提示用户。
共 2 个版本