Ranking|Claude Code Mods

ModsCode / Claude Code Mods / Ranking / clawdy

clawdy

Clawd lives above your Claude Code prompt, among live cards for model, context, usage and project.

Code you can checkTerminal + desktopBandBoxSvg
network, draws

What it does

  • Draws a band above the prompt
  • Adds /clawd
  • Watches tool calls
  • Hooks prompt.submit, session.compact, session.start, turn.complete and 1 more
  • Calls the network

Good points

  • Written in TypeScript
  • Has a desktop-specific branch
  • Handles errors
  • Writes no files

Code to start from

A starter ModsCode writes from the drawing it read, and the mod's own lines that draw, where there are any.

Starter (register.tsx)

register.tsx
import type { Register } from 'claude-code'

// Drawn like clawdy by Xiuu (band), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/xiuu404-clawdy/
// Written by ModsCode from that reading, not copied from the mod: use it as you like.
// Each value below stands for one the mod works out at run time; put in your own.
export const register: Register = on => {
  // the band above the prompt; what else goes there is drawn under it
  on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
    const { Box } = $.ui.resolve(e)
    return (
      <Box flexDirection="column">
        <Box flexDirection="row" gap={1} alignItems="center">
          <Box flexDirection="column" />
        </Box>
        {await next(e)}
      </Box>
    )
  })
}

The mod's own code

Shown under the mod's licence (MIT); its text is below. Keep the notice if you copy these lines.

hooks/register.tsx lines 313–351 · Band
  on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
    const snap = await read($, snapshot)
    if (e.props.hasSurvey || !snap) return next(e)

    const now = await $.clock.now()
    bandId = e.requestId
    isBusy = e.props.isWorking
    if (isBusy) lastActivity = now
    const isMoving = ANIMATE === 'always' || (ANIMATE === 'working' && e.props.isWorking)

    // the desktop gets its own drawing; every other surface goes on below, as it always has
    if (e.surface === 'desktop') {
      const desk = $.ui.resolve(e)
      if ('Svg' in desk) {
        deskSeenAt = now
        await read($, deskTick)
        return drawDesktop(
          { Svg: desk.Svg },
          { snap, columns: e.props.bodyColumns, now, frame: await read($, frame), isMoving, pet: PET.show ? petFrame(now) : null },
        )
      }
    }

    const table = $.ui.resolve(e)
    const { Box, Text } = table
    const Raster = 'Raster' in table ? table.Raster : undefined
    shownCells = PET.show ? petCells(now) : ''
    return drawHud(
      { Box, Text, Raster },
      {
        snap,
        columns: e.props.bodyColumns,
        now,
        frame: await read($, frame),
        isMoving,
        pet: PET.show ? shownCells : null,
      },
    )
  })
hooks/hud-desktop.tsx lines 202–231 · Band
export function drawDesktop({ Svg }: Ui, input: DeskInput): RenderElement {
  const W = Math.max(480, Math.round(input.columns * D.pxPerColumn))
  const petW = input.pet ? (pixelsOf(input.pet).width * D.pixel.w) : 0
  const petH = input.pet ? (pixelsOf(input.pet).height * D.pixel.h) : 0
  const cardsX = D.pad + (petW ? petW + D.gap + 4 : 0)
  const cardsW = W - cardsX - D.pad
  const perRow = (cardsW - 3 * D.gap) / 4 >= D.card.rowFrom ? 4 : 2
  const cardW = Math.floor((cardsW - (perRow - 1) * D.gap) / perRow)
  const rows = 4 / perRow
  const H = 2 * D.pad + rows * D.card.height + (rows - 1) * D.gap

  const cards = [modelCard, contextCard, usageCard, projectCard].map((draw, k) => {
    const box = {
      x: cardsX + (k % perRow) * (cardW + D.gap),
      y: D.pad + Math.floor(k / perRow) * (D.card.height + D.gap),
      w: cardW,
      h: D.card.height,
    }
    return draw(box, input)
  })

  const pet = input.pet ? clawd(D.pad, Math.round((H - petH) / 2), input.pet) : ''
  const source =
    `<svg xmlns="http://www.w3.org/2000/svg" width="${W}" height="${H}" viewBox="0 0 ${W} ${H}" shape-rendering="crispEdges">` +
    style() +
    pet +
    cards.join('') +
    `</svg>`
  return <Svg source={source} alt={alt(input)} />
}
hooks/hud.tsx lines 190–223 · Band
export function drawHud(ui: Ui, input: HudInput): RenderElement {
  const { Box, Raster } = ui
  const petWidth = PET_COLS + CARD_GAP
  const hasPet = PET.show && Raster !== undefined && input.pet !== null && input.columns - petWidth >= GRID_FROM
  const cols = hasPet ? input.columns - petWidth : input.columns
  const perRow = cols >= ROW_FROM ? 4 : cols >= GRID_FROM ? 2 : 1
  const width = Math.floor((cols - CARD_GAP * (perRow - 1)) / perRow)
  const inner = Math.max(8, width - 4)

  const cards = [
    modelCard(ui, input, width, inner),
    contextCard(ui, input, width, inner),
    usageCard(ui, input, width, inner),
    projectCard(ui, input, width, inner),
  ]

  const rows: RenderElement[] = []
  for (let i = 0; i < cards.length; i += perRow) {
    rows.push(
      <Box key={`row${i}`} flexDirection="row" gap={CARD_GAP}>
        {cards.slice(i, i + perRow)}
      </Box>,
    )
  }
  const grid = <Box flexDirection="column">{rows}</Box>
  if (!hasPet || !Raster || input.pet === null) return grid

  return (
    <Box flexDirection="row" gap={CARD_GAP} alignItems="center">
      <Raster key="pet" columns={PET_COLS} rows={PET_ROWS} cells={input.pet} />
      {grid}
    </Box>
  )
}
Licence text (MIT)
MIT License

