AI development/GitHub/Tool
dsh-structured-output
by dd2003-460·Last observed 2026-10-27
★ 0 stars⑂ 0 forks
A DSH / Claude Code plugin routes subagent outputs into registered schemas such as a fixed choice, open options with confidence, or a ticket structure. It uses a forced tool call to produce schema-shaped JSON, then converts the tool-use result back to plain JSON text.
Useful for
- Have a routing subagent return one action from a fixed set, or an advisor subagent return options with confidence and reasons.
Key features
- Supports fixed-enum routing, open-ended options with confidence, fixed JSON tickets, brief options and unaffected unstructured requests.
- Uses an agent registry with per-agent schemas; agents can be identified by a model suffix or an HTTP header.
Requirements & limitations
- The DSH skill can be installed from the community market. Enforcing output shape requires patching an existing claude-vllm-proxy and restarting it; without that patch the skill provides prompt-level guidance only.
- On the Anthropic messages endpoint, the plugin forces a single output tool and disables thinking; it cannot run multiple real tools alongside a forced structured report in its two-phase workflow.
Discussion
No comments yet.
Sign in with Google to comment. Browsing is open to everyone.