Agent skill

constrained-decoding

Restrict outputs to validated options to reduce hallucinations; use when asked to enforce strict output schemas.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/devops/constrained-decoding-cloudhabil-agi-server

SKILL.md

Constrained Decoding

Use this skill to design and apply output constraints.

Workflow

  1. Define allowed schema or option set.
  2. Validate outputs against constraints.
  3. Reject or correct invalid outputs.
  4. Record constraint breaches.

Output expectations

  • Provide schema and validation results.

Didn't find tool you were looking for?

Be as detailed as possible for better results