modscode JA

modscode / Gallery / pixipet

pixipet

A pixel pet that lives in Claude Code: it watches what Claude is doing, grows with Claude's work and keeps you company

Code you can checkTerminal + desktopPaneBandStatus lineToastBoxButtonInputSelectText

What it does

  • Draws a pane, a band above the prompt, the status line
  • Adds /pet
  • Watches tool calls and can refuse them
  • Hooks prompt.submit, session.end, session.start, turn.complete and 2 more
  • Keeps its own state between turns

Good points

  • No network calls
  • Starts no processes
  • Written in TypeScript
  • Has a desktop-specific branch

Code to start from

Two kinds: a starter modscode writes from the design above, and the lines of the mod's own code that draw it.

Starter (register.tsx)

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

// Drawn like pixipet by VibeMage (pane, band, status, toast), as modscode read it from the mod's code:
// https://modscode.com/gallery/vibemage-pixipet/
// 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 pane: open it with $.ui.open({ id: 'my-pane', title: "‹paneTitle›" })
  on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
    const { Box, Text, Button, Input } = $.ui.resolve(e)
    const title = '…'
    const back = '…'
    const species = '…'
    const name = '…'
    const place = '…'
    const band = '…'
    const buttons = '…'
    const keys = '…'
    const skin = '…'
    const lang = '…'
    const namePlaceholder = '…'
    const reset = '…'
    const resetSure = '…'
    const resetYes = '…'
    const cancel = '…'
    const hint = '…'
    return (
      <Box flexDirection="column" gap={0}>
        <Box justifyContent="space-between" marginBottom={1}>
          <Text bold>
            {title}
          </Text>
          <Box>
            <Button plain hotkey="b" label={`${back}`} />
          </Box>
        </Box>
        <Box flexDirection="row">
          <Box width={9} flexShrink={0}>
            <Text>
              {species}
            </Text>
          </Box>
          <Box flexDirection="row" gap={1} flexWrap="wrap">
            <Box paddingX={1}>
              <Button plain label={`● ${name}`} />
            </Box>
            <Box paddingX={1}>
              <Button plain label={`● ${name}`} />
            </Box>
            <Box paddingX={1}>
              <Button plain label={`● ${name}`} />
            </Box>
          </Box>
        </Box>
        <Box flexDirection="row">
          <Box width={9} flexShrink={0}>
            <Text>
              {place}
            </Text>
          </Box>
          <Box flexDirection="row" gap={1} flexWrap="wrap">
            <Box paddingX={1}>
              <Button plain label={`● ${name}`} />
            </Box>
            <Box paddingX={1}>
              <Button plain label={`● ${name}`} />
            </Box>
            <Box paddingX={1}>
              <Button plain label={`● ${name}`} />
            </Box>
          </Box>
        </Box>
        <Box flexDirection="row">
          <Box width={9} flexShrink={0}>
            <Text>
              {band}
            </Text>
          </Box>
          <Box flexDirection="row" gap={1} flexWrap="wrap">
            <Box paddingX={1}>
              <Button plain label={`● ${name}`} />
            </Box>
            <Box paddingX={1}>
              <Button plain label={`● ${name}`} />
            </Box>
            <Box paddingX={1}>
              <Button plain label={`● ${name}`} />
            </Box>
          </Box>
        </Box>
        <Box flexDirection="row">
          <Box width={9} flexShrink={0}>
            <Text>
              {buttons}
            </Text>
          </Box>
          <Box flexDirection="row" gap={1} flexWrap="wrap">
            <Box paddingX={1}>
              <Button plain label={`● ${name}`} />
            </Box>
            <Box paddingX={1}>
              <Button plain label={`● ${name}`} />
            </Box>
            <Box paddingX={1}>
              <Button plain label={`● ${name}`} />
            </Box>
          </Box>
        </Box>
        <Box flexDirection="row">
          <Box width={9} flexShrink={0}>
            <Text>
              {keys}
            </Text>
          </Box>
          <Box flexDirection="row" gap={1} flexWrap="wrap">
            <Box paddingX={1}>
              <Button plain label={`● ${name}`} />
            </Box>
            <Box paddingX={1}>
              <Button plain label={`● ${name}`} />
            </Box>
            <Box paddingX={1}>
              <Button plain label={`● ${name}`} />
            </Box>
          </Box>
        </Box>
        <Box flexDirection="row">
          <Box width={9} flexShrink={0}>
            <Text>
              {skin}
            </Text>
          </Box>
          <Box flexDirection="row" gap={1} flexWrap="wrap">
            <Box paddingX={1}>
              <Button plain label={`● ${name}`} />
            </Box>
            <Box paddingX={1}>
              <Button plain label={`● ${name}`} />
            </Box>
            <Box paddingX={1}>
              <Button plain label={`● ${name}`} />
            </Box>
          </Box>
        </Box>
        <Box flexDirection="row">
          <Box width={9} flexShrink={0}>
            <Text>
              {lang}
            </Text>
          </Box>
          <Box flexDirection="row" gap={1} flexWrap="wrap">
            <Box paddingX={1}>
              <Button plain label={`● ${name}`} />
            </Box>
            <Box paddingX={1}>
              <Button plain label={`● ${name}`} />
            </Box>
            <Box paddingX={1}>
              <Button plain label={`● ${name}`} />
            </Box>
          </Box>
        </Box>
        <Box flexDirection="row">
          <Box width={9} flexShrink={0}>
            <Text>
              {name}
            </Text>
          </Box>
          <Input value={`${name}`} placeholder={`${namePlaceholder}`} />
        </Box>
        <Box flexDirection="row" marginTop={1}>
          <Box width={9} flexShrink={0}>
            <Text>
              {reset}
            </Text>
          </Box>
          <Box flexDirection="row" gap={1}>
            <Text>
              {resetSure}
              {" "}
            </Text>
            <Box paddingX={1}>
              <Button plain label={`${resetYes}`} />
            </Box>
            <Box paddingX={1}>
              <Button plain label={`${cancel}`} />
            </Box>
          </Box>
        </Box>
        <Text dimColor wrap="wrap">
          {hint}
        </Text>
      </Box>
    )
  })

  // the band above the prompt; what else goes there is drawn under it
  on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
    const { Box, Text, Button } = $.ui.resolve(e)
    const name = '…'
    const fullness = '…'
    const happiness = '…'
    const energy = '…'
    const describe = '…'
    const label = '…'
    return (
      <Box flexDirection="column">
        <Box flexDirection="column">
          <Box flexDirection="row">
            <Box flexShrink={0} flexDirection="row">
              <Text bold>
                (  .  )
                {" "}
              </Text>
              <Text>
                {name}
                {" "}
              </Text>
              <Text>
                {fullness}
              </Text>
              <Text>
                ████████░░░░░░░░
                {" "}
              </Text>
              <Text>
                {happiness}
              </Text>
              <Text>
                ████████░░░░░░░░
                {" "}
              </Text>
              <Text>
                {energy}
              </Text>
              <Text>
                ████████░░░░░░░░
                {" "}
              </Text>
              <Text>
                @@@@@@@@
                {" "}
              </Text>
            </Box>
            <Text wrap="truncate">
              {`│ Claude ${describe}`}
            </Text>
          </Box>
          <Box flexDirection="row" gap={1} flexWrap="wrap">
            <Box paddingX={1}>
              <Button plain label={`${label}`} />
            </Box>
            <Box paddingX={1}>
              <Button plain label={`${label}`} />
            </Box>
            <Box paddingX={1}>
              <Button plain label={`${label}`} />
            </Box>
          </Box>
        </Box>
        {await next(e)}
      </Box>
    )
  })

  on('session.start', async ($, e, next) => {
    const face = '…'
    const name = '…'
    const stats = '…'
    const describe = '…'
    await $.ui.status(`${face} ${name} ${stats} · Claude ${describe}`)
    return next(e)
  })
}

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 861–991 · Pane
  on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
    const pet = await read($, petAtom)
    const activity = await read($, activityAtom)
    const speech = await read($, speechAtom)
    const logs = await read($, logAtom)
    snap.skin = await read($, skinAtom)
    snap.species = await read($, speciesAtom)
    snap.lang = await read($, langAtom)
    const t = TEXT[snap.lang]
    snap.pet = pet
    snap.activity = activity
    const now = await $.clock.now()
    const c = await palette($)

    const stage = stageOf(pet.xp)
    const mood = moodOf(pet, activity.kind)
    const toNext = nextStageIn(pet.xp)
    const busy = isBusy(activity.kind)
    const cols = Math.min(e.props.bodyColumns, 48)
    const spoken = speech !== null && speech.until > now ? speech.text : ''
    const room = Math.max(0, (e.viewport?.rows ?? 30) - 28)

    const { Box, Text, Button } = $.ui.resolve(e)
    if ((await read($, viewAtom)) === 'settings') {
      pane = null
      return await drawSettings($, e, cols, c)
    }
    let picture
    if (e.surface === 'terminal') {
      const { Raster } = $.ui.resolve(e)
      const rows = 12
      pane = { columns: cols, rows }
      const cells = cellsFor(cols, rows, true)
      sent.set(PANE, cells)
      picture = <Raster key={RASTER} columns={cols} rows={rows} cells={cells} />
    } else {
      pane = null
      const [stink, piles] = ground(pet.poop, 0)
      picture = (
        <Box flexDirection="row">
          <Box flexDirection="column">
            {sprite(stage, mood, 0).map((l, i) => (
              <Text key={`s${i}`} color={mood === 'sick' ? c.green : c.text}>
                {l}
              </Text>
            ))}
          </Box>
          <Box flexDirection="column" justifyContent="flex-end">
            <Text color={c.sub}>{stink}</Text>
            <Text color={c.yellow}>{piles}</Text>
          </Box>
        </Box>
      )
    }

    return (
      <Box flexDirection="column" width={cols}>
        <Box justifyContent="space-between">
          <Text bold color={c.pet}>
            {pet.name}
            <Text dimColor>
              {' '}
              · {t.stage[stage]} · {ageText(pet, now, snap.lang)}
            </Text>
          </Text>
          <Box key="open-settings">
            <Button
              key="settings"
              plain
              hotkey="o"
              hover={{ color: c.pet }}
              label={t.settings.open}
              onPress={() => update($, viewAtom, () => 'settings')}
            />
          </Box>
        </Box>
        <Text color={c.yellow} wrap="truncate">
          {spoken ? `「${short(spoken, cols - 4)}」` : ' '}
        </Text>
        {picture}

        <Box flexDirection="column" marginTop={1}>
          <Text>
            {t.fullness} <Text color={pet.fullness < 25 ? c.red : c.green}>{bar(pet.fullness, 10)}</Text> {Math.round(pet.fullness)}
          </Text>
          <Text>
            {t.happiness} <Text color={pet.happiness < 30 ? c.red : c.pet}>{bar(pet.happiness, 10)}</Text>{' '}
            {Math.round(pet.happiness)}
          </Text>
          <Text>
            {t.energy} <Text color={pet.energy < 15 ? c.red : c.teal}>{bar(pet.energy, 10)}</Text> {Math.round(pet.energy)}
          </Text>
          <Text dimColor>
            {t.xp} {pet.xp}
            {toNext === null ? t.grown : t.toGrow(toNext)}
          </Text>
        </Box>

        <Box flexDirection="column" marginTop={1}>
          <Text bold>{t.doing}</Text>
          <Text color={activity.kind === 'asking' || activity.kind === 'approving' ? c.red : busy ? c.teal : activity.kind === 'error' ? c.red : c.sub} wrap="wrap">
            {busy ? '● ' : '○ '}
            {describe(activity, snap.lang)}
            {busy ? t.turnTools(activity.turnTools) : ''}
          </Text>
        </Box>

        {logs.length > 0 && room > 0 && (
          <Box flexDirection="column" marginTop={1}>
            <Text bold>{t.log}</Text>
            {logs.slice(-Math.min(room, 5)).map((l, i) => (
              <Text key={`l${i}`} dimColor wrap="truncate">
                {clock(l.at)} {l.text}
              </Text>
            ))}
          </Box>
        )}

        <Box marginTop={1}>
          {careButtons(Box, Button, c, t, pet, what => ({ hotkey: what[0]! }), what => doCare($, what))}
        </Box>
        {e.surface === 'terminal' && (
          <Text dimColor wrap="truncate">
            {e.props.isFocused
              ? t.focused
              : t.unfocused}
          </Text>
        )}
      </Box>
    )
  })
