Skip to content
ModshelfSubmit

Ten things a mod can do

A mod is a small piece of code that runs inside Claude Code. It can draw, guard, rewrite and run on a timer. Here is each one, with a real mod recorded doing it.

  1. 01

    A side pane

    A panel beside the conversation that stays open while you work: a live dashboard, a game, a diff to review. A pane opened from a command always shows; one a mod opens by itself waits for a wide enough terminal.

    $.ui.openui.render → Pane
    • FlowPane running in Claude Code

      FlowPane

      Watch a Workflow run as a live graph of its phases and agents, in a side pane

      mpolatcanReach: Reads files★ 9
    • Claude Fleet running in Claude Code

      Claude Fleet

      Every Claude session on your machine in one table, with handoffs and cleanup

      DubbusReach: Writes or runs★ 1
  2. 02

    A band above the prompt

    A few rows right above where you type, for things you want in view but not in the way: the goal of the session, a checklist, something to watch while Claude works.

    ui.render → AbovePrompt
  3. 03

    A line under the prompt

    One line that stays until the mod changes it, or a redrawn hint line. Good for numbers you glance at all day: context used, plan limits, spend.

    $.ui.statusui.render → PromptHint
    • Limit Bars running in Claude Code

      Limit Bars

      Braille rings under the prompt for context and plan limits, with model and folder

      LegendSilviaReach: Draws only
  4. 04

    Toasts

    A short note in the top right that disappears after a few seconds. For the things you'd otherwise keep checking, like a CI run turning green.

    $.ui.toast
    • PR Tracker running in Claude Code

      PR Tracker

      Paste a PR link and watch its checks, reviews and merge state above the prompt

      sezaakgunReach: Writes or runs★ 3
  5. 05

    Guardrails on tool calls

    Every tool call passes through the mod before it runs, so the mod can let it through, change it, stop it or ask you first. Blast Radius holds an rm -rf and lists what it would delete.

    tool.calltool.check
  6. 06

    Prompt rewrites

    What you type passes through the mod before Claude sees it. The mod can change the text, attach context that Claude reads and you don't see, or stop the prompt altogether.

    prompt.submitprompt.context
  7. 07

    Your own slash commands

    A mod can add commands to the / menu. Some answer with a line of text, others open a pane or start a game.

    $.command.registercommand.run
    • Roll Credits running in Claude Code

      Roll Credits

      Rolls movie-style end credits for your coding session in a pane

      smukhReach: Draws only★ 2
    • Boss Fight running in Claude Code

      Boss Fight

      Failing tests summon a pixel boss, and every fix lands a hit until it's knocked out

      OneWave-AIReach: Draws only
  8. 08

    Tools and agents for Claude

    A mod can give Claude a new tool, described in plain words so Claude knows when to use it, and answer each call itself. It can start subagents too. Diff Review gives Claude a tool for leaving draft comments in its review pane.

    $.tool.register$.agent.spawn
    • Diff Review running in Claude Code

      Diff Review

      Review a pull request in a side pane and send your line comments as a pending review

      stefanosheaReach: Writes or runs★ 0
  9. 09

    Work on a timer

    A timer started with the session keeps running between turns without starting one. It can refresh a pane, raise a toast, or hand Claude a prompt when something needs attention.

    $.clock.every$.clock.after$.prompt.submit
    • PR Tracker running in Claude Code

      PR Tracker

      Paste a PR link and watch its checks, reviews and merge state above the prompt

      sezaakgunReach: Writes or runs★ 3
  10. 10

    Change what Claude reads

    A tool's result passes back through the mod too, so the mod can trim, tag or hide parts of it before Claude reads them. Secret Redactor swaps the keys in a cat .env for placeholders and puts the real values back when Claude uses them.

    tool.call

And a few more

Make your own

You don't have to write one by hand. Describe the mod in a Claude Code session, for example “a mod that shows the current git branch above the prompt”, and Claude writes it with its built-in plugin-authoring skill. Anthropic's guide to creating a mod covers the rest.

Built something good? Send it to us and we'll record it running.

The list of ten follows a post by JJ Englert on X.