Skip to content
Agentmart
Submit a tool

improving-prompts

Use when optimizing GEMINI.md, AGENTS.md, system prompts, custom slash commands, or skill files.

Skill by TheCheepeer

IndexedApache-2.0
Write a review

Chalk Labs

Need help deploying improving-prompts?

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/thecheepeer-improving-prompts

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

Use when optimizing GEMINI.md, AGENTS.md, system prompts, custom slash commands, or skill files. Diagnoses concrete behavioral failures first and applies documented prompt engineering best practices (explicit instructions, context/motivation, verbosity constraints, formatted examples, and compact length) rather than making cosmetic changes.

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/improving-prompts

What's inside

Skill name
improving-prompts
Description
Use when optimizing GEMINI.md, AGENTS.md, system prompts, custom slash commands, or skill files. Diagnoses concrete behavioral failures first and applies documented prompt engineering best practices (explicit instructions, context/motivation, verbosity constraints, formatted examples, and compact length) rather than making cosmetic changes.
License
Apache-2.0
Instructions
86 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • anthropic-best-practices.md · references/

SKILL.md (first lines)

# Improving Prompts

## Overview

Apply documented prompt engineering best practices to existing instruction files. Do not invent cosmetic "improvements" — identify the concrete behavioral defect first and apply the appropriate remedy.

## When to Use

- Optimizing `GEMINI.md` or `AGENTS.md` files.
- Refining instructions in skills and custom commands.
- Correcting prompts that the model ignores or disobeys.
- Trimming rules that are excessively long or bloated.

## When NOT to Use

- Writing brand new prompts from scratch (apply best practices directly).
- The current prompt works reliably and the user reported no failure.

## The Core Problem

Without this skill, agents tend to:

- Invent generic, unverified "best practices" from the internet.
- Restructure prompts without knowing what behavior was actually broken.
- Add complexity assuming "more words = better instruction".
- Mutate instructions to demonstrate activity rather than solving an observed defect.

## Catch Yourself Thinking:

| Thought                                             | Reality                                                                      |
| --------------------------------------------------- | ---------------------------------------------------------------------------- |
| "It feels vague / non-standard / inconsistent"      | Not actionable. What specific behavior failed?                               |
| "I know enough / I will assume what the user wants" | If you cannot point to a concrete failure, you do not know. Ask.             |
| "I am the expert / I would write it differently"    | Stylistic preference does not replace a functional defect. You are not user. |
| "More structure is always better"                   | Structure solves structural issues, not all problems.                        |
| "This is obviously an improvement"                  | What is obvious to you may disrupt the user's workflow.                      |

## Mandatory Process

### Step 1: Understand Before Changing

Before ANY modification:

1. Ask what specific behavior fell short of expectations.
2. Ask what the prompt was supposed to achieve that it currently fails to deliver.
3. If the user asks for a general improvement, request at least one concrete failure example.

**What qualifies as a concrete failure:**

- "The model ignores my instruction to be concise" [x]
- "The model only suggests diffs instead of editing the files directly" [x]

### Step 2: Apply Proven Principles

- **Be explicit about scope:** Modern models follow instructions literally. State whether a rule applies to all files or only to specific cases.
- **Explain the WHY (Motivation):** Explaining the reason behind a rule helps the model generalize correctly. Instead of "NEVER use ellipses", use: "Do not use ellipses because the text-to-speech engine fails to pronounce them".
- **Curate few-shot examples carefully:** Models emulate formatting and quirks. Provide 2 to 3 examples strictly aligned with the target behavior.
- **Constrain verbosity explicitly:** State whether responses should be concise, direct, or detailed with rationales.
- **Moderate aggressive phrasing:** Avoid plastering "CRITICAL: YOU MUST AT ALL COSTS" everywhere. Models overfocus and ignore surrounding context when flooded with panicked language. Prefer: "Use X when Y".

### Step 3: Preserve What Already Works

- DO NOT restructure sections that exhibit no failure.
- DO NOT add complexity unless it directly resolves a reported issue.
- Retain existing user examples if they demonstrate valid behavior.

### Step 4: Propose Changes with Rationale

For each change, declare:

1. Which best practice was applied.
2. What concrete problem it resolves.
3. The before-and-after comparison.

## Quick Reference: Problem -> Solution

| Observed Defect                              | Recommended Fix                                                                    |
| -------------------------------------------- | ---------------------------------------------------------------------------------- |
| Overly narrow response / fails to generalize | State scope explicitly ("apply across all files", "in all instances")              |
| Agent fails to explain reasoning             | Explicitly prompt to state reasoning prior to the final answer                     |
| Agent is excessively verbose                 | Instruct: "Be concise" or "Respond in at most 3 sentences"                         |
| Agent suggests diffs without applying them   | Replace "You can suggest..." with imperative "Apply changes directly to the files" |
| A specific rule is routinely ignored         | Add motivation (explain WHY the rule is critical)                                  |
| Rules file is bloated (>200 lines)           | Remove redundant rules that the model follows naturally via common sense           |

From TheCheepeer/omni-agents, Apache-2.0.

More from TheCheepeer/omni-agents

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Sep 28, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

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

More from TheCheepeer

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 improving-prompts 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 improving-prompts?

CallGet help
Cite this page

improving-prompts skill. Agent Mart. https://agentmart.dev/skills/thecheepeer-improving-prompts (last updated 2026-10-24)