ModsCode / Claude Code Mods / Ranking / neuro-path
neuro-path
Live pipeline map for Claude Code: stage by stage from prompt to push, with time, tokens, usage limits, CI status and daily totals.
What it does
- Draws a pane, the status line, toasts
- Adds /neuro
- Watches tool calls
- Hooks prompt.submit, session.measure, session.start, turn.complete and 1 more
- Keeps its own state between turns
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)
import type { Register } from 'claude-code'
// Drawn like neuro-path by raven-clown (pane, status, toast), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/raven-clown-neuro-path/
// 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: "Neuro Path" })
on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
const { Box, Text, Button, Select, Input } = $.ui.resolve(e)
const branch = '…'
const sha = '…'
const clock = '…'
const failedJob = '…'
const note = '…'
const run = '…'
const name = '…'
const run2 = '…'
const name2 = '…'
const run3 = '…'
const name3 = '…'
const dur = '…'
const tokIn = '…'
const tokOut = '…'
const tokCacheWrite = '…'
const usd = '…'
const tok = '…'
const tok2 = '…'
const tok3 = '…'
const tok4 = '…'
const runs = '…'
const loops = '…'
const map = '…'
const map2 = '…'
const k = '…'
const dur2 = '…'
const usd2 = '…'
const runs2 = '…'
const loops2 = '…'
const k2 = '…'
const dur3 = '…'
const usd3 = '…'
const runs3 = '…'
const loops3 = '…'
const k3 = '…'
const dur4 = '…'
const usd4 = '…'
const runs4 = '…'
const loops4 = '…'
const LABEL = '…'
const hits = '…'
const label = '…'
const clock2 = '…'
const LABEL2 = '…'
const label2 = '…'
const clock3 = '…'
const LABEL3 = '…'
const label3 = '…'
const skill = '…'
const dSkill = '…'
const dAfter = '…'
return (
<Box flexDirection="column" gap={1}>
<Box flexDirection="column">
<Text bold>
GitHub Actions
{` · ${branch} @ ${sha}`}
</Text>
<Text color="#e5584f">
Waiting for workflow runs to appear
{`Running, checked ${clock}`}
{`All workflows passed, checked ${clock}`}
{`Failed: ${failedJob}`}
{note}
</Text>
<Text color="#e5584f">
✗
{" "}
{run}
{" / "}
{name}
</Text>
<Text color="#e5584f">
✗
{" "}
{run2}
{" / "}
{name2}
</Text>
<Text color="#e5584f">
✗
{" "}
{run3}
{" / "}
{name3}
</Text>
<Box flexDirection="row" flexWrap="wrap" gap={1}>
<Button label="Request a fix" variant="primary" />
<Button label="Auto-fix: on" />
<Button label="Dismiss" />
</Box>
</Box>
<Box flexDirection="column">
<Text bold>
Today
</Text>
<Text>
{dur}
{" active · "}
{`${tokIn}${tokOut}${tokCacheWrite}`}
{" tokens · $"}
{usd}
</Text>
<Text dimColor>
{"in "}
{tok}
{" · out "}
{tok2}
{" · cache write "}
{tok3}
{" · cache read "}
{tok4}
</Text>
<Text dimColor>
{runs}
{" runs · "}
{loops}
{" fix loops"}
</Text>
<Text dimColor>
{"Most time: "}
{map}
</Text>
<Text dimColor>
{"Most tokens: "}
{map2}
</Text>
</Box>
<Box flexDirection="column">
<Text bold>
Last 7 days
</Text>
<Box flexDirection="row" gap={1}>
<Text dimColor>
{k}
</Text>
<Text>
{dur2}
</Text>
<Text dimColor>
{`${tokIn}${tokOut}${tokCacheWrite}`}
{" tok · $"}
{usd2}
{" · "}
{runs2}
{" runs · "}
{loops2}
{" loops"}
</Text>
</Box>
<Box flexDirection="row" gap={1}>
<Text dimColor>
{k2}
</Text>
<Text>
{dur3}
</Text>
<Text dimColor>
{`${tokIn}${tokOut}${tokCacheWrite}`}
{" tok · $"}
{usd3}
{" · "}
{runs3}
{" runs · "}
{loops3}
{" loops"}
</Text>
</Box>
<Box flexDirection="row" gap={1}>
<Text dimColor>
{k3}
</Text>
<Text>
{dur4}
</Text>
<Text dimColor>
{`${tokIn}${tokOut}${tokCacheWrite}`}
{" tok · $"}
{usd4}
{" · "}
{runs4}
{" runs · "}
{loops4}
{" loops"}
</Text>
</Box>
</Box>
<Box flexDirection="column">
<Text bold>
Signal log
</Text>
<Text dimColor>
No signals yet.
</Text>
<Box flexDirection="row" gap={1}>
<Text dimColor>
{clock}
</Text>
<Text color="#e5584f">
{LABEL}
</Text>
<Text dimColor>
now
{` · ${hits} calls`}
</Text>
<Text dimColor>
{label}
</Text>
</Box>
<Box flexDirection="row" gap={1}>
<Text dimColor>
{clock2}
</Text>
<Text color="#e5584f">
{LABEL2}
</Text>
<Text dimColor>
now
{` · ${hits} calls`}
</Text>
<Text dimColor>
{label2}
</Text>
</Box>
<Box flexDirection="row" gap={1}>
<Text dimColor>
{clock3}
</Text>
<Text color="#e5584f">
{LABEL3}
</Text>
<Text dimColor>
now
{` · ${hits} calls`}
</Text>
<Text dimColor>
{label3}
</Text>
</Box>
</Box>
<Box flexDirection="column" gap={1}>
<Text bold>
Skills
</Text>
<Box flexDirection="row" flexWrap="wrap" gap={1}>
<Button label="Stage skills: on" />
</Box>
<Text dimColor>
Each coding task is told which installed skill to use at each stage, and failures ask for systematic debugging first.
</Text>
<Text dimColor>
Pin any other skill to a stage below.
</Text>
<Box flexDirection="row" flexWrap="wrap" gap={1}>
<Button label={`✕ /${skill} after ${LABEL}`} />
<Button label={`✕ /${skill} after ${LABEL}`} />
<Button label={`✕ /${skill} after ${LABEL}`} />
</Box>
<Box flexDirection="row" flexWrap="wrap" gap={1}>
<Select label="Skill" value={`${dSkill}`} />
<Select label="After" value={`${dAfter}`} />
<Button label="Pin" variant="primary" />
</Box>
<Input placeholder="Or type any skill name, Enter to pin" submitLabel="Pin" />
</Box>
<Box flexDirection="row" flexWrap="wrap" gap={1}>
<Button label="Animation: on" />
<Button label="Reset session view" />
</Box>
<Text dimColor>
Animation draws the map in its own frame, which can flash while scrolling.
</Text>
</Box>
)
})
on('session.start', async ($, e, next) => {
const failedJob = '…'
const branch = '…'
await $.ui.status(`neuro: CI failed (${failedJob})`)
await $.ui.toast(`CI failed: ${failedJob} on ${branch}`)
await $.ui.toast(`CI passed on ${branch}`)
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.
plugins/neuro-path/hooks/register.tsx lines 1105–1264 · Pane
on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
const n = await read($, net)
const list = await read($, slots)
const dSkill = await read($, draftSkill)
const dAfter = await read($, draftAfter)
const m = await read($, meter)
const all = await read($, days)
const w = await read($, ci)
const isAuto = await read($, autoFix)
const isAnimated = await read($, animate)
const isSkilled = await read($, useSkills)
const now = await $.clock.now()
const next = predict(n)
const head = n.current ? `Now: ${LABEL[n.current]}${next ? `, next ${LABEL[next.to]}` : ''}` : 'Idle, waiting for a prompt'
const lastSig = n.trail[n.trail.length - 1]
const ciNote = ciSummary(w)
const live = {
stage: n.current ? LABEL[n.current] : 'Idle',
color: n.current === 'debug' ? BAD : ACCENT,
since: n.enteredAt || now,
next: next && n.current && next.to !== n.current ? LABEL[next.to] : '',
from: lastSig ? LABEL[lastSig.from] : '',
at: lastSig?.at ?? 0,
ms: lastSig?.ms ?? 0,
isFail: lastSig?.isFail ?? false,
ci: ciNote ? ciNote.text.replace(/^[●○✓✗]\s*/, '') : '',
ciColor: ciNote?.color ?? INK3,
ciSince: w?.startedAt ?? now,
isCiLive: w?.state === 'running' || w?.state === 'waiting',
}
let art
let Box
let Text
let Button
let Select
let Input
if (e.surface === 'terminal') {
const ui = $.ui.resolve(e)
;({ Box, Text, Button, Select, Input } = ui)
art = (
<ui.Box flexDirection="column">
<ui.Client key="live" module="./live.tsx" props={live} />
{ORDER.map(st => (
<ui.Text color={n.failed === st ? BAD : n.current === st ? ACCENT : undefined} dimColor={!(n.counts[st] ?? 0) && n.current !== st}>
{n.current === st ? '◉' : next?.to === st ? '◌' : (n.counts[st] ?? 0) > 0 ? '●' : '○'} {LABEL[st]}
{(n.counts[st] ?? 0) > 0 ? ` ${dur(n.time[st] ?? 0)} · ${tok(n.tok[st] ?? 0)} tok` : ''}
</ui.Text>
))}
</ui.Box>
)
} else if (e.surface === 'mobile') {
const ui = $.ui.resolve(e)
;({ Box, Text, Button } = ui)
art = <ui.Svg source={svg(n, list, m, w, now)} alt={head} isInteractive={isAnimated ? true : undefined} />
} else {
const ui = $.ui.resolve(e)
;({ Box, Text, Button, Select, Input } = ui)
const width = Math.round(Math.max(300, Math.min(620, e.props.bodyColumns * 8)))
let src = svg(n, list, m, w, now)
if (src !== lastSrc) {
if (lastSrc && now - lastSrcAt < 1500) {
if (!redraw) {
redraw = $.clock.after(1500 - (now - lastSrcAt), () => {
redraw = null
$.ui.invalidate('ui.render')
})
}
src = lastSrc
} else {
lastSrc = src
lastSrcAt = now
}
}
art = (
<ui.Box flexDirection="column" gap={1}>
{'Client' in ui && <ui.Client key="live" module="./live.tsx" props={live} />}
<ui.Svg
source={src}
alt={head}
width={width}
height={Math.round((width * LAYOUT.h) / W)}
isInteractive={isAnimated ? true : undefined}
/>
</ui.Box>
)
}
const recent = n.events.slice(-10)
const rows = recent.map((ev, i) => ({ ev, took: (recent[i + 1]?.at ?? 0) - ev.at })).reverse()
const today = all[dayKey(now)] ?? EMPTY_DAY
const stageRows = (Object.entries(today.stages) as [StageId, { ms: number; tok: number }][]).filter(([st]) => st !== 'user')
const topTime = [...stageRows].sort((a, b) => b[1].ms - a[1].ms).slice(0, 4)
const topTok = [...stageRows].sort((a, b) => b[1].tok - a[1].tok).slice(0, 4)
const week = Object.keys(all).sort().reverse().slice(0, 7)
const ciJobs = w?.runs.flatMap(r => r.jobs.map(j => ({ run: r.name, ...j }))) ?? []
return (
<Box flexDirection="column" gap={1}>
{art}
{w && (
<Box flexDirection="column">
<Text bold>GitHub Actions{w.branch ? ` · ${w.branch} @ ${w.sha.slice(0, 7)}` : ''}</Text>
<Text
color={w.state === 'failed' || w.state === 'error' ? BAD : w.state === 'running' ? AMBER : undefined}
dimColor={w.state === 'none' || w.state === 'stopped'}
>
{w.state === 'waiting' && 'Waiting for workflow runs to appear'}
{w.state === 'running' && `Running, checked ${clock(w.checkedAt)}`}
{w.state === 'passed' && `All workflows passed, checked ${clock(w.checkedAt)}`}
{w.state === 'failed' && `Failed: ${w.failedJob ?? 'workflow'}`}
{(w.state === 'none' || w.state === 'stopped' || w.state === 'error') && w.note}
</Text>
{ciJobs.slice(0, 10).map(j => (
<Text
color={CI_FAIL.has(j.conclusion) ? BAD : j.status !== 'completed' ? AMBER : undefined}
dimColor={j.status === 'completed' && !CI_FAIL.has(j.conclusion)}
>
{CI_FAIL.has(j.conclusion) ? '✗' : j.status !== 'completed' ? '●' : '✓'} {j.run} / {j.name}
</Text>
))}
<Box flexDirection="row" flexWrap="wrap" gap={1}>
{w.state === 'failed' && (
<Button
key="ci-fix"
label="Request a fix"
variant="primary"
onPress={async () => {
const cur = await read($, ci)
if (cur) await $.prompt.submit({ text: fixPrompt(cur) })
}}
/>
)}
<Button
key="ci-auto"
label={isAuto ? 'Auto-fix: on' : 'Auto-fix: off'}
onPress={async () => {
await update($, autoFix, v => !v)
await $.store.set('autoFix', await read($, autoFix))
}}
/>
<Button key="ci-clear" label="Dismiss" onPress={() => update($, ci, () => null)} />
</Box>
</Box>
)}
<Box flexDirection="column">
<Text bold>Today</Text>
<Text>
{dur(today.ms)} active · {tok(today.tokIn + today.tokOut + today.tokCacheWrite)} tokens · ${today.usd.toFixed(2)}
</Text>
<Text dimColor>
in {tok(today.tokIn)} · out {tok(today.tokOut)} · cache write {tok(today.tokCacheWrite)} · cache read {tok(today.tokCacheRead)}
</Text>
<Text dimColor>
{today.runs} runs · {today.loops} fix loops
</Text>
{topTime.length > 0 && <Text dimColor>Most time: {topTime.map(([s, v]) => `${LABEL[s]} ${dur(v.ms)}`).join(' · ')}</Text>}Licence text (MIT)
MIT License Copyright (c) 2026 raven-clown 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 programsdrives Claudetool callsremembers
What its code shows
Read from the source at commit e287e8281e00 on 2026-10-11. 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 read | Every module hooks/hooks.json names was read.plugins/neuro-path/hooks/register.tsx |
| Parses | Every file parses as TypeScript or JavaScript.2 files parsed |
| All its code is in the mod | Every import is a file of the mod or the engine's own module; no packages, no require.all its code is in the mod |
| Readable | No 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 open | Network 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 draws | The 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 line | Whether 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 Windows | Whether every program it starts through $.process exists on Windows (tail, date, open, osascript, /usr/… do not).runs no program a Windows PC lacks |
| Network | Whether every fetch names its https host in the code.no network |
| Programs | Whether every program it starts is named in the code and is not a shell, an interpreter or a network tool.gh (reaches the network), git (reaches the network) |
| Reads and sends | Whether it both reads something of yours (files, environment variables, the transcript, settings) and reaches outside (the network, an MCP server, another session, telemetry).reaches the network, but reads no files, no environment variables and no transcript |
| Keys in the source | Whether the source holds what looks like an API key or a private key.no keys in the source |
| Licence | An 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 hooks | Hooks 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 ships | MCP 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, agents | What 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 MCP | Whether 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 model | Completions it runs ($.model.complete, fork, classify), subagents it spawns, prompts it submits as you, and the tools, commands and agents it adds.prompt.submit (as the person), adds command neuro |
| Events it hooks | By 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 (neuro), prompt.submit, tool.call · shapes: turn.step · also: session.start, session.measure, turn.complete, ui.render (Pane) · timers: clock.every, clock.after |
| Reads, by name | The 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 name | The 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.writes no files, environment variables, settings or conversation rows |
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 raven-clown/neuro-path/plugin install neuro-path@neuro-path/reload-pluginsThis installs the marketplace's latest commit, which may not be the one read here (e287e8281e00). 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/raven-clown/neuro-pathgit -C neuro-path checkout e287e8281e005ab680e60a3354bba6a6fc837d87claude plugin validate neuro-path/plugins/neuro-pathclaude --plugin-dir neuro-path/plugins/neuro-pathThe 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 "raven-clown-neuro-path" with its code and make me one like itSearch them from Claude: the MCP connector
Similar mods
- agent-discoverkeshrath★ 7
- devtoolsNMenzel★ 1
- github-issuesMarco Carnevali★ 1
- towerIsa Inalcik★ 1
- agent-busNoah Airmet★ 0
- clawdifyviik2k★ 0
Badge for your README
If this is your mod, paste this into your README. It links to this page.
[](https://modscode.com/claude-mods/mods/raven-clown-neuro-path/)