agentsclimarketplace

Constrained output generation

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/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.From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill constrained-output-generation

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

2.1 KB, 330 tokens by cl100k_base, as published. Nobody here has run it

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 vocabulary and the stop phrase.
  2. Generate responses using only the allowed vocabulary.
  3. Check every subsequent user input for the exact stop phrase.
  4. If the stop phrase matches, exit the restricted mode.

Triggers

  • Use only [terms] from now on
  • use only numbers from now on
  • Use only the following terms to respond
  • Use only vowels from now on
  • until I type [phrase]

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.