Skip to main content

Getting started

The CedarLoom app lets you see and change the workflows of the cl-workflow plugin in your project. It is for people who use that plugin with Claude Code, Anthropic's coding assistant, and want a workflow of their own, for example one without the security review step.

Words this guide uses:

WordMeaning
WorkflowThe steps Claude Code takes for one task, such as plan, build, test and review.
Workflow definitionThe JSON file that describes a workflow. The plugin comes with some; your copies live in the project.
PlanThe files a command would create, replace or delete. It changes nothing until you run it again with --yes.
RunAn applied plan, saved so that cedarloom undo can take it back.

There are two commands: cedarloom (short name cloom) for the command line, and cedarloom-app for a web page on your computer.

Install​

You need Git and Node.js 22 (22.18 or later) or Node.js 24.3 or later.

  1. Add the cl-workflow plugin, if Claude Code does not have it yet. Type these two lines into the Claude Code prompt, not into your terminal:

    /plugin marketplace add CedarLoom/cedarloom#stable
    /plugin install cl-workflow@cedarloom

    /plugin install opens a panel: pick a scope there, such as the project, and the plugin installs. The app needs cl-workflow 0.2.0 or later, enabled for the project. cedarloom doctor says when the installed plugin is too old.

  2. Check that the commands run. npx fetches them from npm; nothing else is installed. It prints the version number, such as 0.1.0.

    npx @cedarloom/cli --version

To run the commands by their short names, cedarloom, cloom and cedarloom-app, install them once:

npm i -g @cedarloom/cli @cedarloom/app

The commands below use the short names. Without the global install, write npx @cedarloom/cli for cedarloom and cloom, and npx @cedarloom/app for cedarloom-app.

Open a project​

cedarloom and cedarloom-app work on the Git repository of the current folder. Check it first:

cd my-project
npx @cedarloom/cli doctor
node pass
project pass
plugin pass
definitions pass
generated pass
Found cl-workflow@cedarloom version 0.2.0 (user scope) at /home/you/.claude/plugins/cache/cedarloom/cl-workflow/0.2.0.
CheckWhat it looks at
nodeThe Node.js version.
projectThe Git repository of the current folder.
pluginThe cl-workflow plugin: installed for this project from the CedarLoom marketplace, new enough, on.
definitionsYour workflow definitions in .cedarloom/workflows.
generatedThe files the plugin writes for them into .claude.

When every check passes, go on below. A failed check says what to do, such as for a plugin without the workflow generator:

node pass
project pass
plugin fail
definitions skipped
generated skipped
The cl-workflow plugin at /home/you/.claude/plugins/cache/cedarloom/cl-workflow/0.1.0 (version 0.1.0) has no workflow generator. Update the plugin.

To see the project in your browser, start the web UI:

npx @cedarloom/app
http://127.0.0.1:<port>/#t=<token>
  • It opens that link in your default browser. The one-time token in the link lets your browser in.
  • The port is a free one, picked at each start. --port <n> sets it (see the options).
  • It runs until you stop it with Ctrl+C.

The first view shows the doctor's checks:

The Doctor view of the web UI: the checks Node.js, Project, Plugin, Workflow definitions and Generated files, each Passed, then the cl-workflow plugin in use and its folder.The Doctor view of the web UI: the checks Node.js, Project, Plugin, Workflow definitions and Generated files, each Passed, then the cl-workflow plugin in use and its folder.

Walkthroughs​

The walkthroughs run one after the other in a project with the plugin installed and no workflows of its own. Results go to standard output; notes go to standard error, such as the plugin in use, Found cl-workflow@cedarloom ..., which most commands print and which is left out below.

