SuperAPI AI Directory

flow-research

Writing & research

View repository

Updated 10-23 23:07

About this skill

Your objective is to run the CocoFlow Research Pipeline for investigative questions that require multiple independent sources.

Pipeline

  1. Planner decomposes the question into source-specific subquestions.
  2. Human approves the retrieval plan before crawlers launch.
  3. Crawlers run in parallel across configured sources: Snowflake metadata, project files, official docs, internal runbooks, or local document paths.
  4. Aggregator combines source-tracked findings.
  5. Publisher writes the report with citations.
  6. Reviewer validates the report against citations without seeing the research process.
  7. Revisor updates the report until Reviewer is satisfied.

Modes

  • Linear mode: one Planner -> Crawler group -> Aggregator -> Publisher pass.
  • Deep mode: each crawler result may produce follow-up subquestions. Depth defaults to 1 and may be configured up to 3. Breadth defaults to 2 and may be configured up to 5.

Configuration

Read [research] and [session] from cocoplus.toml when present:

  • local_doc_paths
  • default_mode
  • max_depth
  • max_breadth
  • require_plan_approval

Exit Criteria

  • The approved plan is recorded before retrieval.
  • Every claim in the report traces to at least one source.
  • Reviewer and Revisor are separated from the crawler process.

Anti-Rationalization

Shortcut / Temptation Why It Fails
Treat the skill as complete because the file exists Skill contracts must describe observable behavior and verification, not just command names.
Skip artifact and safety checks for a small command Small commands still mutate state or guide execution; preserve the same gates.