All shelves / Mods / Play
hitokoto
By hoobnn
hitokoto is a Claude Code play mod by hoobnn.
Draws a line from Hitokoto, a Chinese quote service, above the prompt. Each line is fetched from hitokoto.cn.
Draws
Install
The marketplace name is hoobnn-agent-mods.
claude plugin marketplace add hoobnn/hoobnn-agent-mods claude plugin install hitokoto@hoobnn-agent-mods
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.6.1
- License
- MIT
- Repo stars
- 7
- Last change
- 2026-10-10
What it can reach
- Draws in the session
- Reaches the network or an outside service
Hitokoto is a Chinese quote service of poetry, literature, anime lines, and aphorisms, at https://hitokoto.cn. The band shows one of those lines above the prompt, with the author and source dimmed after it. The lines themselves are Chinese. The band is visible by default. The refresh mode defaults to a timer, every 30 minutes. The other modes are one line a day, one per session, or a new line each prompt. An empty category list, the default, takes any category. Nothing is fetched while the band is hidden, or in claude -p or the SDK. One request runs at a time, and one that has not answered in 10 seconds counts as failed. The last line is kept, so a new or offline session starts with it. A click on the refresh mark fetches another line, except in daily mode. /hitokoto fetches a new line now. /hitokoto off and /hitokoto on write the visible option. /hitokoto on shows the band again and brings the line up to date. The request goes to https://hitokoto.cn, and the line comes back from there.
The quote band is why this page files it under play. The marketplace holds six Claude Code mods. This one installs on its own.
Demo

What it hooks into
session.startWhen a session startsprompt.submitWhen you send a promptcommand.runWhen you run its slash command/hitokotoprompt.editWhen you edit the promptui.renderDraws into the sessionAbovePrompt
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 1
/hitokoto
Files
The author's README and source, 4 files. They load when you open them.
Facts
- Author
- hoobnn
- Category
- Play
- Marketplace
- hoobnn-agent-mods
- Folder
- claude-code/hitokoto
- Version
- 0.6.1
- License
- MIT
- Repo stars
- 7
- Last change
- 2026-10-10
- Language
- TypeScript
- Files
- 16



