PyScript Builder

Build an instrument page with an AI agent

Give this prompt to a browser agent, such as Claude in Chrome. What it builds replaces this panel. Or drop a project file anywhere to import it.

Prompt
Open this page, and keep this tab on it: navigating it away, even to the wiki, loses all your work.
Before you change anything, read these wiki pages in full, and follow them all session:
- wiki/principles.md
- wiki/pitfalls.md
- wiki/index.md, and each page it says to read
They're all in wiki/all.md: read it in a second tab, in one call.
Then start building right away, without waiting for my go-ahead. Climb the milestones in instruments.md, and show me each one.
Never stop making features and improvements until I say STOP. A report isn't a stop: carry straight on.
How to start Claude in Chrome
  1. Click the Claude icon in Chrome's toolbar, at the top right. If it isn't there, open the Extensions menu (the puzzle piece) and pin Claude.
  2. Click Copy above, paste the prompt into the Claude panel, and send it.
Chrome with this page open. The Claude and Extensions icons at the top right of the toolbar are outlined. An arrow leads from the Copy button beside the prompt to the message box in the Claude panel on the right.
What is this console?

It's a REPL, short for read–eval–print loop: you type Python, it runs, prints the result, and waits for more, and names you define stay for the next run.

  • guide() lists the console's names and helpers.
  • export_project() saves what you've built as one .html file.
  • import_project() loads one. You can also drop the file anywhere on the page.
Feature ideas

Your agent builds these for you, after its first milestones. Ask for any of them sooner.

  • The list is in wiki/instruments.md, under "Feature ideas".