What is red-pen?
red-pen is a Claude Code mod by sky-nju that 红笔批阅:在 Claude 的回答上逐段批「采纳 / 不要 / 啥意思 / 批注」,一键拼成「原文——批注」发出;长回答自动按规矩批一遍,问过的词记进看不懂词典. It is listed under Interface and has 1 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | sky-nju |
| Repository | sky-nju/claude-mods |
| Popularity | 1 GitHub stars |
| Category | Interface |
| Security | Review before installing (76/100) |
| Rank | #4,259 of 9,397 Claude Code mods; #1,833 in Interface |
| Last commit | 2026-10-14 |
| Hooks | 6 events |
| Sees | only the events it hooks |
| Draws on | AssistantMessage, AbovePrompt, Pane |
Is red-pen safe to install?
red-pen scores 76/100 on the MCPMods security check: Review before installing. Things to review: reads environment variables. It passed 4 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Drives Claude (model calls, prompts) | Note |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.fs.read | reads files |
$.model.complete | drives Claude |
$.model.fork | drives Claude |
$.prompt.submit | drives Claude |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.close | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install red-pen?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/sky-nju/claude-mods claude plugin validate ./claude-mods/red-pen
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add sky-nju/claude-mods && claude plugin install red-pen@sky-claude-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs red-pen for you:
Install the "red-pen" Claude Code mod from https://github.com/sky-nju/claude-mods/tree/main/red-pen. Run claude plugin validate on it first and show me what it can access before you enable it.