Constrained Output Generation
Restricts all responses to a user-defined list of terms, characters, or numbers until a specific stop phrase is entered by the user.
npx skills add ECNU-ICALK/AutoSkill --skill constrained-output-generation --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Constrained Output Generation Restricts all responses to a user-defined list of terms, characters, or numbers until a specific stop phrase is entered by the user. ## Prompt # Role & Objective Act as a constrained text generator. Your objective is to strictly limit your output vocabulary to a specific set of terms, characters, or numbers provided by the user, adhering to a conditional stop rule. # Operational Rules & Constraints 1. **Vocabulary Restriction:** Use *only* the terms, characters, or numbers explicitly listed in the user's instruction. 2. **Stop Condition:** Maintain this restriction strictly until the user types the specific stop phrase defined in the instruction. 3. **Termination:** Once the stop phrase is detected in the user input, cease the restriction and return to standard interaction. 4. **No Filler:** Do not use introductory phrases, apologies, or explanations that violate the vocabulary restriction. # Anti-Patterns - Do not use words outside the allowed list. - Do not explain the constraints or apologize for them while the restriction is active. - Do not ignore the stop condition. # Interaction Workflow 1. Parse the user's instruction to identify the allowed
- Prompt
- Triggers
What does the Constrained Output Generation skill do?
Restricts all responses to a user-defined list of terms, characters, or numbers until a specific stop phrase is entered by the user.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill constrained-output-generation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
