Przejdź do treści
Biblioteka skilli
AI i agenci · Pisanie

optimizing-prompts

/optimizing-prompts

Optymalizuje prompty dla dużych modeli językowych, aby zmniejszyć zużycie tokenów i koszty, analizując prompt, usuwając redundancję i przepisując go zwięźlej.

Licencja
MIT
Ostatnia zmiana repozytorium
26.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
7
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 26.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Optymalizuje prompty dla dużych modeli językowych, aby zmniejszyć zużycie tokenów i koszty, analizując prompt, usuwając redundancję i przepisując go zwięźlej.

Wyzwalacze z opisu

optimizeperformance, orspeed up
Oryginalny opis (EN)

Execute this skill optimizes prompts for large language models (llms) to reduce token usage, lower costs, and improve performance. it analyzes the prompt, identifies areas for simplification and redundancy removal, and rewrites the prompt to be more conci... Use when optimizing performance. Trigger with phrases like ''optimize'', ''performance'', or ''speed up''.

Jak działa

  1. Overview
  2. How It Works
  3. When to Use This Skill
  4. Examples
  5. Best Practices
  6. Integration
  7. Prerequisites
  8. Instructions
  9. Output
  10. Error Handling
Sekcje z nagłówków SKILL.md, w oryginale · 81 linii, 508 słów
Podgląd SKILL.md
---
name: optimizing-prompts
description: 'Execute this skill optimizes prompts for large language models (llms)
  to reduce token usage, lower costs, and improve performance. it analyzes the prompt,
  identifies areas for simplification and redundancy removal, and rewrites the prompt
  to be more conci... Use when optimizing performance. Trigger with phrases like ''optimize'',
  ''performance'', or ''speed up''.

  '
allowed-tools: Read, Write, Edit, Grep, Glob, Bash(cmd:*)
version: 1.30.0
author: Jeremy Longshore <jeremy@intentsolutions.io>
license: MIT
tags:
- packages
- llm
- performance
- cost-optimization
compatibility: Designed for Claude Code
---
# Ai Ml Engineering Pack

Optimize LLM prompts for reduced token usage, lower costs, and improved output quality by identifying redundancies, simplifying instructions, and restructuring for clarity.

## Overview

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, ensuring that the summary is accurate, concise, and easy to understand.'"

The skill will:

1. Identify areas for improvement in the prompt's clarity and focus.
2. Rewrite the prompt to be more direct: "Summarize this document, including key points, arguments, evidence, and the conclusion."
3. Present the optimized prompt and explain how it enhances summarization performance.

## Best Practices

- **Clarity**: Ensure the original prompt is clear and well-defined before optimization.
- **Context**: Provide sufficient context to the skill so it can understand the prompt's purpose.
- **Iteration**: Iterate on the optimized prompt based on the LLM's output to fine-tune performance.

## Integration

This skill integrates with the `prompt-architect` agent to leverage advanced prompt engineering techniques. It can also be used in conjunction with the `llm-integration-expert` to optimize prompts for specific LLM APIs.

## Prerequisites

- Appropriate file access permissions
- Required dependencies installed

## Instructions

1. Invoke this skill when the trigger conditions are met
2. Provide necessary context and parameters
3. Review the generated output
4. Apply modifications as needed

## Output

The skill produces structured output relevant to the task.

## Error Handling

- Invalid input: Prompts for correction
- Missing dependencies: Lists required components
- Permission errors: Suggests remediation steps

## Resources

- Project documentation
- Related skills and commands
Pliki w paczce (7)
  • SKILL.md 4 KB
  • assets/README.md 1 KB
  • assets/example_prompts.md 8 KB
  • assets/optimization_report_template.md 5 KB
  • assets/prompt_template.json 3 KB
  • references/README.md 1 KB
  • scripts/README.md 1 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · jeremylongshore/tons-of-skills-marketplace100MIT
agentic-dev3o/devx-plugins95MIT

Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 13.11.2026 · wersja paczki cb53ba473121 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 1 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100prompt-engineer
    Projektuje, optymalizuje, testuje i ocenia prompty dla dużych modeli językowych w systemach produkcyjnych.
  • 100prompt-engineer
    Projektuje, optymalizuje, testuje i ocenia prompty dla dużych modeli językowych w systemach produkcyjnych.
  • 100prompt-optimization
    Prowadzi budowę, przegląd i optymalizację promptów systemowych i szablonów dla LLM: struktura, mniejsze zużycie tokenów, kompresja, jasność oraz sprawdzanie bezpieczeństwa i stronniczości.
  • 100token-cost-analyzer
    Analizuje i optymalizuje koszty API LLM: zużycie tokenów, audyt kosztów i prompty pod kątem wydatków na AI.
  • 100prompt-engineer
    Optymalizuje prompty dla LLM przy pisaniu system promptów i poprawie wydajności agentów.
  • 95token-optimizer
    Kompresuje prompty i instrukcje systemowe, aby zmniejszyć zużycie tokenów wejściowych przy zachowaniu jakości odpowiedzi Claude'a, pisząc zwarte instrukcje o dużej gęstości.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.