# Visual UI editing with Claude Code

> Use Claude Code as a visual UI editor on your running app. GUIJam runs claude headlessly with no write tools, haiku for quick edits, sonnet for big ones.

GUIJam gives Claude Code a visual front end. Circle an element on your running app, describe the change, and Claude Code proposes live UI variants you preview in the page before anything is written.

[Claude Code](https://claude.com/claude-code) is Anthropic's AI coding CLI. GUIJam runs it headlessly with your existing login, and it can read images, so sketches and inspiration images work.

## Set up

### Install it

```bash
npm install -g @anthropic-ai/claude-code
```

### Log in

```bash
claude auth login
```

GUIJam checks your login with `claude auth status --json`.

### Choose it in GUIJam

```bash
npx guijam provider use claude-code
```

## Models

| Request                                    | Model    |
| ------------------------------------------ | -------- |
| Quick style and motion changes, questions  | `haiku`  |
| Larger changes, sketches, images and links | `sonnet` |

Use one model for everything with `--model`:

```bash
npx guijam provider use claude-code --model sonnet
```

## How GUIJam runs it

- In print mode, with a JSON schema for the answer, so the result is structured edits.
- With no tools for quick requests, and only `Read`, `Grep` and `Glob` for larger ones.
- With `--strict-mcp-config`, so your own MCP servers aren't loaded.
- In safe mode, so your `CLAUDE.md`, skills, plugins, hooks and custom commands aren't loaded either. Your login still works, and Claude Code starts faster.
- At the effort GUIJam picks for the request, unless you [set your own](https://guijam.francistinao.com/docs/ai-tools#choose-an-effort).

Claude Code never gets a tool that can change files. The `gjd` daemon applies the edits.
