본문으로 건너뛰기
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(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

四色卡片生成 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 / 1,000자

이 양식은 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/skill8.3천2026년 10월 18일 업데이트

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/skill8.3천2026년 10월 18일 업데이트

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/skill8.3천2026년 10월 18일 업데이트

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/skill8.3천2026년 10월 18일 업데이트

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/skill8.3천2026년 10월 18일 업데이트

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/skill8.3천2026년 10월 18일 업데이트

anbeime의 스킬 모두 보기

이 스킬의 문제 신고