hitokoto
Reviewed
at commit 0a2174b
New version, not yet reviewed
A quote fetched from the Hitokoto (一言) API above the prompt with its source, refreshed on a timer, once a day, per session or per prompt.
0 upvotes
Log in to upvote or save- Made by
- hoobnn
- Pinned commit
-
0a2174b097ac81cc35b5ed3d440ef617008b79bc - What we checked
-
Shows a Chinese quote from the Hitokoto service in a band above the prompt, refreshed on a timer, per session, per prompt or once a day. It requests a quote from v1.hitokoto.cn (your IP and the chosen categories are visible to it, nothing from your prompts or files) and stores the last quote and whether the band is shown.
Review details
Static review of the source at the pinned commit; not run. Delta review of the changes since 39726ff; the rest carries over from the review at that commit. The only change in this version is an added "claude-code" keyword in plugin.json; no code changed. Hooks: session.start (reads the Claude Code language setting with $.settings.read and LC_ALL/LC_MESSAGES/LANG with $.env.get to pick the message language, registers the /hitokoto command, starts $.clock.every timers), session.attach, prompt.submit (only triggers a refresh in prompt mode, never reads the text), prompt.edit and prompt.change (only check whether a slash or @ picker is open), command.run for /hitokoto [on|off], and ui.render for AbovePrompt. The only network call is $.http.fetch to https://v1.hitokoto.cn/?encode=json plus optional category letters validated against a-l, with a 10 second timeout and one request at a time. The response is parsed as JSON and control characters are stripped before display. Storage: $.store keys last and daily; $.config.set writes only its own hitokoto.visible row. Start-up runs once from session.start or session.attach (desktop app, headless sessions) and for non-interactive sessions that have a surface; the hidden state falls back to the saved visible row in resumed or cleared sessions. No new hosts, files, commands or permissions. The unresolved ../types import is a type-only declaration file that exists in the folder.
- What it uses
-
- Reads your prompts: no
- Sees tool calls: no
- Blocks or changes tool calls: no
- Reads or writes files: no
- Runs programs on your machine: no
- Calls the model (uses tokens): no
- Sends data over the network: yes
- Stores data: yes
- Shows something on screen: yes
A line from Hitokoto (一言) in a band above the prompt, refreshed on a timer, per session, per prompt or once a day
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/hitokoto/)