Skill v1.0.0
currentAutomated scan100/100name: redpen-setup description: Configure redpen for the ChatGPT desktop launcher and Codex (language + native-style hint). Invoke when the user wants to change which language they are practising or whether the native-style hint shows. Writes ~/.codex/redpen.config. allowed-tools: Read, Write metadata: version: "1.0.0"
The user invoked the redpen-setup skill. Follow these steps EXACTLY. Do not explore the codebase, do not run other commands, do not summarise.
Note on model: the runner automatically triesgpt-5.6-lunain Fastmode, thengpt-5.6-terrain Fast mode, and finallygpt-5.4-miniinStandard mode. The setup skill therefore does NOT ask about model.
Step 1 — Read current config
Read ~/.codex/redpen.config. Parse:
LANGUAGE=<...>(default:english)SHOW_HINT=<on|off>(default:on)
Remember as CURRENT_LANGUAGE and CURRENT_SHOW_HINT.
Missing-config case: if the file does not exist yet, treat both as unset (no ✓ markers in Step 2). The defaults above only apply if the user picks an out-of-range answer in Step 3.
Step 2 — Ask the user (two questions, one at a time)
Ask Question 1 and wait for the user's reply. Only after they reply, ask Question 2. Do NOT batch the two questions into one turn — the user needs to see and answer each one independently.
Current-selection marker: append ✓ to the option whose value matches the user's current config (so they see what they're on). The ✓ is independent of (Recommended); both can appear together. When matching the answer in Step 3, accept EITHER the number OR the label, and ignore any trailing ✓.
Question 1 — language
Reply with the number or the name. Which language do you want the redpen plugin to coach you on?
English中文 (Chinese)Español (Spanish)日本語 (Japanese)
Question 2 — native style line
Reply with the number or the name. Show a second "native style" line with a more idiomatic rephrasing under each rewrite?
On(Recommended) — show the divider + native-style rephrasing.Off— only show the scored rewrite line.
Step 3 — Map answers to config values
Language (accept number OR name, case-insensitive, ignore trailing ✓):
1orEnglish→english2or中文/Chinese/中文 (Chinese)→chinese3orEspañol/Spanish/Español (Spanish)→spanish4or日本語/Japanese/日本語 (Japanese)→japanese- Anything else →
english
Native hint (accept number OR name, case-insensitive):
1orOn→on2orOff→off- Anything else →
on
Step 4 — Write the new config
Use the Write tool to overwrite ~/.codex/redpen.config with EXACTLY this content (substitute the chosen values):
# redpen config — shared by the ChatGPT desktop launcher and Codex hook.## Supported LANGUAGE values:# english | chinese | spanish | japanese# aliases: en | zh, cn, 中文 | es, español, espanol | ja, jp, 日本語LANGUAGE=<new language>## SHOW_HINT: whether to show a second "native style" line under each rewrite# with a more idiomatic, colloquial rephrasing. on (default) | off.SHOW_HINT=<new show_hint>## NOTE: The runner automatically falls back through:# gpt-5.6-luna Fast -> gpt-5.6-terra Fast -> gpt-5.4-mini Standard.
Step 5 — Confirm
Reply with ONE short line summarising what changed. Examples:
- Both changed:
✓ Switched to 中文 with native-style hints off. - Only language:
✓ Language set to English (hints unchanged: on). - Only hint:
✓ Native-style hints off (language unchanged: English). - Nothing changed:
Already on English + hints on — no change.
New setting takes effect on your next prompt. No further explanation.