AAnvio
Reference ArchiveSource Docs

Workflow → Skill pattern

Hermes-style pattern: capture a repeatable workflow as a **skill** the agent can invoke.

1 min read

This is a migrated reference document from the original Anvio source repo. Content is preserved as-is; canonical documentation lives in the sections above in the sidebar.

Original path: docs/74-workflow-to-skill-example.md

Hermes-style pattern: capture a repeatable workflow as a skill the agent can invoke.

When to convert

  • DAG/workflow ran successfully ≥2 times with same structure
  • Steps are deterministic (gather → transform → report)
  • Output is reusable prose or checklist

Example mapping

Workflow nodeSkill section
gather-a, gather-b## Procedure steps
merge output template## Output format
Workflow inputs.topicSkill frontmatter inputs

Files in this repo

CLI flow

# 1. Run workflow
anvio workflow run example-dag topic=architecture

# 2. Agent loads skill on next run
anvio run architect "Use dag-report skill for topic=api-design"

# 3. Promote via learning loop (optional)
anvio learning drafts
anvio learning promote <draft-id>

Authoring checklist

  1. Keep workflow nodes ≤7 for skill-sized procedures
  2. Name skill slug matching workflow slug when 1:1
  3. Add metadata.sourceWorkflow: example-dag in skill frontmatter
  4. Validate: anvio skill validate dag-report-skill

See 49-workspace-artifacts.md and the ROADMAP.

Edit on GitHub

Last updated on

On this page