recode

recode is a skill for Claude Code, Codex from Wondermonger-daydreaming/claude-skills-library. It costs 28 tokens per session (1,952 once invoked), scanned A, original, MIT.

A prompt-writing method for producing less predictable ideas by deliberately changing the instructions, grouping the results, and examining unusual answers. It is based on research about how language models tend to favour common responses.

In plain words
What is it for?
It helps brainstorm ideas, explore research topics, find names or metaphors, investigate design directions, and generate unusual literature-review angles.
Why use it?
Ordinary prompting often returns several versions of the same familiar answer. This method helps search less obvious possibilities when variety matters more than selecting the safest first response.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit It helps brainstorm ideas, explore research topics, find names or metaphors, investigate design directions, and generate unusual literature-review angles.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wondermonger-daydreaming/claude-skills-library/recode
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.

Any agent
npx skills add Wondermonger-daydreaming/claude-skills-library --skill recode
Clone the repo
git clone --depth 1 https://github.com/Wondermonger-daydreaming/claude-skills-library

Made for: Claude Code, Codex.

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 recode

README.md
[![agentmods](https://agentmods.dev/badge/skills/wondermonger-daydreaming/claude-skills-library/recode/github.svg)](https://agentmods.dev/skills/wondermonger-daydreaming/claude-skills-library/recode)
Your own site
<a href="https://agentmods.dev/skills/wondermonger-daydreaming/claude-skills-library/recode"><img src="https://agentmods.dev/badge/skills/wondermonger-daydreaming/claude-skills-library/recode/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 recode

Your own site · 80×15
<a href="https://agentmods.dev/skills/wondermonger-daydreaming/claude-skills-library/recode"><img src="https://agentmods.dev/badge/skills/wondermonger-daydreaming/claude-skills-library/recode.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,952 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.00028 $0.01952
Opus 5 $0.00014 $0.00976
Sonnet 5 $0.00006 $0.00390
Haiku 4.5 $0.00003 $0.00195

Measured 7d ago against content hash 3e4dbb269bdf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

recode 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 7d 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.

skills/recode/SKILL.md · 175 lines

How it starts

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

Recode

Prompt-level recoding-decoding for sustained creativity and diversity

Inspired by Luo, King, Puett & Smith (2025), "Inducing Sustained Creativity and Diversity in Large Language Models." The paper shows that as LLMs improve at accuracy, their probability distributions peak harder around the mode — better models encode MORE knowledge but surface LESS of it. Recoding-Decoding (RD) breaks this trap by injecting random perturbations to push generation into the long tails where unconventional, heterodox, culturally specific knowledge lives.

Since we don't have token-level decoding control, this skill implements RD at the prompt level — validated by the paper's own chat-completion simulation approach (Section 3).


When to Invoke

  • Brainstorming where you need genuinely different ideas, not rewordings of the same 5
  • Research topic exploration — finding the angle nobody else will find
  • Naming things, metaphor-hunting, design space exploration
  • Any generative task where you suspect you're getting "the standard AI answer"
  • When diversity matters more than correctness
  • Literature review ideation — what's the paper nobody cites?

The Algorithm

The paper's RD algorithm (Algorithm 1) uses two forms of randomness:

  1. Priming phrase — random semantic anchor prepended to the prompt (exploits positional attention bias)
  2. Diverting token — random 3-letter stem appended to force a specific phonetic/semantic entry point

We adapt this to prompt-level perturbation with five perturbation strategies:

Strategy Template What it does
Domain prime Thinking from the perspective of [random discipline]: Cross-pollinates from unexpected fields
Cultural anchor Drawing on the traditions of [random culture/region]: Breaks Western/anglophone default
Temporal displacement As if answering from [random decade/century]: Shifts historical frame
Contrarian inversion The answer most experts would dismiss but a heterodox thinker would defend: Targets the anti-mode directly
Phonetic seed Starting from the concept closest to "[random 3-letter stem]": Paper's diverting token, adapted

Read the full file on GitHub · 175 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. 7d ago First seen · 175 lines · 28 tokens per session scan A 3e4dbb269bdf

Subscribe to this mod's changes

recode is a skill published in the GitHub repository Wondermonger-daydreaming/claude-skills-library (6 stars, last pushed 2mo ago), licensed MIT. It adds 28 tokens to every session and 1,952 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-09-03.

Related

Other skills, from other repositories

prompt-master

Generates optimized prompts for AI tools. Activates only when the user explicitly asks to write, fix, improve, or adapt a prompt for a specific AI tool (LLM, Cursor, Midjourney, image AI, video AI, coding agents, etc.). Does not activate for general conversation, coding tasks, document writing, or other…

nidhinjs/prompt-master · 78 tokens

shortfilm-prompt

Generate cinematic AI shortfilm prompts (works with Seedance 2.0, Xiaoyunque, Sora, Kling, Jimeng, Veo) using the 5-stage structure from Mx-Shell's Zombie Scavenger. Trigger when the user wants transformation sequences, multi-shot narrative shorts, weapon-charge/combat segments, emotional family/pet/farewell…

jnMetaCode/ai-shortfilm-prompts · 100 tokens

video-frame-extractor

A video-frame extraction and analysis helper that selects key frames, describes their contents with a vision model, and creates structured prompts for further creation.

anbeime/skill · 78 tokens

kling-prompter

A prompt-writing guide for Kling 3.0, a video-generation model. It covers short videos, story-driven videos with dialogue or sound, and animating an existing reference image.

cclank/lanshu-awesome-ai-video-kit · 162 tokens

happyhorse-prompter

A tool for writing short prompts for HappyHorse 1.0, an AI video generator that can create video with sound. Its prompts put the main subject first, specify the camera, and describe audible sound when needed.

cclank/lanshu-awesome-ai-video-kit · 116 tokens

seedance-prompter

A prompt-writing guide for Doubao Seedance 2.0, an AI model that generates videos from written instructions.

cclank/lanshu-awesome-ai-video-kit · 142 tokens