Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Prompt token and cost optimization v1.0.0

Use this resource to shorten a prompt to reduce token usage and cost

New

  • 562 downloads
  • 122 likes
  • 142 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install llm-prompt-token-optimization

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent analyzes the prompt, flags verbose or redundant passages and rewrites it more concisely. It also provides an optimization report template and before-and-after examples. You get a shorter prompt with the reason for each change.

Mostly picked by

Updated November 2, 2026

Card for the “Prompt token and cost optimization” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: analysis and rewriting method
  • assets/optimization_report_template.md: optimization report template
  • assets/example_prompts.md: before-and-after prompt examples

Good fit for

  • A system prompt is long and costs money on every call
  • A prompt produces slow and overly long answers

Not for

    Tags

    • prompt
    • tokens
    • cost
    • optimization

    About

    You say

    “Shorten this classification prompt without losing the format rules: it is too long and slow.”

    Card for the “Prompt token and cost optimization” skill

    Skill published by Jeremy Longshore <jeremy@intentsolutions.io> under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to shorten a prompt to reduce token usage and cost
    3. Review and adjust the result

    Content preview

    Files

    • assets/example_prompts.md8.6 KB
    • assets/optimization_report_template.md5.6 KB
    • assets/prompt_template.json2.8 KB
    • assets/README.md0.3 KB
    • LICENSE1.1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/README.md0.1 KB
    • scripts/README.md0.4 KB
    • SKILL.md4.1 KB

    Origin and licence

    Listed unmodified

    Author
    Jeremy Longshore <jeremy@intentsolutions.io>
    Source
    github.com/jeremylongshore/tons-of-skills-marketplace/tree/ab85a061f7bcc039dac13ee193de7a4cd4388571/skills/.curated/optimizing-prompts
    Licence
    MIT

    Notice

    « optimizing-prompts » (Jeremy Longshore <jeremy@intentsolutions.io>, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.