prompt-optimization-analyzer

Diagnose skill prompts and generate rewrite recommendations for token efficiency.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Alejfanjul/ai-brain --skill prompt-optimization-analyzer-alejfanjul
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt-optimization-analyzer
Source: https://github.com/Alejfanjul/ai-brain/tree/main/sources/claude-meta-skills/prompt-optimization-analyzer
Command: npx skills add https://github.com/Alejfanjul/ai-brain --skill prompt-optimization-analyzer-alejfanjul

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Prompt Optimization Analyzer diagnoses and optimizes skill prompts to reduce token waste and prevent trigger issues, ensuring clear guidance for authors and more reliable activations.

Core Features & Use Cases

  • Comprehensive trigger-pattern analysis to surface ambiguous or overlapping triggers.
  • Token-efficiency audit that identifies redundancy, bloated prose, and unnecessary formatting.
  • Anti-pattern detection that flags conflicting instructions and implicit assumptions.
  • Concrete rewrite suggestions and real-world examples to improve prompt quality.
  • Publication readiness checks to prepare prompts for sharing or deployment across teams.
  • Use cases include debugging when prompts fail to trigger, refining prompts for token budgets, and auditing prompts before publication.

Quick Start

Paste the skill's prompt and its SKILL.md frontmatter into the analyzer to generate an actionable optimization report.

Frequently Asked Questions about prompt-optimization-analyzer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix prompt trigger issues and prevent ambiguous activations?

Fix prompt trigger issues by analyzing overlapping trigger patterns and conflicting instructions. The analyzer detects anti-patterns and implicit assumptions, providing concrete rewrite recommendations to ensure reliable activations and clear guidance.

How do I reduce token waste in skill prompts before publication?

Reduce token waste by auditing prompts for redundancy, bloated prose, and unnecessary formatting. The analyzer identifies these inefficiencies and provides actionable optimization recommendations to refine prompts for strict token budgets.

What is the best way to debug prompts that fail to trigger correctly?

Debug prompts that fail to trigger by evaluating the prompt's trigger patterns and output quality. The analyzer surfaces ambiguous or overlapping triggers and flags conflicting instructions to diagnose why activation fails.

How do I audit prompt quality and check publication readiness?

Audit prompt quality and check publication readiness by pasting the prompt and its frontmatter into the analyzer. It evaluates token usage and output quality to prepare prompts for sharing or deployment across skill directories.

Can I use the analyzer to optimize prompts for specific token budgets?

Yes, you can optimize prompts for token budgets by running a token-efficiency audit. The analyzer identifies unnecessary formatting and bloated prose, providing rewrite suggestions that fit within your required constraints.