hooks/register.tsx lines 351–497 · Pane
async function drawSettings($: Engine, e: PaneSite, cols: number, c: Palette) {
  const t = tx()
  const o = t.settings
  const els = $.ui.resolve(e)
  const { Box, Text, Button } = els
  const [band, place, hasButtons, hasKeys, skin, species, langWanted, isConfirming] = await Promise.all([
    read($, bandModeAtom),
    read($, placeAtom),
    read($, hasButtonsAtom),
    read($, hasKeysAtom),
    read($, skinAtom),
    read($, speciesAtom),
    read($, langWantedAtom),
    read($, isConfirmingResetAtom),
  ])

  // One row: the label, then a chip per choice
  const row = <T extends string | boolean>(
    key: string,
    label: string,
    choices: readonly (readonly [T, string])[],
    current: T,
    pick: (value: T) => unknown,
  ) => (
    <Box key={`row-${key}`} flexDirection="row">
      <Box width={9} flexShrink={0}>
        <Text color={c.sub}>{label}</Text>
      </Box>
      <Box flexDirection="row" gap={1} flexWrap="wrap">
        {choices.map(([value, name]) => {
          const isOn = value === current
          return (
            <Box key={`${key}-${String(value)}`} backgroundColor={isOn ? c.chip.sleep : undefined} paddingX={1}>
              <Button
                key={`set-${key}-${String(value)}`}
                plain
                dimColor={!isOn}
                hover={{ color: c.pet }}
                label={`${isOn ? '●' : '○'} ${name}`}
                onPress={() => pick(value)}
              />
            </Box>
          )
        })}
      </Box>
    </Box>
  )

  const speciesRow =
    'Select' in els ? (
      <Box key="row-species" flexDirection="row">
        <Box width={9} flexShrink={0}>
          <Text color={c.sub}>{o.species}</Text>
        </Box>
        <els.Select
          key="set-species"
          value={species}
          options={speciesIds().map(id => ({ value: id, label: speciesName(id) }))}
          onSelect={id => setSpecies($, id)}
        />
      </Box>
    ) : (
      row('species', o.species, speciesIds().map(id => [id, speciesName(id)] as const), species, id => setSpecies($, id))
    )

  const nameRow =
    'Input' in els ? (
      <Box key="row-name" flexDirection="row">
        <Box width={9} flexShrink={0}>
          <Text color={c.sub}>{o.name}</Text>
        </Box>
        <els.Input
          key="set-name"
          value={snap.pet.name}
          placeholder={o.namePlaceholder}
          onSubmit={value => {
            const name = short(value, 12)
            if (name !== '') return rename($, name)
          }}
        />
      </Box>
    ) : null

  return (
    <Box flexDirection="column" width={cols} gap={0}>
      <Box justifyContent="space-between" marginBottom={1}>
        <Text bold color={c.pet}>
          {o.title}
        </Text>
        <Box key="back-to-pet">
          <Button
            key="back"
            plain
            hotkey="b"
            hover={{ color: c.pet }}
            label={o.back}
            onPress={async () => {
              await update($, isConfirmingResetAtom, () => false)
              await update($, viewAtom, () => 'pet')
            }}
          />
        </Box>
      </Box>
      {speciesRow}
      {row('place', o.place, [['above', o.above], ['below', o.below]] as const, place, v => setPlace($, v))}
      {row('band', o.band, [['full', o.full], ['mini', o.mini], ['hidden', o.hidden]] as const, band, v => setBand($, v))}
      {row('buttons', o.buttons, [[true, o.show], [false, o.hide]] as const, hasButtons, v => setButtons($, v))}
      {row('keys', o.keys, [[true, o.enabled], [false, o.disabled]] as const, hasKeys, v => setKeys($, v))}
      {row('skin', o.skin, [['color', o.color], ['lcd', o.lcd]] as const, skin, v => setSkin($, v))}
      {row('lang', o.lang, [['zh', '中文'], ['en', 'English'], ['auto', o.auto]] as const, langWanted, v => setLang($, v))}
      {nameRow}
      <Box key="row-reset" flexDirection="row" marginTop={1}>
        <Box width={9} flexShrink={0}>
          <Text color={c.sub}>{o.reset}</Text>
        </Box>
        {isConfirming ? (
          <Box flexDirection="row" gap={1}>
            <Text color={c.red}>{o.resetSure} </Text>
            <Box key="reset-yes" backgroundColor={c.chip.feed} paddingX={1}>
              <Button
                key="reset-confirm"
                plain
                hover={{ color: c.red }}
                label={o.resetYes}
                onPress={async () => {
                  await resetPet($)
                  await update($, isConfirmingResetAtom, () => false)
                  await update($, viewAtom, () => 'pet')
                }}
              />
            </Box>
            <Box key="reset-no" paddingX={1}>
              <Button key="reset-cancel" plain label={o.cancel} onPress={() => update($, isConfirmingResetAtom, () => false)} />
            </Box>
          </Box>
        ) : (
          <Box key="reset-ask" paddingX={1}>
            <Button key="reset" plain dimColor hover={{ color: c.red }} label={o.resetAsk} onPress={() => update($, isConfirmingResetAtom, () => true)} />
          </Box>
        )}
      </Box>
      <Text dimColor wrap="wrap">
        {o.hint}
      </Text>
    </Box>
  )
}
hooks/register.tsx lines 316–342 · Pane
function careButtons(
  Box: Elements['Box'],
  Button: Elements['Button'],
  c: Palette,
  t: (typeof TEXT)[Lang],
  pet: Pet,
  hotkey: (what: Care) => { hotkey?: string },
  onPress: (what: Care) => void,
) {
  const chips: [Care, string][] = [
    ['feed', t.feed],
    ['play', t.play],
    ['clean', t.clean],
    ['sleep', pet.isAsleep ? t.wake : t.sleep],
  ]
  // Medicine only while it is sick
  if (pet.isSick) chips.push(['heal', t.heal])
  return (
    <Box flexDirection="row" gap={1} flexWrap="wrap">
      {chips.map(([what, label]) => (
        <Box key={`care-${what}`} backgroundColor={c.chip[what]} paddingX={1}>
          <Button key={what} plain hover={{ color: c.pet }} {...hotkey(what)} label={label} onPress={() => onPress(what)} />
        </Box>
      ))}
    </Box>
  )
}
hooks/register.tsx lines 993–1007 · Band
  on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
    if (e.props.hasSurvey || (await read($, placeAtom)) !== 'above') return next(e)
    const theirs = await next(e)
    const ours = await drawBand($, e, e.props.bodyColumns, e.props.maxRows, true)
    if (ours === undefined) return theirs
    // Share the band with any other mod drawing there
    if (!theirs) return ours
    const { Box } = $.ui.resolve(e)
    return (
      <Box flexDirection="column">
        {theirs}
        {ours}
      </Box>
    )
  })
