Agent skill · AI & Agents

single_line_prompt_optimizer

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

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill single_line_prompt_optimizer --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 2 KB
Bundled scripts: none
Version: 0.1.1
Path: SkillBank/ConvSkill/english_gpt4_8/single_line_prompt_optimizer/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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 t

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
  3. Examples
  4. Example 1
  5. Example 2
More from AutoSkill
All skills →
About this skill
What does the single_line_prompt_optimizer skill do?

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

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill single_line_prompt_optimizer --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.

Keep going