jeremylongshore/claude-code-plugins-plus-skills
ai-ml-engineering-pack
plugins/packages/ai-ml-engineering-pack/skills/optimizing-prompts/SKILL.md
January 22, 2026
Select agents to install to:
npx add-skill https://github.com/jeremylongshore/claude-code-plugins-plus-skills/blob/main/plugins/packages/ai-ml-engineering-pack/skills/optimizing-prompts/SKILL.md -a claude-code --skill optimizing-promptsInstallation paths:
.claude/skills/optimizing-prompts/# Ai Ml Engineering Pack This skill provides automated assistance for ai ml engineering pack tasks. ## Overview This skill provides automated assistance for ai ml engineering pack tasks. This skill empowers Claude to refine prompts for optimal LLM performance. It streamlines prompts to minimize token count, thereby reducing costs and enhancing response speed, all while maintaining or improving output quality. ## How It Works 1. **Analyzing Prompt**: The skill analyzes the input prompt to identify areas of redundancy, verbosity, and potential for simplification. 2. **Rewriting Prompt**: It rewrites the prompt using techniques like concise language, targeted instructions, and efficient phrasing. 3. **Suggesting Alternatives**: The skill provides the optimized prompt along with an explanation of the changes made and their expected impact. ## When to Use This Skill This skill activates when you need to: - Reduce the cost of using an LLM. - Improve the speed of LLM responses. - Enhance the quality or clarity of LLM outputs by refining the prompt. ## Examples ### Example 1: Reducing LLM Costs User request: "Optimize this prompt for cost and quality: 'I would like you to create a detailed product description for a new ergonomic office chair, highlighting its features, benefits, and target audience, and also include information about its warranty and return policy.'" The skill will: 1. Analyze the prompt for redundancies and areas for simplification. 2. Rewrite the prompt to be more concise: "Create a product description for an ergonomic office chair. Include features, benefits, target audience, warranty, and return policy." 3. Provide the optimized prompt and explain the token reduction achieved. ### Example 2: Improving Prompt Performance User request: "Optimize this prompt for better summarization: 'Please read the following document and provide a comprehensive summary of all the key points, main arguments, supporting evidence, and overall conclusion, ensur