single_line_prompt_optimizer
Rewrites user instructions into optimized, strictly single-line prompts suitable for LLMs, ensuring character limit compliance and maximizing clarity.
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.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- Prompt
- Triggers
- Examples
- Example 1
- Example 2
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.
