Use cases

From intent to working code.

Six ways to work with Matcha CLI, from a first plan to the final test.

Six architectural objects in paper, glass, and green metal, each representing a way to work with code.
Six workflows. One considered approach.

Artwork illustrates workflows. CLI examples and test results are illustrative, not product screenshots or verified runs.

01

Build a feature

You know what needs to change. Now bring it into the repository and check that it works.

An exploded architectural assembly with a green component aligned to fit between pale structural platforms.
  1. Requests
  2. Rate limiter
  3. Handler

A deliberate addition to an existing flow.

Start with a prompt

Add rate limiting to the API and cover it with tests.

How the work unfolds

  1. Read the handler and its tests to understand the existing behavior.

  2. Add the rate limiter and tests for requests within and beyond the limit.

  3. Run the tests, inspect the results, and review the diff.

What you leave with

A focused change, with tests that exercise the new behavior.

Explore the CLI example

Illustrative CLI example

02

Plan the change

The destination is clear, but the route deserves a little thought before you start editing.

Translucent architectural plans and connected modules viewed from above, with one route marked in green.
  1. Inspect
  2. Propose
  3. Review

Make the approach visible before editing.

Start with a prompt

/plan Move auth from cookies to JWT. Do not edit yet.

How the work unfolds

  1. Enter plan mode with /plan, or start the planning turn with /plan <description>.

  2. Read the authentication flow and outline the migration, its tradeoffs, and tests.

  3. Review the proposed steps before moving on to implementation.

What you leave with

An approach you can inspect before the code changes.

Explore the CLI example

Illustrative CLI example

03

Fix a failing test

A failing test gives you a starting point. Follow it back to the behavior that needs to change.

Two architectural assemblies side by side: one has a displaced component, and the other is precisely aligned.
  1. Failure
  2. Targeted fix
  3. Rerun

Keep the assertion. Correct the behavior.

Start with a prompt

Fix the failing auth test and run it. Keep the expiry-boundary assertion.

How the work unfolds

  1. Inspect the failure: a session should expire exactly at its expiry time.

  2. Correct the comparison in the implementation, keeping the boundary assertion.

  3. Rerun the authentication tests and inspect the result.

What you leave with

The underlying behavior corrected, with the regression test preserved.

Explore the CLI example

Illustrative CLI example

04

Change models, keep working

You want another configured model to take the next turn, within the same session.

Interchangeable frosted-glass lenses standing along a continuous green path.
  1. Same session
  2. Selected model
  3. Continue

A new perspective on the work already in progress.

Start with a prompt

/model <name>

How the work unfolds

  1. Choose a model available through a provider you have configured.

  2. Replace <name> with its model ID or display name. Bare /model shows usage.

  3. Continue the work in the same session with the selected model.

What you leave with

A different model for the next step, with the session still open.

Explore the CLI example

Illustrative CLI example

05

Follow project conventions

Your repository already explains how to work in it. Start from those shared conventions.

Layered paper sheets and a translucent plane aligned to one precise structural grid.
  1. Project rules
  2. Context
  3. Consistent work

AGENTS.md · CLAUDE.md · Cursor rules

Start with a prompt

Keep going in this repo. Follow the project rules.

How the work unfolds

  1. Read the available AGENTS.md, CLAUDE.md, and Cursor rules.

  2. Use the relevant conventions to guide the implementation and checks.

  3. Review the change in the context of how this project is built.

What you leave with

Work informed by the conventions already in your repository.

Explore the CLI example

Illustrative CLI example

06

Run a task from a script

A task belongs in the command or script you already use. Give it a prompt and collect the result.

Three architectural objects arranged in a linear sequence, connected by a narrow green strip.
  1. Prompt
  2. Local CLI work
  3. Result + exit

One prompt in. A result to work with.

Start with a prompt

matcha -p "fix the failing auth test and run it"

How the work unfolds

  1. Pass a prompt to matcha -p from your command or script.

  2. The CLI works locally, using the tools and permissions available to the run.

  3. Read the printed result when the turn completes and the process exits.

What you leave with

One CLI turn that fits into your existing script.

Explore the CLI example

Illustrative CLI example

Matcha CLI

Your next task starts here.

Open your repository. Bring a clear intention. Take the next step with Matcha CLI.

Get started

Matcha CLI runs locally, with sessions and rules on your machine. Model requests go to your chosen provider. MatchaCode requires no account and has no official cloud.