smithery/yatarousan0227

agent-contracts-interactive-flow

Build question/answer style agents using InteractiveNode, explicit routing, and workflow slices.

Installation

$ npx skills add smithery/yatarousan0227 --skill agent-contracts-interactive-flow

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/yatarousan0227.

npx skills add smithery/yatarousan0227

Browse all from smithery/yatarousan0227

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

More metadata
short-description
Interactive Q/A flows

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,561 B
  • docs SUMMARY.md 136 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

agent-contracts Interactive Flow

Use this skill when your agent needs multi-turn interaction (ask a question, receive an answer, continue).

Recommended Building Blocks

  • InteractiveNode for standard ask/process/check lifecycle
  • A domain slice (e.g., workflow or interview) to store progress
  • Optional explicitroutinghandler when answers must return to the node that asked

Workflow

  1. Pick a domain slice (workflow/interview) and define the minimal fields you need.
  2. Implement an InteractiveNode:

- preparecontext() reads domain slice - processanswer() updates domain slice from request - checkcompletion() decides when to stop - generatequestion() writes response (e.g., response_type="question")

  1. Add routing:

- Use rule triggers (priority 50-100) for “continue the flow” - Use terminal response types for “done”

  1. Debug with decidewithtrace() when the flow loops or stalls.

Guardrails

  • Keep conversation history out of state unless it is needed for routing; prefer context_builder summary when necessary.
  • Don’t store large payloads in domain slices (token/cost risk).

References (load only when needed)

  • docs/core_concepts.md (InteractiveNode / Explicit routing)
  • docs/skills/official/agent-contracts-interactive-flow/references/patterns.md