Skip to content
Agentmart
Submit a tool

prompt-optimizer

This skill should be used when users request help optimizing, improving, or refining their prompts or instructions for AI models.

Skill by ckanner

IndexedApache-2.0★ 23
Write a review

Chalk Labs

Need help deploying prompt-optimizer?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/ckanner-prompt-optimizer

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

This skill should be used when users request help optimizing, improving, or refining their prompts or instructions for AI models. Use this skill when users provide vague, unclear, or poorly structured prompts and need assistance transforming them into clear, effective, and well-structured instructions that AI models can better understand and execute. This skill applies comprehensive prompt engineering best practices to enhance prompt quality, clarity, and effectiveness.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/prompt-optimizer

What's inside

Skill name
prompt-optimizer
Description
This skill should be used when users request help optimizing, improving, or refining their prompts or instructions for AI models. Use this skill when users provide vague, unclear, or poorly structured prompts and need assistance transforming them into clear, effective, and well-structured instructions that AI models can better understand and execute. This skill applies comprehensive prompt engineering best practices to enhance prompt quality, clarity, and effectiveness.
License
Apache-2.0
Instructions
236 lines in SKILL.md · view on GitHub

Files (4)

  • LICENSE.txt
  • SKILL.md
  • examples.md · references/
  • prompt-best-practices.md · references/

SKILL.md (first lines)

# Prompt Optimizer

## Overview

This skill transforms user-provided prompts into high-quality, clear, and effective instructions optimized for AI models. Apply proven prompt engineering principles to enhance clarity, specificity, structure, and effectiveness. The skill uses a systematic workflow to analyze, identify improvement opportunities, and restructure prompts based on industry best practices.

## When to Use This Skill

Activate this skill when users:
- Explicitly request prompt optimization or improvement
- Provide vague or unclear instructions that need refinement
- Ask for help making their requests more effective
- Submit poorly structured prompts that would benefit from reorganization
- Request guidance on how to better communicate with AI models
- Present complex tasks that need to be broken down into clearer instructions

## Optimization Workflow

Follow this systematic process to optimize any prompt:

### Step 1: Analyze the Original Prompt

Examine the user's prompt and identify:

**Clarity issues:**
- Ambiguous terms or vague requirements
- Implicit assumptions that should be explicit
- Missing context or background information

**Specificity gaps:**
- Lack of concrete constraints or requirements
- Undefined success criteria
- Missing audience or purpose information
- Unclear scope or boundaries

**Structure problems:**
- Disorganized or stream-of-consciousness format
- Missing logical flow
- Lack of clear sections or hierarchy

**Format considerations:**
- No specified output format
- Unclear expectations about length, tone, or style
- Missing examples or templates

**Complexity assessment:**
- Determine if the task is too complex for a single prompt
- Identify if the request would benefit from prompt chaining
- Assess if step-by-step reasoning is needed

### Step 2: Identify the Core Intent

Determine the fundamental objective behind the user's request:

- What is the user ultimately trying to accomplish?
- What problem are they trying to solve?
- What would constitute a successful output?
- Who is the intended audience or consumer of the output?

Clarify these points with the user if they are not evident from the original prompt.

### Step 3: Apply Optimization Principles

Enhance the prompt using these core principles:

**Make it clear and direct:**
- State requirements explicitly without assuming inference
- Remove ambiguity and vague language
- Use concrete, specific terms

**Provide context and motivation:**
- Explain WHY certain requirements matter
- Include relevant background information
- Describe the use case or scenario

**Add specificity:**
- Define concrete constraints (length, format, scope)
- Specify target audience
- Include quality criteria
- State any limitations or boundaries

**Structure the request:**
- Organize information logically
- Use clear sections or numbered points
- Separate different types of information (context, requirements, format)

**Include examples when helpful:**
- Provide input-output examples for complex formats
- Show desired tone or style through examples
- Demonstrate edge case handling

**Allow for uncertainty:**
- Explicitly permit expressing "I don't know"
- Request acknowledgment of limitations
- Prevent hallucination by encouraging honesty

### Step 4: Consider Advanced Techniques

Evaluate if any advanced techniques would enhance the prompt:

**Chain of Thought:**
- Apply when the task requires reasoning or analysis
- Request step-by-step thinking for complex problems
- Use structured format to separate reasoning from answer

**Prefilling:**
- Use when a specific format is absolutely required (JSON, XML)
- Apply to eliminate unwanted preambles
- Utilize to establish immediate tone or style

**Prompt Chaining:**
- Break complex tasks into sequential steps
- Create a multi-stage workflow for intricate projects
- Design each prompt to build on previous outputs

**Structured Output:**
- Specify exact format requirements
- Provide schemas or templates
- Use tags or delimiters for different sections

From ckanner/agent-skills, Apache-2.0.

Signals

Stars
23
Forks
5
Open issues
0
Last commit (this folder)
Nov 18, 2025 (11 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from ckanner

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get prompt-optimizer running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying prompt-optimizer?

CallGet help
Cite this page

prompt-optimizer skill. Agent Mart. https://agentmart.dev/skills/ckanner-prompt-optimizer (last updated 2026-10-24)