CtrlK
BlogDocsLog inGet started
Tessl Logo

llm-prompt-optimizer

Use when improving prompts for any LLM. Applies proven prompt engineering techniques to boost output quality, reduce hallucinations, and cut token usage.

48

Quality

51%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./plugins/AI-Agents-Safe-Coding-Skills/skills/llm-prompt-optimizer/SKILL.md

The canonical home for this skill is llm-prompt-optimizer in administrakt0r/AI-Agents-Safe-Coding-Skills

SKILL.md
Quality
Evals
Security

Quality

Content

46%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

This skill reads more like a prompt engineering tutorial for humans than a skill file for Claude. It extensively explains concepts Claude already knows (chain-of-thought, few-shot learning, structured output) and would benefit enormously from assuming Claude's existing competence. The concrete prompt templates are useful but the overall structure is too verbose and monolithic for effective use as a skill.

Suggestions

Remove explanations of concepts Claude already knows (what CoT is, what few-shot means, what hallucination is) and reduce to just the actionable patterns/templates with minimal framing.

Split detailed pattern examples (CoT, few-shot, JSON output, hallucination reduction) into separate reference files and keep SKILL.md as a concise overview with links.

Add an explicit feedback loop: after optimizing a prompt, test it, evaluate the output against criteria, and iterate if needed — this is critical for an 'optimization' skill.

Remove the 'When to Use This Skill' section entirely — Claude can determine applicability from the skill description and content without being told when to use it.

DimensionReasoningScore

Conciseness

The skill extensively explains concepts Claude already knows well — prompt engineering techniques like chain-of-thought, few-shot examples, JSON output formatting, and hallucination reduction are core LLM knowledge. The 'When to Use This Skill' section, the RSCIT framework explanation, and much of the best practices are things Claude would already understand. The overview paragraph is padded with unnecessary context.

2 / 5

Actionability

The skill provides concrete, copy-paste-ready prompt templates for each pattern (CoT, few-shot, JSON output, hallucination reduction) with clear before/after examples. However, these are prompt templates rather than executable code, and the guidance is more about general prompt engineering principles than a specific executable workflow. The troubleshooting section provides actionable fixes.

4 / 5

Workflow Clarity

The numbered steps (1-7) provide a reasonable sequence from diagnosis through optimization patterns, and the audit checklist adds a validation checkpoint. However, there's no feedback loop — no step to test the optimized prompt, evaluate results, and iterate. For a skill about optimization, the absence of a validate-and-iterate cycle is a notable gap.

3 / 5

Progressive Disclosure

The content is a monolithic ~180-line file with no references to supporting files. The detailed pattern examples (CoT, few-shot, JSON, hallucination reduction) could each be separate reference files, with the main SKILL.md serving as a concise overview. There are no bundle files, and the content that should be split out is all inlined.

2 / 5

Total

11

/

20

Passed

Description

57%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description has good structure with an explicit 'Use when' clause and clear domain focus on prompt engineering. Its main weakness is the lack of specific concrete actions - it describes outcomes rather than what the skill actually does to prompts. The trigger terms are adequate but could include more natural user phrasings.

Suggestions

Replace 'Applies proven prompt engineering techniques' with specific actions like 'Restructures prompts with clear instructions, adds examples, inserts chain-of-thought guidance, and optimizes system prompts'

Add more natural trigger terms users would say, such as 'rewrite prompt', 'optimize prompt', 'system prompt', 'few-shot examples', or 'prompt for GPT/Claude'

DimensionReasoningScore

Specificity

Names the domain (prompt engineering) and mentions outcomes (boost output quality, reduce hallucinations, cut token usage) but doesn't describe concrete actions like 'adds chain-of-thought instructions', 'restructures prompts with examples', or 'adds system prompts'. The actions are vague - 'applies proven techniques' is not specific.

2 / 5

Completeness

Has an explicit 'when' clause ('Use when improving prompts for any LLM') and a 'what' ('Applies proven prompt engineering techniques to boost output quality, reduce hallucinations, and cut token usage'). The 'what' could be more specific about actual actions taken, and the 'when' could include more trigger scenarios.

4 / 5

Trigger Term Quality

Includes 'prompts', 'LLM', 'prompt engineering' which are relevant keywords. However, it misses natural user phrases like 'rewrite my prompt', 'make my prompt better', 'optimize prompt', 'system prompt', 'few-shot', or 'instructions for Claude/GPT'.

3 / 5

Distinctiveness Conflict Risk

Prompt engineering/improvement is a fairly distinct niche that wouldn't easily overlap with most other skills. However, it could potentially conflict with general writing improvement or code review skills if prompts are embedded in code.

4 / 5

Total

13

/

20

Passed

Validation

90%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation10 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

10

/

11

Passed

Repository
administrakt0r/AI-Agents-Safe-Coding-Skills
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.