deliberate-cli
v0.3.1
Published
Deliberate — a files-first product toolkit for coding agents that creates grounded, reviewable Markdown cases, briefs, readouts, matchups, and prototypes.
Readme
Deliberate
Deliberate is a files-first product toolkit inside your coding agent. It turns any consequential idea or signal—from a feature to a change in strategy, marketing, or the platform and ecosystem—into grounded, reviewable product work in the current repository. The CLI builds prompts, validates role configuration, and persists artifacts; the host coding agent performs the reasoning.
Install and run
Node.js 22.5 or newer is required.
npx deliberate-cli installUse /deliberate in a compatible coding-agent harness. A typical first journey establishes the product and market baseline before creating a case:
/deliberate init
/deliberate brief
# Analyze a grounded idea or signal from the brief.
/deliberate case "Opportunity surfaced by the landscape brief"
# Review the decision; product and market cases may then get a testable prototype.
/deliberate readoutRun deliberate serve --open to review the generated Markdown, inspect diffs, and leave anchored comments in Sonorance. Add --file "<project-relative-path>" to open a specific case, brief, readout, or matchup immediately. Project-required commands operate only in an initialized current working directory, and deliberate init installs the project-local /sonorance review skill used by the UI's address-comments guidance.
Analyze any idea or signal
/deliberate case <idea> has no lens switch for the user. The host infers the primary commitment, asks only when the decision is genuinely ambiguous, and records one durable lens:
| Lens | Decisions | |---|---| | product & experience | Create, change, simplify, or remove a customer capability or experience. | | market & commercial | Choose an audience, positioning, pricing, packaging, channel, launch, or sales motion. | | strategy & portfolio | Choose where to play, how to win, what to prioritize, fund, sequence, or stop. | | platform & ecosystem | Build, buy, adopt, integrate, migrate, partner, standardize, or accept a dependency. |
Every case follows frame → shape → launch, but each lens selects different methods and templates. Frame establishes the decision and evidence; Shape compares alternatives and recommends a direction; Launch makes the recommendation actionable. Score evaluates the completed recommendation through the same lens. The product case produces a reverse PR-FAQ and may get a source-grounded prototype that walks every shaped journey step in the product surface's native medium; the market case produces a market decision brief and may get a focused customer-touchpoint artifact that tests its claim, proof, action, and observable response. No prototype is forced for strategy or platform cases; they get decision memos instead.
Commands
deliberate help [--skill]
deliberate init
deliberate serve [--open] [--port <n>] [--file <path>]
deliberate install [--here|--project <dir>]
deliberate case "<idea>" [--lens <product|market|strategy|platform>]
deliberate case list
deliberate case analysis prompt|save <case-id> [--file <path> | --note <text>]
deliberate case score prompt <case-id>
deliberate case score save <case-id> --model <model-id> [--independent] [--file <path>]
deliberate case one-pager prompt|save <case-id> [--file <path>]
deliberate case prototype prompt|save|list <case-id> [--surface <slug>] [--file <path>]
deliberate brief prompt|save|list
deliberate readout prompt|save|list
deliberate readout chart --spec <json> --output <svg>
deliberate matchup prompt|save|list [competitor]
deliberate source [list | add <location> ["<description>"] [--section <section>] | remove <location>]
deliberate feedback ["<message>"] [--category <category>] [--rating <rating>] [--file <json>]
deliberate comment list
deliberate comment <commentId> resolve [--note "<text>"] [--revised]Project files are automatic grounding: init reads relevant files inside the current folder directly. source add records durable resources outside that folder; these may be internal/private systems such as dashboards, document collections, repositories, CRM/support/feedback systems, research repositories, or issue trackers, as well as public sources. Init curates recurring signal and maintained canonical context rather than isolated feedback, individual cases/interviews, point-in-time exports, or other small observations. In-project files are rejected rather than recorded in .sonorance/sources.md.
Project context is split to keep edits single-sourced: product.md contains core product context and links only from its Competitors and Ecosystem sections; competitors.md owns the complete competitor roster, details, and monitoring sources; ecosystem.md owns the complete ecosystem roster, details, and monitoring sources. Every workflow receives all three files.
Init maximizes qualified roster coverage rather than targeting an arbitrary count. Competitor discovery independently covers direct rivals, cross-category commercial alternatives, overlapping suites/platforms, and emerging or niche products until another complete search pass yields no new qualified name. Every included competitor needs current overlap evidence and an official source; manual workflows, spreadsheet workarounds, internal processes, "do nothing," and other status-quo substitutes are excluded.
Ecosystem discovery applies the same saturation-and-evidence rule across adjacent products, complements, channels, and movers. A complement is a distinct product or service used before, alongside, or after Deliberate's subject product in the same end-to-end workflow, where co-use or interoperability raises the value of both for shared users. It is not a substitute for the primary job, a dependency included for that reason alone, or merely another tool the same user happens to use.
After a brief, readout, or matchup surfaces case-worthy decisions, the default follow-up opens the saved result in Sonorance for review and starts the recommended case analyses without waiting for review to finish. The alternatives are to open the result without running cases or choose another action.
The underlying --lens option is host orchestration; users normally run /deliberate case <idea> without it. Run deliberate help --skill for generated, current command guidance.
Files
.sonorance/
config.json
plugins.json
sources.md # durable grounding outside this folder
local/
deliberate/
context/
product.md
competitors.md
ecosystem.md
cases/<YYYY-MM-DD-slug>/
analysis.md
score.md
one-pager.md
prototype/[<surface>/]index.html # product/market cases only, built on request
log.jsonl
briefs/<YYYY-MM-DD>/brief.md
readouts/<YYYY-MM-DD[-N]>/
readout.md
charts/<metric>.svg
matchups/<competitor-slug>/matchup.mdRepository map
src/engine/ prompt builders, persistence, role configuration, and commands
src/cli/ the deliberate binary
roles/ generic instructions, templates, and methods
skill/ the shipped /deliberate skill and launcher
test/ offline engine, CLI, contract, and skill tests