modscode / Gallery / opum-quest
opum-quest
Drive the quest CLI: create, list, view, edit, complete, and archive tasks, drafts, milestones, and decisions in a Quest-initialized workspace instead of editing tracker state directly. Cut from the same quest-cli repository and tag as the…
What it does
- Draws a band above the prompt, a pane, toasts in the desktop app
- Watches tool calls and can refuse them
- Hooks session.start
- Keeps its own state between turns
- Starts processes
Good points
- No network calls
- 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 opum-quest by Opum AI (pane, band, status, toast), as modscode read it from the mod's code:
// https://modscode.com/gallery/opum-ai-opum-quest/
// 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 } = $.ui.resolve(e)
return (
<Box flexDirection="column">
<Box>
<Text>
{"Quest board ready "}
</Text>
<Button label="Open" hotkey="o" />
</Box>
{await next(e)}
</Box>
)
})
// the pane: open it with $.ui.open({ id: 'my-pane', title: "Quest" })
on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
const { Box, Button, Text, Input, Select, Markdown } = $.ui.resolve(e)
const query = '…'
const status = '…'
const repo = '…'
const summary = '…'
const hint = '…'
const refsLine = '…'
const discoveryNote = '…'
const localRepo = '…'
const uncommitted = '…'
const label = '…'
const label2 = '…'
const label3 = '…'
const repo2 = '…'
const label4 = '…'
const label5 = '…'
const label6 = '…'
const repo3 = '…'
const label7 = '…'
const label8 = '…'
const label9 = '…'
const drawn = '…'
const repo4 = '…'
const error = '…'
const repo5 = '…'
const error2 = '…'
const repo6 = '…'
const error3 = '…'
const id = '…'
const id2 = '…'
const error4 = '…'
const id3 = '…'
const proposedBy = '…'
const id4 = '…'
const title = '…'
const filter = '…'
const labels = '…'
const description = '…'
const length = '…'
const length2 = '…'
const text = '…'
const text2 = '…'
const text3 = '…'
const dependencies = '…'
const latestNote = '…'
const author = '…'
const createdAt = '…'
const body = '…'
const author2 = '…'
const createdAt2 = '…'
const author3 = '…'
const createdAt3 = '…'
const repo7 = '…'
return (
<Box flexDirection="column">
<Box>
<Button label="List" hotkey="1" variant="primary" />
<Text>
{" "}
</Text>
<Button label="Kanban" hotkey="2" variant="primary" />
</Box>
<Box>
<Button label="Fleet" hotkey="f" variant="primary" />
<Text>
{" "}
</Text>
<Button label="This repo" hotkey="l" variant="primary" />
<Text>
{" "}
</Text>
<Button label="Refs" hotkey="g" variant="primary" />
<Text>
{" "}
</Text>
<Button label="Refresh" hotkey="r" />
<Text>
{" "}
</Text>
<Button label="Normal size" hotkey="z" variant="primary" />
<Text>
{" "}
</Text>
<Button label="Collapse" hotkey="c" />
</Box>
<Input placeholder="Filter by id, title or label" value={`${query}`} submitLabel="Filter" />
<Box>
<Select label="Status" value={`${status}`} />
<Select label="Repo" value={`${repo}`} options={[{"value":"all","label":"All repos"},{"label":"‹option›"}]} />
</Box>
<Text dimColor wrap="truncate">
{summary}
</Text>
<Text dimColor wrap="truncate">
{hint}
</Text>
<Text color="yellow" wrap="truncate">
{refsLine}
</Text>
<Text dimColor wrap="truncate">
{discoveryNote}
</Text>
<Text dimColor wrap="truncate">
* marks a task whose refs disagree about its status; origin/dev is drawn where it has one. Resolving it is that reposit…
</Text>
<Input placeholder={`New task in ${localRepo}`} submitLabel="Create" />
<Box marginTop={1}>
<Text color="yellow" wrap="truncate">
{uncommitted}
{" tracker "}
change
{" in"}
{" "}
{localRepo}
{" not committed yet. Until they land, this repository's other checkouts cannot see the ids in them and can mint the same…"}
{" "}
</Text>
<Button label="Ask Claude to land them" />
</Box>
<Box flexDirection="row">
<Box flexDirection="column">
<Box marginTop={1}>
<Text dimColor>
No tasks match. Clear the filter or pick another status.
</Text>
</Box>
<Box flexDirection="column" marginTop={1}>
<Text bold>
{repo}
</Text>
<Text inverse wrap="truncate">
{label}
</Text>
<Text inverse wrap="truncate">
{label2}
</Text>
<Text inverse wrap="truncate">
{label3}
</Text>
</Box>
<Box flexDirection="column" marginTop={1}>
<Text bold>
{repo2}
</Text>
<Text inverse wrap="truncate">
{label4}
</Text>
<Text inverse wrap="truncate">
{label5}
</Text>
<Text inverse wrap="truncate">
{label6}
</Text>
</Box>
<Box flexDirection="column" marginTop={1}>
<Text bold>
{repo3}
</Text>
<Text inverse wrap="truncate">
{label7}
</Text>
<Text inverse wrap="truncate">
{label8}
</Text>
<Text inverse wrap="truncate">
{label9}
</Text>
</Box>
<Text dimColor>
{drawn}
{" more. Close the details to see them all."}
</Text>
<Box flexDirection="column" marginTop={1}>
<Text color="red">
Could not read:
</Text>
<Text dimColor wrap="truncate">
{" "}
{repo4}
{": "}
{error}
</Text>
<Text dimColor wrap="truncate">
{" "}
{repo5}
{": "}
{error2}
</Text>
<Text dimColor wrap="truncate">
{" "}
{repo6}
{": "}
{error3}
</Text>
</Box>
</Box>
<Box flexDirection="column" marginTop={0}>
<Text dimColor>
────────
</Text>
<Text dimColor>
{"Loading "}
{id}
…
</Text>
<Text color="red">
{"Could not load "}
{id2}
{": "}
{error4}
</Text>
<Text dimColor wrap="wrap">
{id3}
{" exists on "}
{proposedBy}
{" and not in this checkout, so the detail reads nothing here. It is on the board from the refs read."}
</Text>
<Box flexDirection="column">
<Text bold wrap="wrap">
{id4}
{" "}
{title}
</Text>
<Text dimColor wrap="truncate">
{filter}
</Text>
<Text dimColor wrap="truncate">
{"Labels: "}
{labels}
</Text>
<Box marginTop={1}>
<Markdown text={`${description}…`} />
</Box>
<Box flexDirection="column" marginTop={1}>
<Text>
Acceptance criteria,
{" "}
{length}
{" "}
{"of "}
{length2}
{" checked"}
</Text>
<Text wrap="truncate">
{"☑ "}
{text}
</Text>
<Text wrap="truncate">
{"☑ "}
{text2}
</Text>
<Text wrap="truncate">
{"☑ "}
{text3}
</Text>
</Box>
<Text dimColor wrap="truncate">
{"Depends on "}
{dependencies}
</Text>
<Box flexDirection="column" marginTop={1}>
<Text>
Latest note
</Text>
<Text dimColor wrap="wrap">
{`${latestNote}…`}
</Text>
</Box>
</Box>
<Box flexDirection="column" marginTop={1}>
<Text>
Comments
</Text>
<Text dimColor wrap="wrap">
{author}
,
{" "}
{createdAt}
:
{" "}
{`${body}…`}
</Text>
<Text dimColor wrap="wrap">
{author2}
,
{" "}
{createdAt2}
:
{" "}
{`${body}…`}
</Text>
<Text dimColor wrap="wrap">
{author3}
,
{" "}
{createdAt3}
:
{" "}
{`${body}…`}
</Text>
</Box>
<Box marginTop={1}>
<Text dimColor wrap="wrap">
{"Read-only here. "}
{repo7}
{" is edited from its own session."}
</Text>
</Box>
<Box flexDirection="column" marginTop={1}>
<Box>
<Button label="Resume" hotkey="s" />
<Button label="Pause" hotkey="p" />
<Text>
{" "}
</Text>
<Button label="Complete" hotkey="d" />
<Text>
{" "}
</Text>
<Button label="Close as won't do" />
</Box>
<Box flexDirection="column" marginTop={1}>
<Input label="Final summary" placeholder="What happened, in a sentence or two" submitLabel="Complete" />
<Button label="Cancel" />
</Box>
<Select label="Priority" value="medium" options={[{"value":"high","label":"High"},{"value":"medium","label":"Medium"},{"value":"low","label":"Low"}]} />
<Input placeholder="Rename to…" submitLabel="Rename" />
<Input placeholder="Add a label" submitLabel="Add label" />
<Input placeholder="Add a comment" submitLabel="Comment" />
<Text dimColor>
Saving…
</Text>
</Box>
<Box marginTop={1}>
<Button label="Copy id" hotkey="y" />
<Text>
{" "}
</Text>
<Button label="Close details" hotkey="x" />
</Box>
</Box>
</Box>
</Box>
)
})
on('session.start', async ($, e, next) => {
const id = '…'
await $.ui.toast(`${id} changed since you opened it. It has been reloaded; try again.`)
await $.ui.toast(`Created ${id}`)
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 1116–1135 · Band
on("ui.render", { component: "AbovePrompt" }, async ($, e, next) => {
const panes = await $.ui.panes();
const pane = panes.find((one) => one.id === PANE);
if (!pane || pane.isPlaced) {
return next(e);
}
const { Box, Button, Text } = $.ui.resolve(e);
return (
<Box>
<Text>Quest board ready </Text>
<Button
key="open-board"
label="Open"
hotkey="o"
onPress={() => void openBoardFromBand($)}
/>
</Box>
);
});hooks/register.tsx lines 1137–1296 · Pane
on("ui.render", { component: "Pane", requestId: PANE }, async ($, e) => {
startAlerts($);
const { rows, refreshedAt, isLoading } = await read($, board);
if (e.surface === "mobile") {
const { Box, Text } = $.ui.resolve(e);
const total = rows.reduce((sum, row) => sum + row.tasks.length, 0);
return (
<Box flexDirection="column">
<Text>
{total} tasks. Open the board in the terminal or desktop to filter.
</Text>
</Box>
);
}
const { Box, Button, Input, Markdown, Select, Text } = $.ui.resolve(e);
const current = await read($, view);
const width = Math.max(16, e.props.bodyColumns);
// A draw is the only place both axes of the surface are known. It is kept
// so a pane opened outside one can ask for the full size, and a full mode
// restored at `session.start` -- which could not size it -- asks again
// here, once per size, now that it can.
//
// This re-request is the pane's own, not a person's, so it is asked for
// WITHOUT focus: the person may be typing, and a pane that grabbed the
// keyboard on a redraw they did not make would move their keys mid-word.
if (e.viewport) {
viewport = { columns: e.viewport.columns, rows: e.viewport.rows };
if (current.isFull && !current.isCollapsed) {
const wanted = JSON.stringify(paneSize(current, viewport));
if (askedFullSize !== wanted) {
askedFullSize = wanted;
void openPane($, current, viewport);
}
}
}
const shown = filterRows(rows, current.query, current.repo);
const busy = shown.filter((row) => row.tasks.length > 0);
const failed = rows.filter((row) => row.error !== null);
const total = busy.reduce((sum, row) => sum + row.tasks.length, 0);
const refsLine = coverageLine(rows, current.readRefs);
const hasConflict = rows.some((row) =>
row.tasks.some((task) => task.conflict),
);
// A size the surface kept rather than granted is said out loud, so the pane
// does not claim a size it did not get. The dock is measured across and the
// inline block down, so each compares against the axis it was sized on.
const hint = sizeHeldHint(
current,
e.props.placement,
viewport,
e.props.placement === "dock"
? e.props.bodyColumns
: e.props.scroll.bodyRows,
);
if (current.isCollapsed) {
return (
<Box flexDirection="column">
{rows.map((row) => (
<Text
dimColor={row.tasks.length === 0}
color={row.error ? "red" : undefined}
wrap="truncate"
>
{shortName(row.repo).padEnd(width - 4)}
{row.error ? " ?" : String(row.tasks.length).padStart(3)}
</Text>
))}
<Box marginTop={1}>
<Text dimColor>
{total} {statusWords(current.status)}{" "}
</Text>
</Box>
<Button
key="expand"
label="Expand"
hotkey="c"
onPress={() => void setCollapsed($, false)}
/>
</Box>
);
}
const summary =
refreshedAt === null
? "Reading the trackers…"
: `${total} ${statusWords(current.status)} ${total === 1 ? "task" : "tasks"} in ${busy.length} ${busy.length === 1 ? "repo" : "repos"}, checked ${clockTime(refreshedAt)}${isLoading ? ", refreshing" : ""}${current.readRefs ? " (across refs)" : ""}`;
const selectedKey = current.selected
? `${current.selected.repo}:${current.selected.id}`
: null;
const open = selectedKey ? await read($, detail) : null;
// At 120 body columns or more the list and the detail go side by side; the
// detail then sits beside the list rather than under it, so the list is no
// longer cut short to leave it room.
const isSideBySide = open !== null && isWideLayout(e.props.bodyColumns);
const listWidth = isSideBySide
? Math.max(24, Math.floor((width - 1) / 2))
: width;
const detailWidth = isSideBySide
? Math.max(24, width - listWidth - 1)
: width;
const listRoom =
open && !isSideBySide
? Math.max(5, e.props.scroll.bodyRows - 18)
: Number.POSITIVE_INFINITY;
let drawn = 0;
await resolveLocal($);
const task = open?.task ?? null;
const canEdit =
!!task &&
current.selected?.repo === localRepo &&
task.status !== "Done" &&
task.status !== "Closed";
const selectedRow = current.selected
? rows
.find((row) => row.repo === current.selected?.repo)
?.tasks.find((one) => one.id === current.selected?.id)
: undefined;
const { isWriting, uncommitted } = await read($, edits);
const banner =
uncommitted > 0 && localRepo ? (
<Box marginTop={1}>
<Text color="yellow" wrap="truncate">
{uncommitted} tracker {uncommitted === 1 ? "change" : "changes"} in{" "}
{localRepo} not committed yet. Until they land, this repository's
other checkouts cannot see the ids in them and can mint the same
ones.{" "}
</Text>
<Button
key="land"
label="Ask Claude to land them"
onPress={() =>
void $.prompt.fill({
text: `Land the uncommitted Quest tracker changes in ${localRepo} through a branch and pull request, following the opum-sdlc skill. Land them promptly: until they are committed, this repository's other checkouts cannot see the task ids in them and can mint the same ones.`,
mode: "replace",
})
}
/>
</Box>
) : null;
const tabs = (
<Box>
<Button
key="tab-list"
label="List"
hotkey="1"
variant={current.tab === "list" ? "primary" : undefined}
onPress={() => void setTab($, "list")}
/>
<Text> </Text>
<Button
key="tab-kanban"
label="Kanban"
hotkey="2"
variant={current.tab === "kanban" ? "primary" : undefined}Licence text (MIT)
MIT License Copyright (c) 2026 Opum AI 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
runs programsreads filestool 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 0073e4e857c2 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.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.its repository's .claude-plugin/marketplace.json does not list it: no install line to give |
| 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.git (reaches the network), quest |
| 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.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's .claude-plugin/marketplace.json does not list it, so there is no install line to give. Read it as code, or follow its author's README.
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 "opum-ai-opum-quest" with its code and make me a pane like itSearch them from Claude: the MCP connector
Similar designs
-
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…────────Clear doneClaude⋯└─ buildCancelCancelCancel└─ buildCancelCancelCancel└─ buildCancelCancelCancel
-
Ask Claude…GitHub inboxGitHubloading…Refresh rbuildbuildbuildClose xStealth IssuesNo open issues in this view.#3 Fix login · Pinned notice · 2h 10m · Top row commentsWork on itopen#3 Fix login · Pinned notice · 2h 10m · Top row commentsWork on itopen#3 Fix login · Pinned notice · 2h 10m · Top row commentsWork on itopenPull requestsNo open pull requests.#3 Fix login · main · draft · build · HiddenChecksReviewopen#3 Fix login · main · draft · build · HiddenChecksReviewopen#3 Fix login · main · draft · build · HiddenChecksReviewopenChecks for #3Plain
-
Ask Claude…clawdifybuild 3build 3build 3Presets layer on top of what you have. Reset first for a clean slate.Empty = Claude Code default · lists are comma-separated · tokens {model} {cwd} {time} {date}buildbuildbuildYours bring back exactly the look you saved. /clawdify delete <name> removes one.buildbuildbuildSave current as my-look savecopy JSONreset allWhile thinking
-
Councilmodeaskdeepshow14:32?hideGeminiGeminiGeminiAsk Claude…Review: deep, once · Request
-
Ask Claude…Fix logingoal Fix loginedit session goalpaste /goal linecopy pathattach to promptback to hubcloseOwling────────outcome on the recordPondering mail session goal (what the Stop hook holds the agent to)none yetGoal Pondering mail savecanceledit in the prompt box█████░░░