Logotipo de Prompter

Prompter

Comunidad
Terryc21
prompter

Evaluate whether rewriting the user's prompt for clarity, typo correction, or actionability would meaningfully improve it; rewrite only when it would. Use when the user says "rewrite my prompt," "fix the typos in this prompt," "make this prompt clearer," "make this more actionable," or when a prompt is short and the intent is ambiguous. Display the rewrite and wait for approval.

Descripción general

EditorTerryc21
Repositorioprompter
Nombre de la habilidadprompter
Estrellas
35
Forks
5
Archivos incluidos
Solo instrucciones
LicenciaApache-2.0
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por Terryc21 en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Prompter en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/Terryc21/prompter/tree/main/skills/prompter
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Terryc21/prompter.git /tmp/prompter
mkdir -p .claude/skills
cp -r /tmp/prompter/skills/prompter .claude/skills/prompter
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Prompter en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Prompter automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Prompter no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Prompter

What this skill does

Evaluate whether rewriting the user's prompt would meaningfully improve it for clarity, typo correction, or actionability. When it would, display the rewritten version and wait for approval before taking any action. When the original is already clear and actionable, proceed without rewriting.

Core rule: evaluate first, rewrite only when it helps

The default behavior is evaluation, not rewriting. Most prompts don't need rewriting. Before producing any rewrite, ask: would rewriting this prompt for clarity, typo correction, or actionability meaningfully improve it? Only rewrite when there is a real improvement to make:

  • Typos to fix
  • Ambiguous references to resolve (e.g., "that file" when a specific file name is knowable from context)
  • Vague intent to specify (e.g., "make it better" → name the dimensions of "better")
  • Missing scope guardrails the user clearly forgot (e.g., "don't edit yet," "ask before pushing")

If the original is already clear and actionable, proceed without rewriting. Emit the canonical "no rewrite needed" notice from the Skip notice format section. No rewrite is a successful outcome, not a failed one.

Skip rewriting for

These categories are NEVER rewritten — they're operational responses, not new prompts:

  • Permission responses (yes, no, proceed, approve, looks good, etc.)
  • Selecting from options you presented (e.g., "Option 2", "Proceed (Recommended)")
  • Follow-up answers to your clarifying questions
  • Acceptance of a previously-displayed rewrite (user said "approved", "yes", or similar in response to your "Rewritten prompt:" output)

Activation modes

Three modes are supported.

  • Try it once — Rewrite just the next prompt, then stop. Good for seeing what prompter does before committing.
  • This session — Rewrite prompts for the rest of this conversation. No files are modified.
  • Add to CLAUDE.md — Add a Prompt Rewriting rule to the project's CLAUDE.md so it persists across all future sessions. Pair with "Remove from CLAUDE.md" to uninstall later.

"Try it once" state. Whether the "once" has already fired is tracked the same way as everything else in this skill: from the most recent "Prompter:"-prefixed message in context (a rewrite, a skip notice, or the expiration message below). If context has been summarized or compacted since activation and no such message is visible, treat the "once" as expired rather than assuming it's still pending — re-invoke /skill prompter to restart it. This mirrors why "Next N prompts" mode was removed in v1.3.0 (see "What was removed" below): don't trust an implicit turn-count that summarization can silently reset.

Initial invocation

When /skill prompter is run for the first time in a session, ask the user which mode to activate using AskUserQuestion. The options are the three above.

Re-invocation in the same session

When the user re-invokes prompter while a mode is already active, distinguish their intent from the message shape:

  • Re-invocation with prompt content alongside /prompter (e.g., the user typed a question or task in the same message and appended /prompter): the user is signaling "evaluate THIS prompt now." Do NOT re-show the mode picker. Treat the current message's prompt content as the prompt to evaluate under the already-active mode. The mode picker is settings management; it should not interrupt every rewrite.

  • Re-invocation with /prompter alone, no other prompt content: the user is signaling "I want to manage prompter settings." Show the mode picker per the rules below.

When the mode picker IS shown (the standalone case above):

  • Already in "Try it once": ask whether to restart the counter (treat next prompt as the new "once") or switch modes.
  • Already in "This session": acknowledge it's already on and offer to switch modes.
  • Already added to CLAUDE.md: detect the existing section (per "Adding to CLAUDE.md" below) and offer to update or remove it rather than insert a duplicate.

Why this rule exists: Conflating "set the mode" with "evaluate THIS prompt" forces the user to re-answer the mode picker on every invocation, even when their mode choice hasn't changed. Origin: 2026-05-31 session where the user invoked /prompter five times after writing prompts and got the picker each time despite having chosen "This session" once at the start.

After "Try it once" expiration

When the single rewrite has been evaluated (whether it produced a rewrite or a "no rewrite needed" notice), show:

Prompter: Done. Like it? Run /skill prompter to keep it going — choose "This session" or "Add to CLAUDE.md" to make it permanent.

How rewriting works (when you do rewrite)

  1. Evaluate first. Apply the Core rule above. If the prompt is already clear and actionable, emit the "no rewrite needed" notice and stop.
  2. Rewrite when evaluation says yes: fix typos, clarify intent, make it specific and actionable for Claude Code.
  3. Display the rewritten prompt with the prefix "Rewritten prompt:".
  4. Wait for the user to approve before proceeding.
  5. If the user approves (yes, looks good, approved, etc.), execute the rewritten prompt.
  6. If the user corrects the rewrite, incorporate their feedback and show the updated version.

