modscode / Gallery / status-strip
status-strip
One quiet strip above the prompt: repo, docs, deploy, context and cache, each with its own button. Includes Compress with a confirmation and a cache settings dropdown.
What it does
- Draws a band above the prompt, toasts
- Adds /where
- Watches Bash calls and can refuse them
- Hooks session.end, session.start, turn.complete, turn.start
- Keeps its own state between turns
Good points
- Written in TypeScript
- Handles errors
- Writes no files
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)
import type { Register } from 'claude-code'
// Drawn like status-strip by Liberty-Technical-Solutions (band, toast), as modscode read it from the mod's code:
// https://modscode.com/gallery/liberty-technical-solutions-status-strip/
// 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, Text, Button, Select } = $.ui.resolve(e)
const text = '…'
const text2 = '…'
const text3 = '…'
const text4 = '…'
const text5 = '…'
const text6 = '…'
const idleHours = '…'
const ttlMin = '…'
const warnMin = '…'
const showMode = '…'
const note = '…'
const missing = '…'
const msg = '…'
return (
<Box flexDirection="column">
<Box columnGap={2} flexWrap="wrap">
<Box gap={1}>
<Text dimColor>
repo
</Text>
<Text>
{text}
</Text>
</Box>
<Box gap={1}>
<Text dimColor>
docs
</Text>
<Text>
{text2}
</Text>
<Button label="Fix" variant="primary" />
</Box>
<Box gap={1}>
<Text dimColor>
deploy
</Text>
<Text>
{text3}
</Text>
<Button label="Dismiss" variant="primary" />
</Box>
<Box gap={1}>
<Text dimColor>
context
</Text>
<Text>
{text4}
</Text>
<Button label="Compress…" variant="primary" />
</Box>
<Box flexGrow={1} />
<Box gap={1}>
<Text dimColor>
cache
</Text>
<Text>
{text5}
</Text>
<Box gap={1}>
<Button label="Refresh (full price)" variant="primary" />
<Button label="⚙ ▾" variant="primary" />
</Box>
</Box>
</Box>
<Box flexDirection="column" borderStyle="round" borderColor="warning" paddingX={1}>
<Text bold>
Compress this conversation?
</Text>
<Text>
Claude will replace it with a short summary to free up context (
{text6}
{" full now). The full text can no longer be read back, and the cache starts cold."}
</Text>
<Box gap={1}>
<Button label="Yes, compress" variant="primary" />
<Button label="Cancel" />
</Box>
</Box>
<Box gap={1}>
<Text bold>
{"Auto paused: idle for "}
{idleHours}
h.
</Text>
<Button label="Close out" variant="primary" />
<Button label={`Resume (${idleHours}h more)`} />
</Box>
<Box gap={1}>
<Text bold>
Auto paused: a newer session is open in this folder.
</Text>
<Button label="Keep Auto here anyway" />
</Box>
<Box flexDirection="column" borderStyle="round" paddingX={1}>
<Text bold>
Strip settings
</Text>
<Box gap={2}>
<Box width={34}>
<Text>
Cache lifetime
</Text>
</Box>
<Select options={[{"value":"5","label":"5 min"},{"value":"60","label":"60 min"}]} value={`${ttlMin}`} />
</Box>
<Box gap={2}>
<Box width={34}>
<Text>
Keep alive automatically
</Text>
</Box>
<Select options={[{"value":"off","label":"Off"},{"value":"on","label":"On"}]} value="on" />
</Box>
<Box gap={2}>
<Box width={34}>
<Text>
Stop keeping alive after idle
</Text>
</Box>
<Select options={[{"value":"4","label":"4 hours"},{"value":"8","label":"8 hours"},{"value":"12","label":"12 hours"},{"value":"0","label":"Never"}]} value={`${idleHours}`} />
</Box>
<Box gap={2}>
<Box width={34}>
<Text>
Warn when this much is left
</Text>
</Box>
<Select options={[{"value":"5","label":"5 min"},{"value":"10","label":"10 min"},{"value":"15","label":"15 min"}]} value={`${warnMin}`} />
</Box>
<Box gap={2}>
<Box width={34}>
<Text>
Show the strip
</Text>
</Box>
<Select options={[{"value":"always","label":"Always"},{"value":"needed","label":"Only when something needs you"}]} value={`${showMode}`} />
</Box>
<Text dimColor>
Saved once. Applies to every session on this PC.
</Text>
</Box>
<Text dimColor>
{"deploy: "}
{note}
</Text>
<Text dimColor>
{"docs: "}
{missing}
</Text>
<Text dimColor>
{msg}
</Text>
{await next(e)}
</Box>
)
})
on('session.start', async ($, e, next) => {
const idleHours = '…'
await $.ui.toast(`status-strip: Auto paused after ${idleHours}h idle`)
await $.ui.toast(`status-strip: Auto paused, newer session in this folder`)
return next(e)
})
}
The mod's own code
Its licence text was not found at the commit read, so only the places in the source are linked.
plugins/status-strip/hooks/register.tsxlines 566–566plugins/status-strip/hooks/register.tsxlines 419–557
What its code calls
networkruns programsreads filesdrives Claudetool callsremembers
The design, read from code
Drawn from the mod's source at the commit read, not from a run: a list is drawn three times, a condition takes its first branch that draws in the desktop app, and a value only the run time knows is shown as a made-up sample (dotted underline) or left out. Colours and type are this site's.
What its code shows
Read from the source at commit f0cac8159bd6 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 read | Every module hooks/hooks.json names was read.plugins/status-strip/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.plugins/status-strip/hooks/register.tsx:171 fetch(cfg.healthUrl); plugins/status-strip/hooks/register.tsx:329 fetch(`http://localhost:${p}/`) |
| Programs | Whether every program it starts is named in the code and is not a shell, an interpreter or a network tool.plugins/status-strip/hooks/register.tsx:82 a program named at run time |
| Reads and sends | Whether it both reads files or environment variables and reaches the network.reads files and reaches the network |
| 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.no licence |
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 Liberty-Technical-Solutions/claude-workflow-mods/plugin install status-strip@workflow-modsThis installs the marketplace's latest commit, which may not be the one read here (f0cac8159bd6). 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 "liberty-technical-solutions-status-strip" with its code and make me a pane like itSearch them from Claude: the MCP connector
Similar designs
-
Ask Claude…Xcodebuild · App · 31/3◐ Rendering App…Write↻ Re-render (r) r✦ Ask Claude (x) x◀ (h) h▶ (l) lOpen (o) o
-
Ask Claude…Skins0 Your promptadd rate limiting to the hub api0 Tool rows: finished, running, failedYour prompt Spinner0 Folded group of reads and searches●main · note 3 · note 3 · note 30 Edit diff cardDesktop only; the terminal keeps Claude Code's diff.0 Shell output cardDesktop only.0 Code block cardDesktop only; the terminal keeps Claude Code's markdown.0 TableAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentCopyAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentCopyAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentCopy0 SpinnerAccent SpinnerSpinnerSpinner… 2h 10m0 Band above the prompt: normal, then nudging to compact█████░░░ 42% build█████░░░ 42% build█████░░░ 42% buildContext is 42% full0 Compact now0 Band above a questionTable BashBashBash0 Turn footer (terminal)3 build in 2h 10m · Grep · +3 −3
-
Ask Claude…agent-discoverbuildbuildbuildRefreshMCP Browse/3Tab / shift+Tab move · Enter presses · ↑↓ scroll · Esc back to the promptBrowse...Audit asks:DeclineAcceptDeclineCancelAudit asks:DeclineAcceptDeclineCancelAudit asks:DeclineAcceptDeclineCancel
-
Ask Claude…Fanyi settingsOnAPI · OpusenOn this MacAPIHost src/ SaveKey K · paste a new one, Enter SaveOpus↻ RefreshCustom model model id, for an API that lists none UseFanyi settingsHostClose
-
cache—━━━━━━━━────────compactnotify⚙compact14:32│notify14:32Ask Claude…
-
● pace Write · Park to1 park 12 dismiss 2pace: resume point 2h 10m · Fix login · 33 resume 34 discard 45 all 3 5pace: Park to resume point older than 7 days6 clear 6Ask Claude…