hooks/register.tsx lines 1032–1133 · Band
async function drawBand($: Engine, e: BandSite, width: number, maxRows: number, takesDigits: boolean) {
  const mode = await read($, bandModeAtom)
  if (mode === 'hidden') {
    band = null
    return undefined
  }
  const pet = await read($, petAtom)
  const activity = await read($, activityAtom)
  const speech = await read($, speechAtom)
  snap.skin = await read($, skinAtom)
  snap.species = await read($, speciesAtom)
  snap.lang = await read($, langAtom)
  const t = TEXT[snap.lang]
  snap.pet = pet
  snap.activity = activity
  const now = await $.clock.now()
  const c = await palette($)
  const mood = moodOf(pet, activity.kind)
  const busy = isBusy(activity.kind)
  const spoken = speech !== null && speech.until > now ? `「${speech.text}」` : ''
  const toNext = nextStageIn(pet.xp)
  const rows = 8
  const isFull = mode === 'full' && e.surface === 'terminal' && maxRows >= rows && width >= 64

  const hasKeys = takesDigits && (await read($, hasKeysAtom))
  const hasButtons = await read($, hasButtonsAtom)
  const { Box, Text, Button } = $.ui.resolve(e)
  const actColor = activity.kind === 'asking' || activity.kind === 'approving' ? c.red : busy ? c.teal : c.sub

  // A bare digit in an empty prompt presses a band Button: care without leaving the prompt
  const digits: Record<Care, string> = { feed: '1', play: '2', clean: '3', sleep: '4', heal: '5' }
  const buttons = careButtons(Box, Button, c, t, pet, what => (hasKeys ? { hotkey: digits[what] } : {}), what =>
    doCare($, what),
  )

  if (isFull && e.surface === 'terminal') {
    const { Raster } = $.ui.resolve(e)
    const columns = width >= 90 ? 44 : Math.max(26, width - 46)
    band = { id: e.requestId, columns, rows }
    const cells = cellsFor(columns, rows, false)
    sent.set(e.requestId, cells)
    return (
      <Box flexDirection="row">
        <Raster key={RASTER} columns={columns} rows={rows} cells={cells} />
        <Box flexDirection="column" justifyContent="flex-end" paddingLeft={1} width={Math.min(52, width - columns - 1)}>
          <Text wrap="truncate">
            <Text bold color={c.pet}>
              {pet.name}
            </Text>
            <Text color={c.sub}>
              {' '}
              · {t.stage[stageOf(pet.xp)]} · {t.xp} {pet.xp}
              {toNext === null ? '' : `/${pet.xp + toNext}`}
            </Text>
          </Text>
          <Text wrap="truncate">
            <Text color={c.sub}>{t.short.fullness} </Text>
            <Text color={pet.fullness < 25 ? c.red : c.green}>{bar(pet.fullness)}</Text>
            <Text color={c.sub}> {t.short.happiness} </Text>
            <Text color={pet.happiness < 30 ? c.red : c.pet}>{bar(pet.happiness)}</Text>
            <Text color={c.sub}> {t.short.energy} </Text>
            <Text color={pet.energy < 15 ? c.red : c.teal}>{bar(pet.energy)}</Text>
          </Text>
          <Text color={actColor} wrap="wrap">
            {busy ? '● ' : '○ '}Claude {describe(activity, snap.lang)}
            {busy && activity.turnTools > 0 ? t.tools(activity.turnTools) : ''}
          </Text>
          <Text color={c.yellow} wrap="wrap">
            {spoken || ' '}
          </Text>
          {hasButtons && buttons}
        </Box>
      </Box>
    )
  }

  // One line of stats that never gives way, Claude's activity after it, the buttons under it
  band = null
  return (
    <Box flexDirection="column" width={width}>
      <Box flexDirection="row">
        <Box flexShrink={0} flexDirection="row">
          <Text color={c.pet} bold>
            {stageOf(pet.xp) === 'egg' ? '(  .  )' : face(mood, 0)}{' '}
          </Text>
          <Text>{pet.name} </Text>
          <Text color={c.sub}>{t.short.fullness}</Text>
          <Text color={pet.fullness < 25 ? c.red : c.green}>{bar(pet.fullness, 5)} </Text>
          <Text color={c.sub}>{t.short.happiness}</Text>
          <Text color={pet.happiness < 30 ? c.red : c.pet}>{bar(pet.happiness, 5)} </Text>
          <Text color={c.sub}>{t.short.energy}</Text>
          <Text color={pet.energy < 15 ? c.red : c.teal}>{bar(pet.energy, 5)} </Text>
          {pet.poop > 0 && <Text color={c.yellow}>{'@'.repeat(pet.poop)} </Text>}
        </Box>
        <Text color={spoken ? c.yellow : actColor} wrap="truncate">
          {spoken || `│ Claude ${describe(activity, snap.lang)}`}
        </Text>
      </Box>
      {hasButtons && buttons}
    </Box>
  )
}
Licence text (MIT)
MIT License

Copyright (c) 2026 VibeMage

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.

What its code calls

tool callsremembers

What its code shows

Read from the source at commit fde0b0c59ce0 on 2026-10-06. 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.16 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, the same in both
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.no network
ProgramsWhether every program it starts is named in the code and is not a shell, an interpreter or a network tool.starts no programs
Reads and sendsWhether it both reads files or environment variables and reaches the network.reaches no 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 the code below (or run claude plugin validate . in its folder), weigh what it reaches, and install the commit you read.

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 VibeMage/claude-mod-pet
/plugin install pixipet@claude-mod-pet

This installs the marketplace's latest commit, which may not be the one read here (fde0b0c59ce0). Compare them before you install.

Ask Claude about it

With the modscode connector added, Claude can read this design, what its code reaches and its code, and build on them. Ask it like this:

Read the modscode design "vibemage-pixipet" with its code and make me a pane like it

Search them from Claude: the MCP connector

Similar designs