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.
git clone --depth 1 https://github.com/danielraffel/generous-corp-marketplaceWrote 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.
[](https://agentmods.dev/commands/danielraffel/generous-corp-marketplace/repeat-last)<a href="https://agentmods.dev/commands/danielraffel/generous-corp-marketplace/repeat-last"><img src="https://agentmods.dev/badge/commands/danielraffel/generous-corp-marketplace/repeat-last.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00021 | $0.00864 |
| Opus 5 | $0.00010 | $0.00432 |
| Sonnet 5 | $0.00004 | $0.00173 |
| Haiku 4.5 | $0.00002 | $0.00086 |
Grade A, and why
repeat-last 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.
How it starts
The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Repeat Last Prompt
Apply simple prompt repetition optimization to the user's last message. This command implements the technique from Google Research's "Prompt Repetition Improves Non-Reasoning LLMs" paper.
What This Command Does
- Retrieves the user's last message from the conversation history
- Applies simple repetition by duplicating the prompt:
<QUERY><QUERY> - Processes the repeated prompt to improve model performance
- Provides a brief confirmation that repetition was applied
When to Use
Use this command for non-reasoning tasks such as:
- Multiple choice questions
- Finding items in lists
- Simple fact retrieval
- Pattern matching
- Basic categorization
Do not emphasize for:
- Complex planning or analysis
- Multi-step debugging
- Creative writing tasks
- Tasks already using extended thinking
Implementation Instructions
When this command is invoked:
-
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
-
Apply simple repetition
- Format:
<QUERY> <QUERY>(the query repeated twice, separated by a space) - No additional framing or text between repetitions (just a single space)
- Example: If user asked "What's the 5th item?", process it as "What's the 5th item? What's the 5th item?"
- Format:
-
Process the repeated prompt
- Treat the 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
-
Provide confirmation
- Briefly note that prompt repetition was applied
- Example: "Applied prompt repetition optimization to your query."
- Then provide the actual answer to the query
Example Usage
User's original message:
Here's a list of names:
Alice, Bob, Charlie, David, Emma
What's the 3rd name?
User runs: /repeat-last
Claude processes internally:
Here's a list of names:
Alice, Bob, Charlie, David, Emma
What's the 3rd name? Here's a list of names:
Alice, Bob, Charlie, David, Emma
What's the 3rd name?
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.
- 8d ago First seen · 126 lines · 21 tokens per session scan A 06a432055370
repeat-last is a command published in the GitHub repository danielraffel/generous-corp-marketplace (11 stars, last pushed 9d ago), licensed MIT. It adds 21 tokens to every session and 864 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.
Other commands, from other repositories
cancel-ralph
Cancel active Ralph Loop.
obsidian-recap
Summarize a time period from the vault - today, week, or month.
setup-pm-skills
Onboard a new user — find out what they do, recommend the right bundles & top skills, and set up a project CONTEXT.md so every skill is tailored to them.
statusbar-style
Switch the status-bar style (classic / capsule / hairline).
engage.actions
Execute Phase 7 - Actions on Objectives and Goal Achievement.
superpowers-execute
Execute the current GSD phase plan with Superpowers instead of gsd-execute-phase.