sharpen-prompt SKILL.md skillA

sharpen-prompt from egorfedorov/claude-context-optimizer is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add egorfedorov/claude-context-optimizer/sharpen-prompt@git:20261017.44e77a4

Pins git:20261017.44e77a4 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
egorfedorov/claude-context-optimizer
Path
skills/sharpen-prompt/SKILL.md
Versions recorded
1
Latest version
git:20261017.44e77a4, committed Oct 17, 2026
Size
1,311 bytes
Repository stars
121
License
MIT

Rewrite a vague request into a precise prompt — goal, context, scope, constraints, what done looks like, output format. Use when the user asks to improve, rewrite, sharpen or check a prompt.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Sharpen a prompt

A precise prompt saves the back-and-forth, and the tokens, that a vague one
costs. Rewrite the user's prompt so another assistant could do the task right
on the first try.

## Check what the prompt is missing

1. **Goal**: what should exist or be true at the end.
2. **Context**: who it's for, what it builds on, what was tried.
3. **Scope**: exactly which files, sections, data or part of the problem. Name
   them.
4. **Constraints**: must keep, must avoid, length, tone, tools, deadline.
5. **Done looks like**: how to tell it worked: tests pass, a sample output, a
   checklist.
6. **Output format**: a list, a table, a diff, a file, a one-paragraph answer.

## Then

- If you can fill the gaps from the conversation, write the improved prompt in
  a code block in the user's language. Keep it as short as the task allows,
  and list in one line what you added and why.
- If one gap is essential and unknowable, ask that one question instead of
  guessing. Never ask more than one.
- Don't do the task itself unless the user asks you to.

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add egorfedorov/claude-context-optimizer/sharpen-prompt@sha256:43f6f1ede80ce697

The line at the top of this page pins the label git:20261017.44e77a4, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_edhebd5gmcdf5amz.svg)](https://markdownregistry.com/a/art_edhebd5gmcdf5amz)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Oct 17, 2026.

versioncommittedcommitsizeaudit
git:20261017.44e77a4 latest2026-10-17 44e77a4 1,311 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1311 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

egorfedorov/claude-context-optimizer · 121 stars · license MIT · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_edhebd5gmcdf5amz
GET https://markdownregistry.com/api/v1/resolve?ref=egorfedorov/claude-context-optimizer/sharpen-prompt
GET https://markdownregistry.com/api/v1/blob/43f6f1ede80ce697041f3dd07857f49e80db94fa45f001f1901644f065b9e5be

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from egorfedorov/claude-context-optimizer

cco SKILL.md skill
egorfedorov/claude-context-optimizer · skills/cco/SKILL.md · In Claude Code: what this session costs and where the tokens go, plus the tools to cut it — /cco for the board, /cco…
git:20261017.dfb62c2 · audit A · 121 stars
doc-digest SKILL.md skill
egorfedorov/claude-context-optimizer · skills/doc-digest/SKILL.md · Turn a long document, PDF, transcript, spreadsheet or log into a compact working digest the conversation can continue…
git:20261017.dfb62c2 · audit A · 121 stars
fresh-start SKILL.md skill
egorfedorov/claude-context-optimizer · skills/fresh-start/SKILL.md · Continue in a new chat without losing anything — writes a compact handoff to paste into a fresh conversation. Use…
git:20261017.dfb62c2 · audit A · 121 stars
project-context SKILL.md skill
egorfedorov/claude-context-optimizer · skills/project-context/SKILL.md · Turn background the user keeps re-explaining or re-pasting into reusable instructions, so new chats start with it for…
git:20261017.dfb62c2 · audit A · 121 stars
token-check SKILL.md skill
egorfedorov/claude-context-optimizer · skills/token-check/SKILL.md · Estimate how many tokens a pasted text, an attached file or the conversation so far takes, what it means for the…
git:20261017.dfb62c2 · audit A · 121 stars

Every file in egorfedorov/claude-context-optimizer

Browse by kind, by grade A, or by owner.