Copyright (c) 2026 Xiuu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

How to build this: Band above the prompt, Deny a tool call

What its code calls

networkruns programsenv varstool calls

What its code shows

Read from the source at commit 1c0c4a7ccbbc. The first group decides whether a mod is listed; the rest is for you to weigh. A later commit is not read until the next crawl.

Decides the listing: code you can check
Entry readEvery module hooks/hooks.json names was read.hooks/register.tsx
ParsesEvery file parses as TypeScript or JavaScript.7 files parsed
All its code is in the modEvery import is a file of the mod or the engine's own module; no packages, no require.all its code is in the mod
ReadableNo minified lines, no eval or new Function, no import of a computed path, no encoded blobs.no minified code, no eval, no encoded blobs
Calls in the openNetwork and programs are reached as $.http.fetch and $.process.run in place, never passed around.every call outside goes through $ in the open
For you to weigh before installing
Where it drawsThe terminal, the desktop app, both, or nothing (hooks only: a guard or a prompt rewriter), as its code says. Shown, never a reason to leave a mod out.draws in the terminal and the desktop app, with its own branch for the desktop
Install lineWhether its repository's own .claude-plugin/marketplace.json lists it, so it installs from that marketplace with the lines on its page.listed in its repository's .claude-plugin/marketplace.json: installs from there
Programs on WindowsWhether every program it starts through $.process exists on Windows (tail, date, open, osascript, /usr/… do not).runs no program a Windows PC lacks
NetworkWhether every fetch names its https host in the code.hooks/register.tsx:77 fetch(USAGE.url)
ProgramsWhether every program it starts is named in the code and is not a shell, an interpreter or a network tool.git (reaches the network)
Reads and sendsWhether it both reads something of yours (files, environment variables, the transcript, settings) and reaches outside (the network, an MCP server, another session, telemetry).reads environment variables and reaches the network
Keys in the sourceWhether the source holds what looks like an API key or a private key.no keys in the source
LicenceAn open licence (MIT, Apache-2.0, BSD, ISC, Unlicense, 0BSD, CC0) with its text lets ModsCode show its code; otherwise the code is linked.MIT

This is a reading of the code text, not a security review: it does not run the mod, and it cannot see what a program the mod starts does. The check before installing is yours. How mods are chosen

Install it

Check it yourself before you install it. Mods run unsandboxed, with your permissions, and ModsCode does not vouch for what this code does. Read its code (or run claude plugin validate . in its folder), weigh what it reaches, and install the commit you read.

From its marketplace

Its repository is its marketplace. Add that marketplace (in the terminal with these commands, or in the desktop app's plugin settings) and install the mod from it:

/plugin marketplace add Xiuu404/clawdy
/plugin install clawdy@clawdy
/reload-plugins

This installs the marketplace's latest commit, which may not be the one read here (1c0c4a7ccbbc). Compare them before you install. /reload-plugins loads it into a session that is already open.

Try the commit ModsCode read

No marketplace needed. In a terminal, clone the repository, check out the commit read, validate the mod, and load it for one session:

git clone https://github.com/Xiuu404/clawdy
git -C clawdy checkout 1c0c4a7ccbbc7aad3e86c5b362ec8e6588830209
claude plugin validate clawdy
claude --plugin-dir clawdy

The validate line lists the events the mod hooks and what it asks Claude Code to do, without running it. The last line loads the mod for this session only and writes nothing to your settings. If the author has rewritten history, the commit may no longer exist.

Ask Claude about it

With the ModsCode connector added, Claude can read this mod's code and what it reaches, and build on them. Ask it like this:

Read the ModsCode mod "xiuu404-clawdy" with its code and make me one like it

Search them from Claude: the MCP connector

Similar mods

Badge for your README

If this is your mod, paste this into your README. It links to this page.

README.md
[![ModsCode](https://modscode.com/badge/xiuu404-clawdy.svg)](https://modscode.com/claude-mods/mods/xiuu404-clawdy/)