llm-optimization

Installation
SKILL.md

LLM Token Optimization Skill

This skill strictly governs how you (the AI agent) MUST write code and prompt architectures that involve LLM interactions. If a user asks you to implement an AI feature, you are REQUIRED to follow these directives.

MANDATORY DIRECTIVES

1. PROMPT COMPRESSION (MANDATORY)

You MUST NEVER use conversational language or pleasantries in prompts ("Please", "I want you to", "Can you"). You MUST structure all instructions using YAML, Markdown lists, and declarative commands. Positive constraints ("Output ONLY JSON") are strictly preferred over negative constraints ("Do not output markdown").

❌ Bad Prompt Example (Do not use): "You are a helpful assistant. Please read the following text and I would like you to extract the names of the people. Also, summarize the text in one sentence. Make sure you return it in JSON format and don't write anything before or after the JSON."

Installs
1
First Seen
7 days ago