ui-sampler

by Natsume777 · ★ 0 · updated yesterday

PanesBandsStatus lineReskinsGuardsCommandsPromptAudiovalidates

0

A labelled catalog of every place a mod can draw, every API it can call and every value it can read

install ui-sampler

Install

/plugin marketplace add natsume-777/claude-mods
/plugin install ui-sampler@codingway-claude-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startcommand.runui.rendersession.endsession.measuresession.attachsession.detachsession.receiveprompt.submitturn.startturn.steptool.callplugin.registerui.messageui.pressui.closeui.focuscommand.describeconfig.describeturn.completeprompt.suggest
API calls
$.agent.list$.audio.play$.audio.speak$.clock.after$.clock.every$.clock.now$.clock.sleep$.command.list$.command.register$.config.list$.env.get$.env.set$.fs.ancestors$.fs.exists$.fs.list$.fs.read$.fs.stat$.fs.write$.http.fetch$.model.complete$.process.run$.prompt.fill$.prompt.read$.prompt.suggest$.session.append$.session.authorize$.session.cwd$.session.id$.session.messages$.session.model$.session.repo$.session.root$.session.surfaces$.session.turns$.session.usage$.session.version$.settings.read$.state.get$.state.set$.store.get$.store.keys$.tool.list$.ui.ask$.ui.blit$.ui.close$.ui.copy$.ui.focus$.ui.invalidate$.ui.log$.ui.notice$.ui.open$.ui.panes$.ui.resolve$.ui.scroll$.ui.status$.ui.toast
Draws
PaneSpinnerSessionModePromptHintAbovePromptCommandOutputUserMessageAssistantMessageToolUseToolResultToolGroupToolProgressTurnDurationInfoNoticeAskUserQuestion
Can see
every promptevery tool callBash calls
Reach
level 3 of 3 networkruns processeswrites filessets env varsdrives Claudewrites the prompt boxwrites the clipboardreads filesreads env varsreads settingsreads the transcriptreads the prompt boxreads mod staterequests an Anthropic credential handleplays audiopersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/natsume-777/claude-mods
Path in repo
plugins/ui-sampler
Source commit
a517a39 the exact code the scan read
Author
Natsume777 @natsume-777
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from natsume-777/claude-mods

cache-timer

natsume-777/claude-mods

Shows how long the prompt cache has left, next to the model name in the footer

★ 0Reskins

usage-band

natsume-777/claude-mods

Shows context, 5-hour and weekly limit usage in the band above the prompt

★ 0BandsGuards

usage-ledger

natsume-777/claude-mods

Shows where the session's tokens go and when a fresh session would be cheaper

★ 0PanesBandsGuards

whiteboard

natsume-777/claude-mods

A whiteboard Claude writes to: titled Markdown cards (steps, running jobs, links) that stay put instead of scrolling away in the chat

★ 0PanesBandsGuards