开发者用 Claude Code mods API 做了个德语闪卡插件,把智能体等待时间变成复习时间
Original title: I built a Claude Code mod that turns agent wait time into German flashcards
The title and summary in the selected language are awaiting translation.
开发者发布免费 MIT 插件 deutsch-loop,在 Claude Code 单轮运行超过 12 秒且德语错题到期时,于提示框上方弹出情景卡片,可用 `/nochmal` 边等边作答。卡片和判分各调用一次 Sonnet,状态栏与面板不调用模型;配套 Skill 也能在 Codex 运行,插件依赖 Claude Code 的 mods API(早期访问,测试于 2.1.286)。
| I'm learning German, and I spend a lot of my day watching Claude Code work. So I built a small companion plugin that uses that wait. **What it does** - When a turn runs longer than 12 seconds and one of my German mistakes is due for review, a card opens above the prompt with a new situation, e.g. "Your train is late. Text your friend that you are waiting for her at the station." - I answer in the card, or with `/nochmal Ich warte am Bahnhof auf dich.` while Claude keeps working (the slash command is registered as `immediate`). - The answer is checked and saved as a review, and the back of the card shows my first mistake next to today's sentence: `Am 07.06.: „Ich warte dich.“ · Heute: „Ich warte am Bahnhof auf dich.“ ✓` - The status line shows what is due: `FehlerDNA · fällig: 3 Muster, 5 Wörter · 17 Tage in Folge` - `/fehlerdna` opens a pane with every mistake pattern on its 1-3-7-14-30-60-day review ladder; choose one to see its history. - During a roleplay, a scene pane shows role, goal, turns and time, with a Hilfe (help) button. **Who it's for:** people learning German who already use Claude Code. The tutor itself is a skill that also runs in Codex; the companion needs Claude Code's mods API. **Cost:** free and MIT. No extra API key: writing a card and checking an answer are one Sonnet call each through your own Claude Code login. The status line and the panes make no model calls. **My relation:** I wrote it. **What I learned building on the mods API (early access; tested on 2.1.286)**
**Install** claude plugin marketplace add ahmtsahin/deutsch-loop claude plugin install deutsch-loop@deutsch-loop claude plugin install nochmal@deutsch-loop Repo: https://github.com/ahmtsahin/deutsch-loop Feedback I'd value most: does a card during long turns feel useful or distracting? What would you put on it besides German? submitted by /u/impala_64 to r/ClaudeCode[link] [留言] |
Source: Reddit · ClaudeCode / Codex / VibeCoding · reddit.com