跳到正文
cccskills
免费在 GitHub 公开

four-color-cards

Turn structured documents and a research goal into four cards covering facts, explanations, risks, and suggested actions. Source references and generation details help readers trace the evidence and review uncertainty or overstated claims.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

基于解析后的文档与用户意图,生成四色卡片——事实蓝卡、解释绿卡、风险黄卡、行动红卡,是八官署方法论的核心分析输出。

查看安装方法

适用场景

  • Separate facts and interpretations in research documents
  • Review uncertainty and overstatements in financial reports
  • Trace evidence behind legal document analysis
  • Develop next steps from documented findings

包含的文件(2)

  • SKILL.md2.9 KB
  • scripts/run_four_color_cards.py2.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

四色卡片生成 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 extract
    • python skills/four-color-cards/scripts/run_four_color_cards.py --stage review
    • python 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 强制)。

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Organize AI agents into execution, management, and review roles for complex projects. Choose preset or custom teams, share project context and decisions, and combine their discussions and work into meeting records, feasibility reports, or implementation outputs.

中文简介正在准备中。当前显示英语简介。

  • Reviewing a technical architecture from several perspectives
  • Discussing product pricing across market and cost considerations
  • Assessing a new product's feasibility
anbeime/skill84832026年10月21日 更新

Generate character images, backgrounds, synthetic speech, and music for product videos featuring 小省导购员, a digital shopping presenter. Coordinate these assets with InfiniteTalk to produce a 25-second vertical video made from five scenes.

中文简介正在准备中。当前显示英语简介。

  • Producing a 25-second vertical product presentation video
  • Generating reference images for the 小省导购员 character
  • Creating business setting backgrounds for a video
anbeime/skill84832026年10月21日 更新

Convert PDF, Word, and Excel documents into structured Markdown for search and knowledge bases. The skill tries three parsers in sequence when needed and returns metadata, a confidence score, and the parser used.

中文简介正在准备中。当前显示英语简介。

  • Prepare documents for retrieval-augmented generation
  • Structure documents for an internal knowledge base
  • Extract structured text from contracts
anbeime/skill84832026年10月21日 更新

Organize parsed documents into four color-coded cards covering facts, explanations, risks, and actions. Preserve source references and generation details so readers can review evidence, identify uncertainty, and consider next steps in research, financial, or legal analysis.

中文简介正在准备中。当前显示英语简介。

  • Separating facts from interpretations in financial reports
  • Organizing evidence and risks in legal documents
  • Turning research documents into evidence-linked analysis cards
anbeime/skill84832026年10月21日 更新

Record operations across multiple AI agents and connect events into a traceable history. Search records by tracking ID, time window, or responsible component to support audits and investigations, with local storage available when the vector database fails.

中文简介正在准备中。当前显示英语简介。

  • Trace task dispatch and execution across agents
  • Search audit records by time or responsible component
  • Keep recording events during vector database failures
anbeime/skill84832026年10月21日 更新

Screen documents and external URLs before they enter a processing workflow. Check blocked domains and document permissions, then produce a pass or reject decision, a risk report, and a tracking ID for later review.

中文简介正在准备中。当前显示英语简介。

  • Screening documents before adding them to a knowledge base
  • Checking external URLs against a domain blocklist
  • Reviewing document permissions before processing
anbeime/skill84832026年10月21日 更新

查看 anbeime 的全部技能

报告此技能的问题