Globetrotter docsversion 0.3.0 · 2026-12-04

Work with an agent

On this page
  1. Ask, in the studio
  2. Review what it did
  3. People in the same design
  4. Try it on a branch
  5. In your own project
  6. What the agent can do
  7. What the agent remembers
  8. Handing off
  9. Seeing what the agent did

Claude Code edits the same design file the studio does, through typed tools that validate every change. You watch each edit land within two seconds.

Ask, in the studio

The Ask Claude box open under the design panel: the selection it will change, ideas to start from, the ask
The Ask Claude box open under the design panel: the selection it will change, ideas to start from, the ask

Ask Claude is the box under the design panel. It names what it will change ("Ask Claude to change Button “Get started”", or the page, or "3 selected widgets"), so "this" means what you see selected. Type and press Enter: the box opens upward into the log, where Run sends it (it runs claude -p in your project with the tools attached); nothing runs by itself. Its chips start from the page: the asks pinned on it, lint's fixes, Look at this page and fix what looks wrong, realistic rows for its lists.

On the backend. With the Backend tab open, the box works on the service (Ask the agent in the left panel opens it): the service through its tools, your code in the impl package, then the contract tests and a press. Its chips are what Status says is left: an operation to write, the pages' asks, where the pages and the service disagree and it is the service's move, lint's errors, failing tests. Studio and agents shows the views.

Watch it work. A ring and a name tag sit on the widget each call touches and glide to the next. Click its initial in the top bar to follow it from page to page, as you follow someone in Figma.

The agent at work: a ring and name tag on the stat tile it changes, a dot on its page in the Pages list
The agent at work: a ring and name tag on the stat tile it changes, a dot on its page in the Pages list

Pin asks, then hand them over. Select a node and press C to ask for a change on it. The ask is a numbered pin until it is done, never rendered or generated. Hand to the agent opens the Claude box with every open ask on the page. Reviewers on the prototype pin asks the same way, with their name.

Review what it did

Two changes from outside: the list with a Revert each, Before | Now beside the canvas
Two changes from outside: the list with a Revert each, Before | Now beside the canvas

Whatever lands from outside glides into place and is kept for review: a pill says The agent changed 4 things. Review lists each change and rings it; each has its own Revert, tried on the canvas before you click. Before | Now puts the page as it was beside the canvas. A revert is remembered, so the next run asks before making that change again.

Before | Now: the page as it was beside the page as it is, the changed button ringed on both
Before | Now: the page as it was beside the page as it is, the changed button ringed on both

Go back further. Before every run the studio keeps a restore point. History lists them with your saved versions and the commits; Compare reviews against any of them, Restore brings one back.

People in the same design

People in the design: Ana's selection ringed with her name on the canvas, her initials beside yours in the top bar
People in the design: Ana's selection ringed with her name on the canvas, her initials beside yours in the top bar

Everyone with the design open shows the same way, in a colour of their own. Click their initials to follow them. Spotlight me asks everyone to follow you; Phones… makes every open prototype follow too, for a room. (The studio listens on this computer only by default: start it with npx globetrotter dev --host 0.0.0.0 and phones and reviewers on the network can open the prototype and its tests, nothing else; the studio and its agent stay on this computer. To reach the studio itself under a tunnel or Codespaces name, start it with GLOBETROTTER_STUDIO_HOSTS=name1,name2.)

Presenting to the room: the studio on Settings, beside it a phone's prototype following
Presenting to the room: the studio on Settings, beside it a phone's prototype following

Try it on a branch

A branch: its name under Branch of mail, Merge beside it, its menu open
A branch: its name under Branch of mail, Merge beside it, its menu open

New branch… copies the design to try another direction; nothing of it is generated. Run on a branch (⇧⌘⏎) in the opened box makes one named for the ask and runs there, so the design is untouched while you watch.

Merge replays what the branch changed on the design as it is now, as one reviewed edit with a Revert each. Side by side draws the page from the design and from each branch at once.

Merged: the design with the change from the branch on the canvas and in the review
Merged: the design with the change from the branch on the canvas and in the review
Side by side: the Inbox from the design and from its branch, the branch's different headline ringed
Side by side: the Inbox from the design and from its branch, the branch's different headline ringed

Reviewed, as a pull request is. Ask for a review… gives the branch's prototype address (reachable by others on the network only if the studio was started with --host 0.0.0.0; see above: the prototype is all they can open); a reviewer approves or asks for changes in their words, and the branch's menu and Merge say where it stands.

A reviewed branch: its menu says Changes asked by Sam Lee, Ana Ruiz approved an earlier version
A reviewed branch: its menu says Changes asked by Sam Lee, Ana Ruiz approved an earlier version

In your own project