Skip notice format

When skipping a rewrite, emit a single-line notice with the prefix **Prompter:** followed by the reason. Use one of:

  • **Prompter:** skipped (permission response) — executing immediately.
  • **Prompter:** skipped (option selection) — executing immediately.
  • **Prompter:** skipped (follow-up answer) — executing immediately.
  • **Prompter:** skipped (rewrite approved) — executing rewritten prompt.
  • **Prompter:** no rewrite needed — prompt is already clear and actionable.

Note for downstream parsers. The **Prompter:** prefix is also used by the expiration message (**Prompter:** Done.). To disambiguate, match the suffix:

  • ^\*\*Prompter:\*\* skipped \( → skip notice
  • ^\*\*Prompter:\*\* no rewrite needed → no-rewrite-needed notice
  • ^\*\*Prompter:\*\* Done\. → "Try it once" expiration message

Rewriting style guidelines

When you do rewrite, follow these:

  • Fix spelling and grammar.
  • Resolve ambiguous references. ("that file" → specific file name if knowable from context.)
  • Add specificity where the intent is clear but the wording is vague.
  • Keep the user's intent. Don't add scope or change what they're asking for.
  • Keep it concise. One to three sentences is ideal.
  • Don't add scope creep. If the user asked for a fix, don't rewrite into "fix it and also refactor."

CLAUDE.md plumbing (Add/Remove modes)

Adding to CLAUDE.md

When the user chooses "Add to CLAUDE.md", insert this minimal section (it points back at this skill rather than duplicating the skip list — that way the skip list never drifts):

markdown
## Prompt Rewriting

Before acting on any user prompt, evaluate whether rewriting it for clarity, typo correction, or actionability would meaningfully improve it. **Only rewrite when there is a real improvement to make** — typos to fix, ambiguous references to resolve, or vague intent to specify. If the original prompt is already clear and actionable, proceed without rewriting and without showing a rewrite. When you do rewrite, display the rewritten version with the prefix "**Rewritten prompt:**" and wait for approval before proceeding.

**Full rules** (skip categories, mode behavior, rewriting style): see `/skill prompter` SKILL.md. Do NOT duplicate the skip list here; the skill file is the source of truth.

Detecting an existing section. A Prompt Rewriting section is considered to exist if the file contains a line matching ^## Prompt Rewriting\b. The block boundary is from that line to the next ^## heading or end of file. If the existing block differs from the template above, do not overwrite — instead, show the user a diff and ask whether to (a) keep their version, (b) replace with the template, or (c) merge specific lines. Default to (a) and proceed without changes.

Regex examples (verify intent if editing):

  • ✅ Matches: ## Prompt Rewriting
  • ✅ Matches: ## Prompt Rewriting (project-specific) — \b accepts following space + parens
  • ❌ Does not match: ### Prompt Rewriting — wrong heading level
  • ❌ Does not match: ## prompt rewriting — case-sensitive
  • ❌ Does not match: ## Some Prompt Rewriting Notes — ^ anchors to start of line

Removing from CLAUDE.md

When the user chooses "Remove from CLAUDE.md":

  1. Locate the section using the detection rule above.
  2. If the block matches the template verbatim, remove it cleanly — the heading line through the last line before the next ^## or end of file.
  3. If the block has been modified, show the user the modified content and confirm before removing.
  4. If no Prompt Rewriting section exists, say so and stop.
  5. Remove a single trailing blank line if the deletion left two consecutive blank lines.

What was removed in v1.3.0

For maintainers reading this file's history: the following features existed in v1.2.x and were removed in v1.3.0 (2026-05-31). If a user expects them, they're gone:

  • "Next N prompts" mode. Removed because the countdown-tracking design relied on the LLM emitting and preserving a markdown status line across turns, which is unreliable across context summarization. "This session" + "Add to CLAUDE.md" cover the same use cases without the bookkeeping failure mode.
  • "Flag exemplary rewrites" feature. Removed because the trigger axes (pinning analytical asks, resolving ambiguous references, surfacing forgotten guardrails) rarely fired in practice, the flag was busywork on every rewrite, and the user can star their own favorites in examples/Prompter-Examples.md without needing a per-rewrite marker.
  • Skip-list duplication in the CLAUDE.md template. Removed because the manual-sync burden (skill + CLAUDE.md template needing to match) was a future bug. The CLAUDE.md template now points at the skill file instead of duplicating its rules.

Preguntas frecuentes

¿Qué hace la habilidad de IA Prompter?

Evaluate whether rewriting the user's prompt for clarity, typo correction, or actionability would meaningfully improve it; rewrite only when it would. Use when the user says "rewrite my prompt," "fix the typos in this prompt," "make this prompt clearer," "make this more actionable," or when a prompt is short and the intent is ambiguous. Display the rewrite and wait for approval.

¿Por qué usar Prompter en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Prompter está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Prompter en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/Terryc21/prompter/tree/main/skills/prompter. TypingMind lee su archivo SKILL.md y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Prompter?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Prompter?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Prompter con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Prompter?

Sí. Terryc21 la ha publicado en GitHub bajo la licencia Apache-2.0. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