Ranking|Claude Code Mods

ModsCode / Claude Code Mods / Ranking / breadcrumbs

breadcrumbs

KOZMOS Breadcrumbs: the session's web trail in a sidebar. WebSearch queries with result counts and top hits, WebFetch URLs with status and size, and browser-like MCP visits, grouped by domain with a monogram badge, clickable links and a co…

Code you can checkTerminal + desktopPaneToastBoxButtonLinkSvgText
runs programs, drives Claude, draws

What it does

  • Draws a pane, toasts
  • Adds /breadcrumbs
  • Watches tool calls
  • Hooks agent.spawn, session.start
  • Starts processes

Good points

  • No network calls
  • Written in TypeScript
  • Has a desktop-specific branch
  • Handles errors

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 breadcrumbs by KOZMOS (pane, toast), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/ersinkoc-breadcrumbs/
// 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: "KOZMOS · Breadcrumbs" })
  on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
    const { Box, Text, Button, Link } = $.ui.resolve(e)
    const length = '…'
    const fetches = '…'
    const searches = '…'
    const domains = '…'
    const browses = '…'
    const failures = '…'
    const monogram = '…'
    const length2 = '…'
    const clockOf = '…'
    const fmtBytes = '…'
    const failures2 = '…'
    const clockOf2 = '…'
    const query = '…'
    const results = '…'
    const fmtMs = '…'
    const who = '…'
    const error = '…'
    const url = '…'
    const title = '…'
    const title2 = '…'
    const title3 = '…'
    const clockOf3 = '…'
    const query2 = '…'
    const fmtMs2 = '…'
    const who2 = '…'
    const error2 = '…'
    const title4 = '…'
    const title5 = '…'
    const title6 = '…'
    const clockOf4 = '…'
    const query3 = '…'
    const fmtMs3 = '…'
    const who3 = '…'
    const error3 = '…'
    const title7 = '…'
    const title8 = '…'
    const title9 = '…'
    const length3 = '…'
    const monogram2 = '…'
    const length4 = '…'
    const clockOf5 = '…'
    const failures3 = '…'
    const clockOf6 = '…'
    const query4 = '…'
    const fmtMs4 = '…'
    const who4 = '…'
    const error4 = '…'
    const title10 = '…'
    const title11 = '…'
    const title12 = '…'
    const clockOf7 = '…'
    const query5 = '…'
    const fmtMs5 = '…'
    const who5 = '…'
    const error5 = '…'
    const title13 = '…'
    const title14 = '…'
    const title15 = '…'
    const clockOf8 = '…'
    const query6 = '…'
    const fmtMs6 = '…'
    const who6 = '…'
    const error6 = '…'
    const title16 = '…'
    const title17 = '…'
    const title18 = '…'
    const length5 = '…'
    const monogram3 = '…'
    const length6 = '…'
    const clockOf9 = '…'
    const failures4 = '…'
    const clockOf10 = '…'
    const query7 = '…'
    const fmtMs7 = '…'
    const who7 = '…'
    const error7 = '…'
    const title19 = '…'
    const title20 = '…'
    const title21 = '…'
    const clockOf11 = '…'
    const query8 = '…'
    const fmtMs8 = '…'
    const who8 = '…'
    const error8 = '…'
    const title22 = '…'
    const title23 = '…'
    const title24 = '…'
    const clockOf12 = '…'
    const query9 = '…'
    const fmtMs9 = '…'
    const who9 = '…'
    const error9 = '…'
    const title25 = '…'
    const title26 = '…'
    const title27 = '…'
    const length7 = '…'
    return (
      <Box flexDirection="column">
        <Box flexDirection="row" justifyContent="space-between">
          <Text bold color="#22d3ee">
            ◍ BREADCRUMBS
          </Text>
          <Text dimColor>
            {length}
            {" steps"}
          </Text>
        </Box>
        <Text wrap="truncate-end">
          <Text color="#22d3ee">
            {fetches}
            {" fetches"}
          </Text>
          <Text dimColor>
            {" · "}
          </Text>
          <Text color="#a78bfa">
            {searches}
            {" searches"}
          </Text>
          <Text dimColor>
            {" · "}
          </Text>
          <Text color="#2dd4bf">
            {domains}
            {" domains"}
          </Text>
          <Text dimColor>
            {" · "}
            {browses}
            {" browser"}
          </Text>
          <Text color="#f87171">
            {" · "}
            {failures}
            {" failed"}
          </Text>
        </Text>
        <Text wrap="truncate-end">
          <Text>
            ▆▆▆▆▆▆▆▆
          </Text>
          <Text>
            ▆▆▆▆▆▆▆▆
          </Text>
          <Text>
            ▆▆▆▆▆▆▆▆
          </Text>
        </Text>
        <Button label="⧉ copy all as Markdown" dimColor />
        <Box flexDirection="column" marginTop={1}>
          <Box flexDirection="row" justifyContent="space-between">
            <Text wrap="truncate-end">
              <Text color="#111111" bold>
                {" "}
                {monogram}
                {" "}
              </Text>
              <Text bold>
                {" "}
                web search
              </Text>
              <Text dimColor>
                {" · "}
                {length2}
                {" · "}
                {clockOf}
                {` · ${fmtBytes}`}
              </Text>
              <Text color="#f87171">
                {" · "}
                {failures2}
                ✖
              </Text>
            </Text>
            <Button label="▸" plain dimColor />
          </Box>
          <Box flexDirection="column">
            <Text wrap="truncate-end">
              <Text dimColor>
                {" "}
                {clockOf2}
                {" "}
              </Text>
              <Text color="#a78bfa">
                {"⌕ "}
              </Text>
              <Text>
                “
                {query}
                ”
              </Text>
              <Text dimColor>
                {` · ${results} results`}
                {" · "}
                {fmtMs}
                {who}
              </Text>
            </Text>
            <Text color="#f87171" wrap="truncate-end">
              {" └ "}
              {error}
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title}
              </Link>
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title2}
              </Link>
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title3}
              </Link>
            </Text>
          </Box>
          <Box flexDirection="column">
            <Text wrap="truncate-end">
              <Text dimColor>
                {" "}
                {clockOf3}
                {" "}
              </Text>
              <Text color="#a78bfa">
                {"⌕ "}
              </Text>
              <Text>
                “
                {query2}
                ”
              </Text>
              <Text dimColor>
                {` · ${results} results`}
                {" · "}
                {fmtMs2}
                {who2}
              </Text>
            </Text>
            <Text color="#f87171" wrap="truncate-end">
              {" └ "}
              {error2}
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title4}
              </Link>
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title5}
              </Link>
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title6}
              </Link>
            </Text>
          </Box>
          <Box flexDirection="column">
            <Text wrap="truncate-end">
              <Text dimColor>
                {" "}
                {clockOf4}
                {" "}
              </Text>
              <Text color="#a78bfa">
                {"⌕ "}
              </Text>
              <Text>
                “
                {query3}
                ”
              </Text>
              <Text dimColor>
                {` · ${results} results`}
                {" · "}
                {fmtMs3}
                {who3}
              </Text>
            </Text>
            <Text color="#f87171" wrap="truncate-end">
              {" └ "}
              {error3}
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title7}
              </Link>
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title8}
              </Link>
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title9}
              </Link>
            </Text>
          </Box>
          <Text dimColor>
            {" … "}
            {length3}
            {" more"}
          </Text>
        </Box>
        <Box flexDirection="column" marginTop={1}>
          <Box flexDirection="row" justifyContent="space-between">
            <Text wrap="truncate-end">
              <Text color="#111111" bold>
                {" "}
                {monogram2}
                {" "}
              </Text>
              <Text bold>
                {" "}
                web search
              </Text>
              <Text dimColor>
                {" · "}
                {length4}
                {" · "}
                {clockOf5}
                {` · ${fmtBytes}`}
              </Text>
              <Text color="#f87171">
                {" · "}
                {failures3}
                ✖
              </Text>
            </Text>
            <Button label="▸" plain dimColor />
          </Box>
          <Box flexDirection="column">
            <Text wrap="truncate-end">
              <Text dimColor>
                {" "}
                {clockOf6}
                {" "}
              </Text>
              <Text color="#a78bfa">
                {"⌕ "}
              </Text>
              <Text>
                “
                {query4}
                ”
              </Text>
              <Text dimColor>
                {` · ${results} results`}
                {" · "}
                {fmtMs4}
                {who4}
              </Text>
            </Text>
            <Text color="#f87171" wrap="truncate-end">
              {" └ "}
              {error4}
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title10}
              </Link>
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title11}
              </Link>
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title12}
              </Link>
            </Text>
          </Box>
          <Box flexDirection="column">
            <Text wrap="truncate-end">
              <Text dimColor>
                {" "}
                {clockOf7}
                {" "}
              </Text>
              <Text color="#a78bfa">
                {"⌕ "}
              </Text>
              <Text>
                “
                {query5}
                ”
              </Text>
              <Text dimColor>
                {` · ${results} results`}
                {" · "}
                {fmtMs5}
                {who5}
              </Text>
            </Text>
            <Text color="#f87171" wrap="truncate-end">
              {" └ "}
              {error5}
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title13}
              </Link>
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title14}
              </Link>
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title15}
              </Link>
            </Text>
          </Box>
          <Box flexDirection="column">
            <Text wrap="truncate-end">
              <Text dimColor>
                {" "}
                {clockOf8}
                {" "}
              </Text>
              <Text color="#a78bfa">
                {"⌕ "}
              </Text>
              <Text>
                “
                {query6}
                ”
              </Text>
              <Text dimColor>
                {` · ${results} results`}
                {" · "}
                {fmtMs6}
                {who6}
              </Text>
            </Text>
            <Text color="#f87171" wrap="truncate-end">
              {" └ "}
              {error6}
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title16}
              </Link>
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title17}
              </Link>
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title18}
              </Link>
            </Text>
          </Box>
          <Text dimColor>
            {" … "}
            {length5}
            {" more"}
          </Text>
        </Box>
        <Box flexDirection="column" marginTop={1}>
          <Box flexDirection="row" justifyContent="space-between">
            <Text wrap="truncate-end">
              <Text color="#111111" bold>
                {" "}
                {monogram3}
                {" "}
              </Text>
              <Text bold>
                {" "}
                web search
              </Text>
              <Text dimColor>
                {" · "}
                {length6}
                {" · "}
                {clockOf9}
                {` · ${fmtBytes}`}
              </Text>
              <Text color="#f87171">
                {" · "}
                {failures4}
                ✖
              </Text>
            </Text>
            <Button label="▸" plain dimColor />
          </Box>
          <Box flexDirection="column">
            <Text wrap="truncate-end">
              <Text dimColor>
                {" "}
                {clockOf10}
                {" "}
              </Text>
              <Text color="#a78bfa">
                {"⌕ "}
              </Text>
              <Text>
                “
                {query7}
                ”
              </Text>
              <Text dimColor>
                {` · ${results} results`}
                {" · "}
                {fmtMs7}
                {who7}
              </Text>
            </Text>
            <Text color="#f87171" wrap="truncate-end">
              {" └ "}
              {error7}
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title19}
              </Link>
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title20}
              </Link>
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title21}
              </Link>
            </Text>
          </Box>
          <Box flexDirection="column">
            <Text wrap="truncate-end">
              <Text dimColor>
                {" "}
                {clockOf11}
                {" "}
              </Text>
              <Text color="#a78bfa">
                {"⌕ "}
              </Text>
              <Text>
                “
                {query8}
                ”
              </Text>
              <Text dimColor>
                {` · ${results} results`}
                {" · "}
                {fmtMs8}
                {who8}
              </Text>
            </Text>
            <Text color="#f87171" wrap="truncate-end">
              {" └ "}
              {error8}
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title22}
              </Link>
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title23}
              </Link>
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title24}
              </Link>
            </Text>
          </Box>
          <Box flexDirection="column">
            <Text wrap="truncate-end">
              <Text dimColor>
                {" "}
                {clockOf12}
                {" "}
              </Text>
              <Text color="#a78bfa">
                {"⌕ "}
              </Text>
              <Text>
                “
                {query9}
                ”
              </Text>
              <Text dimColor>
                {` · ${results} results`}
                {" · "}
                {fmtMs9}
                {who9}
              </Text>
            </Text>
            <Text color="#f87171" wrap="truncate-end">
              {" └ "}
              {error9}
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title25}
              </Link>
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title26}
              </Link>
            </Text>
            <Text wrap="truncate-end">
              <Text dimColor>
                {" ↗ "}
              </Text>
              <Link href={`${url}`}>
                {title27}
              </Link>
            </Text>
          </Box>
          <Text dimColor>
            {" … "}
            {length7}
            {" more"}
          </Text>
        </Box>
        <Text dimColor>
          No web steps yet. WebSearch, WebFetch and browser tools leave their trail here.
        </Text>
      </Box>
    )
  })

  on('session.start', async ($, e, next) => {
    const length = '…'
    await $.ui.toast(`Breadcrumbs: ${length} steps copied as Markdown`)
    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.

mods/breadcrumbs/hooks/register.tsx lines 156–282 · Pane
  on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
    const snap = (await read($, snapAtom)) ?? emptySnap()
    const view: BreadcrumbsView = await read($, viewAtom)
    const ui = $.ui.resolve(e)
    const { Box, Text, Button, Link } = ui
    const groups = groupsOf(snap.crumbs)
    const domains = groups.filter(g => g.domain !== SEARCH).length
    const fold = (domain: string) => update($, viewAtom, v => ({
      folded: v.folded.includes(domain) ? v.folded.filter(d => d !== domain) : [...v.folded, domain].slice(-100),
    }))
    const copyButton = snap.crumbs.length > 0
      ? <Button key="copy-md" label="⧉ copy all as Markdown" dimColor onPress={p => void copyTrail($, p.surface).catch(() => undefined)} />
      : null
    const empty = snap.crumbs.length === 0
      ? <Text key="empty" dimColor>No web steps yet. WebSearch, WebFetch and browser tools leave their trail here.</Text>
      : null
    const who = (c: Crumb) => (c.who === 'main' ? '' : ` · ◈ ${clip(c.who, 24)}`)

    if ('Svg' in ui && e.surface !== 'terminal') {
      const { Svg } = ui
      const W = pxOf(e.props.bodyColumns, 44)
      const head = headerSvg(snap, groups, W)
      return (
        <Box flexDirection="column" gap={1}>
          <Svg key="head" source={head.source} alt={`Breadcrumbs: ${snap.fetches} fetches, ${snap.searches} searches, ${domains} domains`} width={W} height={head.height} />
          {copyButton}
          {groups.map(g => {
            const isFolded = view.folded.includes(g.domain)
            const card = groupSvg(g, W - 44, isFolded)
            return (
              <Box key={`g-${g.domain}`} flexDirection="column">
                <Box key={`gh-${g.domain}`} flexDirection="row" alignItems="center" gap={1}>
                  <Svg key={`gs-${g.domain}`} source={card.source} alt={altOfGroup(g)} width={W - 44} height={card.height} />
                  <Button key={`fold-${g.domain}`} label={isFolded ? '▸' : '▾'} plain onPress={() => fold(g.domain)} />
                </Box>
                {!isFolded && g.crumbs.slice(0, PER_GROUP).map(c => (
                  <Box key={`c-${c.id}`} flexDirection="column" paddingLeft={2}>
                    {c.kind === 'search'
                      ? <Text key={`q-${c.id}`} wrap="truncate-end">{clockOf(c.at)} · {rowLabel(c)}{who(c)}</Text>
                      : <Link key={`l-${c.id}`} href={c.url as string} label={`${clockOf(c.at)} · ${rowLabel(c)}${who(c)}`} />}
                    {c.error ? <Text key={`e-${c.id}`} color={KZ.red} wrap="truncate-end">  {c.error}</Text> : null}
                    {(c.hits ?? []).map((hit, i) => <Link key={`h-${c.id}-${i}`} href={hit.url} label={`  ↗ ${hit.title}`} />)}
                  </Box>
                ))}
                {!isFolded && g.crumbs.length > PER_GROUP ? <Text key={`m-${g.domain}`} dimColor>  … {g.crumbs.length - PER_GROUP} more</Text> : null}
              </Box>
            )
          })}
          {empty}
        </Box>
      )
    }

    return (
      <Box flexDirection="column">
        <Box flexDirection="row" justifyContent="space-between">
          <Text bold color={KZ.cyan}>◍ BREADCRUMBS</Text>
          <Text dimColor>{snap.crumbs.length} steps</Text>
        </Box>
        <Text wrap="truncate-end">
          <Text color={KZ.cyan}>{snap.fetches} fetches</Text>
          <Text dimColor> · </Text>
          <Text color={KZ.violet}>{snap.searches} searches</Text>
          <Text dimColor> · </Text>
          <Text color={KZ.teal}>{domains} domains</Text>
          {snap.browses ? <Text dimColor> · {snap.browses} browser</Text> : ''}
          {snap.failures ? <Text color={KZ.red}> · {snap.failures} failed</Text> : ''}
        </Text>
        {snap.crumbs.length > 0 && (
          <Text wrap="truncate-end">
            {groups.map(g => (
              <Text key={`bar-${g.domain}`} color={domainColor(g.domain)}>{'▆'.repeat(Math.max(1, Math.round((g.crumbs.length / snap.crumbs.length) * Math.max(10, (e.props.bodyColumns || 44) - 4))))}</Text>
            ))}
          </Text>
        )}
        {copyButton}
        {groups.map(g => {
          const isFolded = view.folded.includes(g.domain)
          const color = domainColor(g.domain)
          return (
            <Box key={`g-${g.domain}`} flexDirection="column" marginTop={1}>
              <Box flexDirection="row" justifyContent="space-between">
                <Text wrap="truncate-end">
                  <Text backgroundColor={color} color="#111111" bold> {monogram(g.domain)} </Text>
                  <Text bold> {g.domain === SEARCH ? 'web search' : g.domain}</Text>
                  <Text dimColor> · {g.crumbs.length} · {clockOf(g.last)}{g.bytes ? ` · ${fmtBytes(g.bytes)}` : ''}</Text>
                  {g.failures ? <Text color={KZ.red}> · {g.failures}✖</Text> : ''}
                </Text>
                <Button key={`fold-${g.domain}`} label={isFolded ? '▸' : '▾'} plain dimColor onPress={() => fold(g.domain)} />
              </Box>
              {!isFolded && g.crumbs.slice(0, PER_GROUP).map(c => (
                <Box key={`c-${c.id}`} flexDirection="column">
                  {c.kind === 'search'
                    ? (
                      <Text wrap="truncate-end">
                        <Text dimColor>  {clockOf(c.at)} </Text>
                        <Text color={KZ.violet}>⌕ </Text>
                        <Text>“{c.query}”</Text>
                        <Text dimColor>{c.results !== undefined ? ` · ${c.results} results` : ''} · {fmtMs(c.ms)}{who(c)}</Text>
                      </Text>
                    )
                    : (
                      <Text wrap="truncate-end">
                        <Text dimColor>  {clockOf(c.at)} </Text>
                        <Text color={statusColor(c)}>{statusLabel(c).padEnd(3)} </Text>
                        {c.bytes !== undefined ? <Text dimColor>{fmtBytes(c.bytes)} </Text> : ''}
                        <Link href={c.url as string}>{`↗ ${c.path}`}</Link>
                        <Text dimColor>{who(c)}</Text>
                      </Text>
                    )}
                  {c.error ? <Text color={KZ.red} wrap="truncate-end">      └ {c.error}</Text> : null}
                  {(c.hits ?? []).map((hit, i) => (
                    <Text key={`h-${c.id}-${i}`} wrap="truncate-end">
                      <Text dimColor>        ↗ </Text>
                      <Link href={hit.url}>{hit.title}</Link>
                    </Text>
                  ))}
                </Box>
              ))}
              {!isFolded && g.crumbs.length > PER_GROUP ? <Text dimColor>  … {g.crumbs.length - PER_GROUP} more</Text> : null}
            </Box>
          )
        })}
        {empty}
      </Box>
    )
  })