Three steps, once per project, then ask.

  1. Give the project the tools. What works today, with only the bundle: put a .mcp.json in the project folder:

    {"mcpServers":{"globetrotter-design":{"command":"npx","args":["--no-install","globetrotter","mcp"]}}}

    (--no-install keeps npx from fetching someone else's package of that name where Globetrotter is not installed; npx globetrotter mcp answers an MCP handshake from the project folder.) The plugin, which adds the m3-design skill (a long guide to the design schema) on top of the same tools, installs from the Globetrotter repository, and that repository is private for now, so the two commands fail for anyone without access. Once it is public, once per machine:

    claude plugin marketplace add Yashwanthkikkuri/Designer-
    claude plugin install globetrotter@globetrotter
  2. Run claude in the project folder and type /mcp: globetrotter-design is listed with its tools. With the plugin, the m3-design skill comes too.

  3. Ask. Start with: design_session my-app (the design's name). Then plain asks: add a page, add a list of offers, lint the design and fix what it can, look_at_page (the app must be running at appUrl), do the asks I pinned (list_asks).

After the agent edits designs/*.json, run npx globetrotter sync; the open studio reloads in about two seconds. It never edits src/generated/*.tsx: data and handlers go in src/bindings/<slug>.ts. An agent in a terminal shows on the canvas like one from the tab, by its client's name.

What the agent can do

Read Change Check
design_session (start here), design_status, list_designs, get_page, get_node, get_catalog, find_nodes, get_words, get_code, get_contract, get_brief, get_flows, get_trials, get_reviews, list_asks, list_actions, list_blocks, list_branches, recall, get_memory, explain_node, session_changes add_node, add_words, add_pages_from_words, set_props, set_words, replace_text, move_node, remove_node, duplicate_node, wrap_node, unwrap_node, group_nodes, convert_node, match_style, set_grid_layout, wrap_in_grid, place_beside, split_into_grid, fill_grid, tidy_grid_items, set_region, spread_region, move_to_page, add_page, duplicate_page, rename_page, move_page, remove_page, create_design, set_theme, set_page_transition, set_page_refresh, choreograph_page, describe_action, save_block, insert_block, update_block_instances, remember, forget, import_rules, create_branch, merge_branch, update_branch, delete_branch, regenerate lint_design, apply_fix, review_page, get_suggestions, audit_contrast, look_at_page (a picture of the page in the running app), check_presses, check_accessibility, check_monkey, design_handoff (finish here)

On the backend: service_session (start there), service_status, add_entity, add_operation, add_service_node, set_service_props, remove_service_node, move_service_node, set_auth, use_service_block, save_service_block, insert_service_block, propose_operations, press_operation, check_auth, check_audit, check_tenancy, get_audit, get_runs, look_at_traces, compare_targets, set_default_target, ask_other_side, decline_drift, who_is_here, blame; the reference says what each does.

Every change tool validates, saves and regenerates in one call, and carries the hash of what the agent last read: if you edited meanwhile, the tool says so and the agent calls again on the current version.

Prompts that work well:

  • "Add a Settings page from the settings template, link it from the rail and the bottom navigation, and make sure lint is clean."
  • "Bind the Overdue tile to stats.overdue and add an archive action to each conversation row."
  • "Run the contrast audit and apply the cheapest suggestion that reaches AAA."
  • "Make the words shorter and friendlier, in British English."
  • "Look at this page and fix what looks wrong." The agent takes screenshots, reads them as a person would, and fixes what lint cannot see.

What the agent remembers

The project's design memory (designs/.memory/) is in every prompt: the pages, the conventions the designs keep, the brand, the decisions written down. remember writes a rule down when you state one; add_node fills the props the agent did not pass from the conventions and says which. A run that breaks a convention is called out on the canvas as it lands, with one click to match the project or keep it and remember why.

Handing off

Code & handoff: Handoff
Code & handoff: Handoff

Code & handoff (above the canvas) has a Handoff view. It opens on Ready to hand off: seven checks with a tick or a button to the fix (lint, with nothing on the page yet; contrast; each list's three states; the actions; every input a field; copy still a placeholder; open asks). Under it, a brief for a person or a paste-ready prompt for an agent elsewhere.

The handoff as a page (/handoff/<design>) is for a developer who never opens the studio: every page at two widths with its checks, what it reads, what it does, its moments, its files, and Measure for the gaps in dp. It opens on this computer; from another device only the prototype and the tests open, so a developer elsewhere gets the handoff another way (the brief above can be copied out, or globetrotter export).

The handoff as a page: the Inbox at a laptop's and a phone's width, its checks, what it reads, its files
The handoff as a page: the Inbox at a laptop's and a phone's width, its checks, what it reads, its files

Map (above the canvas) is the other map an agent and a person share: pages as boxes, one arrow per pair, the presses that do nothing yet. Links & journeys in it lists every link.

Links & journeys
Links & journeys

Seeing what the agent did

  • The canvas, as it happens, and the review with Before | Now.
  • What changed (/changes/<design>): every changed page before and after, the changes ringed and numbered (it opens on this computer; from another device only the prototype opens, so send diff's pictures instead).
  • npx globetrotter diff [ref]: the same for a pull request, into shots/diff/README.md.
  • npx globetrotter shots, tour, presses, a11y, monkey, journeys: the app as built, pictured and checked. a11y --theme dark --open "Discard this job?" reads one state: dark, with that dialog open, into its own report.