Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

2.3 KB
Raw Blame

Excalidraw, as a Harness agent

Harness agent package for Excalidraw: describe a diagram in the chat pane, watch it appear hand-drawn in the Excalidraw pane as the agent writes the .excalidraw file. Runs on Claude Code.

  • harness.json — engine, template, skill, toolchain, and this package's own viewer.
  • viewer.mjs + viewer/ — the pane: Excalidraw's own canvas in view mode, from the package's own node_modules (@excalidraw/excalidraw UMD build with React 18, its hand-drawn fonts), no CDN. It opens fitted to the pane, follows every save without taking the reader's zoom or scroll (and rings what the save changed), and adds click-to-inspect (label, connections in and out, frame, colours, size), an outline with search, presenting frame by frame with a laser pointer, PNG/SVG export to exports/, a dark canvas, and keyboard shortcuts (?).
  • toolchain/scene.py — the helper the agent draws with: boxes, arrows bound at both ends, frames, notes, Excalidraw's palette; verdict.py validates the scene; setup.sh is npm ci.
  • skills/excalidraw/ — the Excalidraw skill (ours). template/ — a starter diagram and its script.

Credit and stewardship

Excalidraw is the Excalidraw team's — excalidraw/excalidraw, MIT (LICENSE-excalidraw). Nothing of it is changed here; the pane loads the package as they publish it. This folder is the Harness wrapper — the manifest, the pane server, a skill, the helper, the verdict — written by Autonomous to bring Excalidraw into Harness, on the project's behalf, to bootstrap the catalogue.

If you maintain Excalidraw and want to own its Harness package, it is yours: open an issue on OpenHarness and we move this folder into a repository of yours and point the registry entry at it. Until then: bugs in Excalidraw belong upstream, bugs in the wrapper belong here, and a newer Excalidraw is a bump in package.json.

harness dsh check .                              # conformance
harness dsh install "$PWD" --link                # this checkout as the installed agent
python3 -m unittest toolchain/test_scene.py      # the helper and the verdict