1. See and check the workflows​

  1. List the workflow definitions. The shipped ones come with the plugin and are read only.

    cedarloom workflows list
    dev shipped /home/you/.claude/plugins/cache/cedarloom/cl-workflow/0.2.0/definitions/dev.json Runs one task as a software change through the workflow skill, at the depth its rules pick.
    full shipped /home/you/.claude/plugins/cache/cedarloom/cl-workflow/0.2.0/definitions/full.json Plans, builds, tests, reviews and security-checks one software change at deep depth, then opens its pull request and watches its checks.
    research shipped /home/you/.claude/plugins/cache/cedarloom/cl-workflow/0.2.0/definitions/research.json Runs one task as research through the workflow skill, at the depth its rules pick.
  2. Check them with the plugin's generator. Without --shipped, validate checks the project's own definitions.

    cedarloom workflows validate --shipped
    dev (shipped): valid
    full (shipped): valid
    research (shipped): valid
  3. Show one: each stage and phase with its JSON Pointer, the address the edit commands take, then the definition as JSON.

    cedarloom workflows show full --shipped
    /stages/0 plan
    /stages/0/phases/0 settle session settle
    /stages/0/phases/1 plan agent cl-workflow:plan
    /stages/0/phases/2 plan-check agent cl-workflow:verify
    /stages/1 build
    /stages/1/phases/0 settle-plan session settle
    /stages/1/phases/1 implement agent cl-workflow:implement
    /stages/1/phases/2 test agent cl-workflow:test
    /stages/1/phases/3 review agent cl-workflow:review
    /stages/1/phases/4 audit agent cl-workflow:review
    /stages/1/phases/5 pull-request session pull-request

    {
    "schemaVersion": 2,
    "name": "full",
    ...

The web UI's Workflows view lists the same definitions, with the findings of reading them:

The Workflows view of the web UI: a table of the definitions with name, source and description, the plugin&#39;s dev, full and research and the project&#39;s careful, then the findings.The Workflows view of the web UI: a table of the definitions with name, source and description, the plugin&#39;s dev, full and research and the project&#39;s careful, then the findings.

2. Create a workflow: plan, then apply​

  1. Create a project workflow from a shipped one, here full; without --from, workflows new copies dev. Without --yes, the command shows its plan, changes nothing and exits with 4.

    cedarloom workflows new careful --from full
    create .cedarloom/workflows/careful.json
    create .claude/skills/careful/SKILL.md
    create .claude/skills/careful/agents/openai.yaml
    create .claude/workflows/careful.js
    This plan was not applied. Run the command again with --yes to apply it.

    The definition goes to .cedarloom/workflows; the files the plugin's generator writes for it go to .claude. One of them is the skill careful, which you start in Claude Code with /careful.

  2. Apply the plan. It runs as a recorded run, which undo can revert.

    cedarloom workflows new careful --from full --yes
    create .cedarloom/workflows/careful.json
    create .claude/skills/careful/SKILL.md
    create .claude/skills/careful/agents/openai.yaml
    create .claude/workflows/careful.js
    Applied as run d09d0307-a3ea-4566-b84d-61b2867d1d4f.

3. Edit a workflow​

  1. Remove a phase, here the security pass audit of the build stage. The plan replaces the definition and its generated files.

    cedarloom workflows remove careful /stages/1/phases/4
    replace .cedarloom/workflows/careful.json
    replace .claude/skills/careful/SKILL.md
    replace .claude/workflows/careful.js
    This plan was not applied. Run the command again with --yes to apply it.
  2. Apply it.

    cedarloom workflows remove careful /stages/1/phases/4 --yes
    replace .cedarloom/workflows/careful.json
    replace .claude/skills/careful/SKILL.md
    replace .claude/workflows/careful.js
    Applied as run 58c81b94-7da6-42de-8ef7-d6c89e2838d5.
  3. The generator checks every edit before it is saved. An edit it refuses names the file, the field and the rule, exits with 1 and saves nothing, also with --yes:

    cedarloom workflows set careful /stages/1/phases/3/loop/maxRounds 3 --yes
    .cedarloom/workflows/careful.json stages[1].phases[3].loop.maxRounds an integer from 1 to 2

workflows add inserts a stage or phase and workflows move moves one. A value is JSON, so a text keeps its quotes, such as '"deep"'. The command line page lists the edit commands.

4. See the runs and undo one​

  1. List the runs, newest first.

    cedarloom runs list
    58c81b94-7da6-42de-8ef7-d6c89e2838d5 done workflow.edit careful 2026-12-01T12:13:22.795Z
    d09d0307-a3ea-4566-b84d-61b2867d1d4f done workflow.new careful 2026-12-01T12:13:22.168Z
  2. Show a run and its steps.

    cedarloom runs show 58c81b94-7da6-42de-8ef7-d6c89e2838d5
    id 58c81b94-7da6-42de-8ef7-d6c89e2838d5
    kind apply
    action workflow.edit
    subject careful
    status done
    startedAt 2026-12-01T12:13:22.795Z
    endedAt 2026-12-01T12:13:22.877Z
    undoes
    undoneBy

    done replace .cedarloom/workflows/careful.json
    done replace .claude/skills/careful/SKILL.md
    done replace .claude/workflows/careful.js
  3. Undo it. undo takes the full run id and shows its plan first, like any change. Like every command that changes the project, before its plan it settles a step that a crashed run left half done, to the state the run's journal records, also without --yes.

    cedarloom undo 58c81b94-7da6-42de-8ef7-d6c89e2838d5
    replace .claude/workflows/careful.js
    replace .claude/skills/careful/SKILL.md
    replace .cedarloom/workflows/careful.json
    This plan was not applied. Run the command again with --yes to apply it.
  4. Apply the undo. It is a run of its own.

    cedarloom undo 58c81b94-7da6-42de-8ef7-d6c89e2838d5 --yes
    replace .claude/workflows/careful.js
    replace .claude/skills/careful/SKILL.md
    replace .cedarloom/workflows/careful.json
    Undone as run 4f9ce1df-c324-47f4-93c9-83b00a650be0.

The web UI's Runs view lists the same runs, and a run's id opens its steps:

The Runs view of the web UI: a table of three runs with run id, action, subject, status and start time; the newest is the undo of the workflow.edit run.The Runs view of the web UI: a table of three runs with run id, action, subject, status and start time; the newest is the undo of the workflow.edit run.

One run in the web UI: the undo run&#39;s id, its status Done and its three steps, each a Replace of a file with status Done.One run in the web UI: the undo run&#39;s id, its status Done and its three steps, each a Replace of a file with status Done.

5. Switch a workflow off​

workflows off writes deny rules into .claude/settings.json, so Claude does not start the workflow's skill in this project (a slash command you type still runs it); workflows on removes them. Both show their plan first:

cedarloom workflows off careful
create .claude/settings.json
This plan was not applied. Run the command again with --yes to apply it.

A shipped workflow goes by its plugin id, such as cl-workflow:full, and --plugin switches the whole plugin off for the project.

6. Bots, owner questions and the state of the repositories​

You can skip this part when you only edit workflows. It is for scripts and for setups that run CedarLoom bots (Claude Code agents, each with a settings folder of its own) with Orca, a separate tool.

Three commands give scripts and integrations a project's state and change nothing. bots plan reads the project's fetched origin; inbox and runs state read GitHub with gh.

bots plan needs an origin remote with origin/HEAD set, which a clone has; else git remote set-head origin --auto sets it. The bots below come from a cedarloom.json on that default branch; without the file, it lists none.

  1. The bots that cedarloom.json on the default branch plans, with the model and effort of each, and whether Orca has the bot:

    cedarloom bots plan
    cl-my-project project opus medium absent
    cl-builder builder opus medium absent
    cl-reviewer reviewer opus medium absent
    cl-planner planner opus high absent
    cl-maintain maintain opus high absent
  2. The open owner questions, the cl:needs-human issues, of a repository; this one has none:

    cedarloom inbox CedarLoom/app --json
    {"result":{"entries":[]},"findings":[],"refusals":[]}
  3. Per repository, the ready issues, the open pull requests with their checks and review, and whether the default branch is red:

    cedarloom runs state you/my-project
    you/my-project main green
    you/my-project#12 ready high Add a release workflow
    you/my-project#15 passing approved docs: describe the careful workflow

Without a repository, inbox and runs state read the one of the current folder. The command line page says which issues count as ready.

Exit codes​

CodeMeaning
0Done.
1A check failed, or an edit was refused.
2The command line is not valid.
3The command was refused, such as an unknown run.
4A plan was shown and not applied.
5An internal error.

Where state lives​

In the project, the app writes:

PathHolds
.cedarloom/workflows/<name>.jsonThe project's workflow definitions.
.claude/skills/<name>/, .claude/workflows/<name>.jsThe files the plugin's generator writes for them.
.claude/settings.jsonThe deny rules of workflows off.

Outside the project, the app keeps one run store per project in its state folder:

  • The state folder is CEDARLOOM_STATE_DIR when it is set, else cedarloom in XDG_STATE_HOME, else ~/.local/state/cedarloom on Linux and macOS and %LOCALAPPDATA%\cedarloom on Windows.
  • Each project has a folder in it named by the first 16 hex digits of the SHA-256 of the project's real path, such as ~/.local/state/cedarloom/12183021ea22b532/.
  • That folder holds runs.sqlite, the runs and their steps; backups/<run>/, the files a run replaced or deleted, which undo puts back; and lock.sqlite, which lets one process change the store at a time.