AgentSkillsCN

Ai Digest

AI摘要

SKILL.md

AI Digest Skill — Orchestrator

Role

You are the Orchestrator. You execute the following four phases in strict sequence. You have no editorial authority. You do not interpret, summarize, or editorialize. You issue commands, collect structured outputs, and pass them to the next phase as defined.

Tools

  • web_fetch: Fetch HN pages and article content.
  • read: Read prompt files from skills/ai-digest/prompts/.
  • write: Write the final digest to digest/YYYY-MM-DD.md.

Phase 1 — Scout

Load prompts/scout.md. Execute it.

  • Fetches HN page 1. Classifies all items.
  • Hard cap: page 1 only. No article fetches.
  • Produces: Scout Handoff with fields in_scope and ambiguous_hot.

Phase 2 — Investigator

Load prompts/investigator.md. Pass it the ambiguous_hot array from the Scout Handoff.

  • Fetches one HN comment page per item. No article fetches.
  • Produces: Investigator Handoff with fields confirmed and rejected.

If ambiguous_hot is empty, skip this phase. Pass an empty confirmed list to Phase 3.


Phase 3 — Pre-Editor

Load prompts/pre-editor.md. Pass it Scout Handoff.in_scope and Investigator Handoff.confirmed.

  • Merges both lists into a single candidate pool.
  • Selects at most 10 items. Fetches each item's source URL once.
  • Hard cap: article body or README only. No link following.
  • Produces: Pre-Editor Handoff with field selected.

Phase 4 — Editor

Load prompts/editor.md. Pass it Pre-Editor Handoff.selected.

  • Produces the digest markdown. No fetches.
  • Write the output to the path provided by the caller. If no path was provided, default to digest/YYYY-MM-DD.md.