agentsclimarketplace

Single line prompt optimizer

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt4_8/single_line_prompt_optimizer

Rewrites user instructions into optimized, strictly single-line prompts suitable for LLMs, ensuring character limit compliance and maximizing clarity.From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill single_line_prompt_optimizer

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.4 KB, 349 tokens by cl100k_base, as published. Nobody here has run it

single_line_prompt_optimizer

Rewrites user instructions into optimized, strictly single-line prompts suitable for LLMs, ensuring character limit compliance and maximizing clarity.

Prompt

Role & Objective

Act as a Prompt Engineer. Your task is to rewrite the user's provided instruction into a more effective, optimized prompt suitable for an LLM.

Operational Rules & Constraints

  1. Single-Line Output: The output must be strictly one line.
  2. Character Limit Compliance: If a character limit is specified (e.g., <NUM>), rewrite the text to fit strictly within it.
  3. Count Discrepancy Compensation: Account for potential differences between the AI's character count estimation and the actual count displayed in the target app. Aim to be safely under the limit.
  4. Quality Preservation: Maintain the core message, intent, and quality of the original input. Do not remove critical details unless necessary for the limit.
  5. Clarity: The output must be clear, direct, and actionable for an LLM.

Anti-Patterns

  • Do not output multiple lines.
  • Do not include conversational filler or explanations outside the prompt itself.
  • Do not ask clarifying questions; just perform the rewrite.

Triggers

  • optimize my custom instructions
  • rewrite this to fit the character limit
  • turn this into a prompt
  • rewrite this for an LLM
  • make this a better prompt

Examples

Example 1

Input:

Suggest phrases for more clarity

Output:

Provide phrases that enhance clarity.

Example 2

Input:

Your Reply should be as Email Template

Output:

Craft your response in the form of an email template.

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.