repeat-3x

repeat-3x is a command for Claude Code from danielraffel/generous-corp-marketplace. It costs 19 tokens per session (1,524 once invoked), scanned A, original, MIT.

A command that repeats your last request three times before the agent processes it.

In plain words
What is it for?
Use it to find a particular item in a long list, locate an item between two others, or match repeated patterns.
Why use it?
It is intended to reduce mistakes on tasks where the agent must find positions or patterns in lists. Repeating the request may help with these specific matching tasks.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the prompt-repeater plugin — 1 skill, 3 commands, 1 hook shipped together

Good fit Use it to find a particular item in a long list, locate an item between two others, or match repeated patterns.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/danielraffel/generous-corp-marketplace/repeat-3x
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/danielraffel/generous-corp-marketplace

Made for: Claude Code.

Or install prompt-repeater, the plugin that ships this one along with the rest of its 1 skill, 3 commands, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for repeat-3x

README.md
[![agentmods](https://agentmods.dev/badge/commands/danielraffel/generous-corp-marketplace/repeat-3x/github.svg)](https://agentmods.dev/commands/danielraffel/generous-corp-marketplace/repeat-3x)
Your own site
<a href="https://agentmods.dev/commands/danielraffel/generous-corp-marketplace/repeat-3x"><img src="https://agentmods.dev/badge/commands/danielraffel/generous-corp-marketplace/repeat-3x/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for repeat-3x

Your own site · 80×15
<a href="https://agentmods.dev/commands/danielraffel/generous-corp-marketplace/repeat-3x"><img src="https://agentmods.dev/badge/commands/danielraffel/generous-corp-marketplace/repeat-3x.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,524 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.01524
Opus 5 $0.00010 $0.00762
Sonnet 5 $0.00004 $0.00305
Haiku 4.5 $0.00002 $0.00152

Measured 8d ago against content hash 4cf743bb50e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

repeat-3x scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/prompt-repeater/commands/repeat-3x.md · 202 lines

How it starts

The opening of the file, as written. The whole thing — 202 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Repeat Last Prompt (Triple)

Apply triple prompt repetition optimization to the user's last message. This variant repeats the query three times for maximum accuracy on specific task types.

What This Command Does

  1. Retrieves the user's last message from the conversation history
  2. Applies triple repetition: <QUERY> Let me repeat that: <QUERY> Let me repeat that one more time: <QUERY>
  3. Processes the triple-repeated prompt to improve model performance
  4. Provides a brief confirmation that triple repetition was applied

When to Use

Use this command specifically for tasks that benefit from maximum repetition:

Highly recommended for:

  • List navigation: Finding Nth item, finding item between two others
  • Pattern matching: Complex pattern recognition in lists
  • NameIndex-type tasks: Locate specific item in long list
  • MiddleMatch-type tasks: Find item between two others in list with repetitions

Less beneficial for:

  • Simple multiple choice (use /repeat-last instead)
  • Short queries (simple repetition sufficient)
  • General fact retrieval (simple repetition sufficient)

Implementation Instructions

When this command is invoked:

  1. Retrieve the last user message from the conversation history

    • Get the most recent message from the user (not from Claude)
    • If unavailable, inform the user that there's no previous message to repeat
  2. Apply triple repetition

    • Format: <QUERY> Let me repeat that: <QUERY> Let me repeat that one more time: <QUERY>
    • Include framing text between each repetition
    • Example: If user asked "What's the 25th item?", process it as:
      What's the 25th item?
      Let me repeat that:
      What's the 25th item?
      Let me repeat that one more time:
      What's the 25th item?
      
  3. Process the triple-repeated prompt

    • Treat the triple-repeated prompt as if it were the original user input
    • Generate response based on the repeated context
    • Do not include the repetition in the visible response

Read the full file on GitHub · 202 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 202 lines · 19 tokens per session scan A 4cf743bb50e8

Subscribe to this mod's changes

repeat-3x is a command published in the GitHub repository danielraffel/generous-corp-marketplace (11 stars, last pushed 10d ago), licensed MIT. It adds 19 tokens to every session and 1,524 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.