Licence text (MIT)
MIT License

Copyright (c) 2026 Ersin Koç

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: Pane (panel), Deny a tool call

What its code calls

runs programsreads filesenv varsdrives Claudetool calls

What its code shows

Read from the source at commit ad627c4acd5c. 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.mods/breadcrumbs/hooks/register.tsx
ParsesEvery file parses as TypeScript or JavaScript.4 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 something of yours (files, environment variables, the transcript, settings) and reaches outside (the network, an MCP server, another session, telemetry).reaches nothing outside
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
Settings hooksHooks declared in hooks/hooks.json or plugin.json beside the module: a command (a shell when it has no args), an HTTP request, an MCP tool or a model prompt at an event. They run outside $.no settings hooks: its function hooks alone
Servers it shipsMCP servers (a program, or a URL; a headersHelper is a shell command; a .mcpb bundle is unpacked at run time), LSP servers, monitors (a shell command for the whole session) and bin/ (on the PATH of the Bash tool).ships no MCP or LSP server, no monitor, no bin/
Skills, commands, agentsWhat its Markdown declares beyond text: allowed-tools granted for the turn, hooks added when a skill is invoked, a command run before Claude reads the skill.no skills, commands, agents or workflows
Tools and MCPWhether every tool it calls through $.tool.call and $.mcp.call is named in the code, and none is a shell (Bash through the tool runs a shell without $.process).calls no tool, MCP server or command
Asks of the modelCompletions it runs ($.model.complete, fork, classify), subagents it spawns, prompts it submits as you, and the tools, commands and agents it adds.adds command breadcrumbs
Events it hooksBy what a hook there can do: gates (refuse a tool call, a prompt, a setting, another plugin), shapes (what the model reads: the system prompt, tool descriptions, each request), reads (your input, the events of the settings hooks, every event with *), and the rest.gates: command.run (breadcrumbs), tool.call · also: session.start, agent.spawn, ui.render (Pane)
Reads, by nameThe environment variables and files it names, and whether it reads the transcript, settings.json, the prompt box or the mouse selection.reads no files, environment variables, settings or transcript
Writes, by nameThe files and environment variables it names, and whether it changes settings, the prompt box, the clipboard, the conversation (a row the model reads) or another session.the clipboard

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 ersinkoc/claude-mods
/plugin install breadcrumbs@kozmos
/reload-plugins

This installs the marketplace's latest commit, which may not be the one read here (ad627c4acd5c). 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/ersinkoc/claude-mods
git -C claude-mods checkout ad627c4acd5c6c543e176aeb6c3615152a139356
claude plugin validate claude-mods/mods/breadcrumbs
claude --plugin-dir claude-mods/mods/breadcrumbs

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 "ersinkoc-breadcrumbs" with its code and make me one like it

Search them from Claude: the MCP connector

Similar mods

More from this repository

See all 48 mods in this repository

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/ersinkoc-breadcrumbs.svg)](https://modscode.com/claude-mods/mods/ersinkoc-breadcrumbs/)