ClaudeCodeMod

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.

In your shell
claude plugin marketplace add hoobnn/hoobnn-agent-mods
claude plugin install hitokoto@hoobnn-agent-mods
Open the repo

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

A rendered sample of a quote band above the prompt, the line in Chinese, with the author and source dimmed after it and a refresh mark.
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • prompt.submitWhen you send a prompt
  • command.runWhen you run its slash command/hitokoto
  • prompt.editWhen you edit the prompt
  • ui.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
Repo
hoobnn/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

Other mods in Play

spinnerhoobnnDraws a pixel scene and a pet above the prompt while a turn runs, then confetti when the turn ends.token-tycoonmatthlhAn idle game above the prompt: presses and hired agents earn tokens, and Claude's tool calls and finished turns count too.goblin-chromeJasonWarrenUKDraws a goblin above the prompt that reacts to the session: a prop for the skill, minions for subagents, and a frame for the model.snake-paneSzotaszDraws Snake in a side pane while Claude works, and pauses when the turn ends. It opens when you send a prompt.clawd-petyuyongyan29-devDraws Clawd, a pixel pet, above the prompt, reacting while Claude thinks, searches, edits, and runs a command.flash-veillecamillerouxDraws one headline at a time above the prompt from French-language tech feeds, and sends no local data.arcademutlumehmetDraws pixel games above the prompt that move with each tool call. Octo Invader starts on its own.findmutlu-soundsmutlumehmetOn macOS, plays a short sound when Claude waits, a long turn ends, a check fails, or a push goes through. The first session shows one notice.peitschenikisgeDraws a whip you swing at Clawd. A hit while Claude is working makes Clawd flinch and tells Claude to go faster.token-monsterugglrDraws a pixel monster in a side pane that eats tokens, and shows how full the context is, the plan limits, and what Claude is doing.pixel-petNamenomeaningDraws a pixel pet above the prompt that acts out the tool Claude is using, with context and rate-limit bars below.agent-narratorOneWave-AIDraws each step of the session in one plain sentence, with a running estimate of time saved.
All 96 in Play