antinet-four-color-cards
财务和投资分析师、律师助理与法律助手在撰写金融研报或分析法律文档时,必用此技能!基于解析文档一键生成事实蓝卡、解释绿卡、风险黄卡与行动红卡。自动完成深度剖析与风险排查,产出100%可溯源的结构化四色报告,让复杂分析高效且严谨。
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-10
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- antinet-four-color-cards
- assign_when
- 该 Worker 负责把结构化文档转化为可审计的事实-解释-风险-行动卡片,并需与监察院(过度声明检测)和丞相府(行动建议)协同。
- description
- 财务和投资分析师、律师助理与法律助手在撰写金融研报或分析法律文档时,必用此技能!基于解析文档一键生成事实蓝卡、解释绿卡、风险黄卡与行动红卡。自动完成深度剖析与风险排查,产出100%可溯源的结构化四色报告,让复杂分析高效且严谨。
02 资源文件 2
- 许可证LICENSE3.0 KB
- 脚本scripts/run_four_color_cards.py2.4 KB
03 SKILL.md 正文
四色卡片生成 Skill(通政司 + 监察院 + 丞相府)
使用方式
- 由通政司 Worker 主调用,生成蓝卡(事实)/ 绿卡(解释)。
- 黄卡(风险)交由监察院复核过度声明;红卡(行动)交由丞相府补全策略建议。
- 四卡片统一经太史阁留痕,保证每张卡片可溯源。
输入(Input)
markdown:密卷房解析产出的结构化文档intent:用户意图 / 查询目标llm_available:LLM 是否可用(影响黄卡生成路径)
输出(Output)
blue_card:事实卡——可溯源的陈述,附来源片段green_card:解释卡——对事实的机制/背景说明yellow_card:风险卡——过度声明、不确定性与潜在偏差(经监察院复核)red_card:行动卡——下一步建议(经丞相府补全)
依赖(Dependencies)
- LLM API(生成蓝/绿/红卡)
- 过度声明检测规则集(监察院提供,用于黄卡)
- 解析置信度(来自 doc-parse,低置信度触发人工复核标记)
失败处理(Failure Handling)
- LLM 不可用 → 降级到规则引擎生成卡片,黄卡/红卡显式标注「未启用 LLM」。
- 监察院复核超时 → 黄卡暂以规则引擎结果交付,并标记
pending_review。 - 来源缺失 → 对应事实在蓝卡中标注「无来源」,不直接生成断言。
复用价值(Reuse Value)
- 方法论通用:科研分析、金融研报、法律文档分析均可套用四色卡片框架。
- 可审计性强:每张卡片带来源与生成方式,天然契合 Agent Infra 的可观测/审计评审维度。
复赛代码包执行(runnable package)
- 真实入口:
scripts/run_four_color_cards.py --stage {extract|review|propose} - 三个子任务映射:
extract→ 通政司comm.tongzhengsi.TongZhengSiAgent(蓝卡:事实抽取)review→ 监察院audit.jichayuan.JianChaYuanAgent(绿卡:Gap/解释)propose→ 丞相府strategy.chengxiangfu.ChengXiangFuAgent(红卡:行动建议)
- 运行示例:
python skills/four-color-cards/scripts/run_four_color_cards.py --stage extractpython skills/four-color-cards/scripts/run_four_color_cards.py --stage reviewpython skills/four-color-cards/scripts/run_four_color_cards.py --stage propose
- 产物:
examples/snse_survey/skill_outputs/four_color_<stage>.json - 溯源铁律:绿卡 cite 蓝卡、红卡 cite 绿卡/蓝卡,无来源不得入库(由 card_model 强制)。
04 同仓库更多 Skills
writing-dna-skill
从至少 20 篇完整文章中蒸馏可复用的写作 DNA,分析语言、文章结构、选题逻辑、素材策略、认知框架和视觉风格,并生成 Writing-DNA.md;按该 DNA 写作时会读取全部蒸馏产物和 5 篇相关原文。用于中英文作者、账号、品牌或出版物的风格分析与一致性写作。 Distill reusable Writing DNA from at least 20 complete articles for Chinese or English authors, publications, brands, and accounts; use for language, structure, topic logic, source strategy, cognitive-frame, and visual-style analysis.
ub-quality-gates
Uncle Bob 编程纪律与确定性质量门工具链。写代码或改代码时使用:先让它能跑,再让它正确,最后守纪律。 当用户要求 /ub-mode、需要代码质量门禁、CRAP 评分、重复代码检测、变异测试、 或抱怨代码难懂/难测/有重复时触发。覆盖 Clojure/Java/Go/TypeScript/Rust/Python。
tweet-composer
Score and optimize tweets based on X's real open-source ranking algorithm. Analyzes draft tweets against the actual ranking code — not generic tips. Use when: composing tweets, optimizing drafts for reach, planning threads, analyzing why a tweet performed well/poorly, or asking for posting strategy advice.
short-video-scripter
Use when the user asks to "script this short video", "write a TikTok / Reels / Shorts script", "给这条抖音或视频号视频写脚本", or "fix the hook — viewers drop off in the first seconds"; produces timestamped beat-sheet scripts on the retention-gate model (0-2s hook / 2-5s confirmation / 5-15s payoff / loop-or-CTA) with per-scene script lines, on-screen text for muted viewing, asset keywords, and 9:16 format-param rows per platform norm card for TikTok, Reels, Shorts, 抖音, and 视频号 — plus 2-3 hook options from named hook families and an AI-content disclosure line by default on realistic synthetic media. Spec-only: rendering, TTS, and publishing stay with the user's own tools — no pipelines, no upload automation. Not for creator video briefs — use brief-generator; long-form video SEO belongs to content-writer. 短视频脚本/抖音分镜/开头钩子/竖屏9:16
remotion-video-master
Remotion 视频编程大师 — 用 React 组件以编程方式创建 MP4 视频。支持动画、字幕、音乐可视化、 AI 配音(TTS)与场景自动配时。触发词:用代码做视频、编程视频、React 视频、Remotion、 /remotion-video。适用场景:程序化视频(批量生成、数据驱动如年度总结、音乐可视化、自动字幕)、 教程讲解视频(技术概念可视化如 CNN 与算法、分层递进讲解、AI 配音教程)、 3D 视频(产品展示与模型动画、卡通角色讲解、3D 数据可视化、Logo 动画)。
short-videos
Produce 90-second universal short-video scripts (HeyGen / Instagram Reels / LinkedIn Video / YouTube Shorts) and standalone LinkedIn posts using native Hermes tools. No Claude Code dependency.