redpen-setup
/redpen-setup
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.
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 28.07.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
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.
Original author 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.
How it works
- Step 1 — Read current config
- Step 2 — Ask the user (two questions, one at a time)
- Step 3 — Map answers to config values
- Step 4 — Write the new config
- Step 5 — Confirm
SKILL.md preview
--- name: 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 --- 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 tries `gpt-5.6-luna` in Fast > mode, then `gpt-5.6-terra` in Fast mode, and finally `gpt-5.4-mini` in > Standard 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? 1. `English` 2. `中文 (Chinese)` 3. `Español (Spanish)` 4. `日本語 (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? 1. `On` (Recommended) — show the divider + native-style rephrasing. 2. `Off` — only show the scored rewrite line. ## Step 3 — Map answers to config values Language (accept number OR name, case-insensitive, ignore trailing ✓): - `1` or `English` → `english` - `2` or `中文` / `Chinese` / `中文 (Chinese)` → `chinese` - `3` or `Español` / `Spanish` / `Español (Spanish)` → `spanish` - `4` or `日本語` / `Japanese` / `日本語 (Japanese)` → `japanese` - Anything else → `english` Native hint (accept number OR name, case-insensitive): - `1` or `On` → `on` - `2` or `Off` → `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.
Versions
The database has no other skills named redpen-setup.
Database snapshot: 13.11.2026 · package version cad7781ac811 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100qa-setup
Run /qa-setup once per project to configure the QA Stack. Use it before the first /qa-mode run, when reply language, spawn caps, execution mode, the issue tracker, or the browser driver change. It detects capabilities, writes the config file the router reads, and reports what it found. - 90codex-with-chatgpt
Use ChatGPT (web) as the planning and review brain for Codex coding sessions, while Codex keeps full execution ownership. Use when the user says "使用 Codex with ChatGPT ..." / "Set up Codex with ChatGPT" / "用 ChatGPT 规划", when they ask to connect ChatGPT to the current workspace,… - 95Qcc-setup
Sets up Claude Code and Codex shell shortcuts. Use when asked for Claude or Codex terminal aliases, cc/cx shortcuts, shell launcher setup, or restoration of the Qcc-setup workflow. - 100digest-setup
Use when the user wants to set up or change what Docket digests read — "налаштуй дайджест", "configure the digest", "add GitHub to my digest", "change the Notion database" — or when docket:digest finds no ~/.config/docket/digest.json. Detects which CLIs and MCP servers are… - 100configure
Sets up or edits the plugin configuration file interactively. Use on first-time setup, when config is missing, or when the user wants to change settings.