start-shinbo
Skill1 starsChanged 3 months agoMITView on GitHub
Start, restart, or visually verify Shinbo from this repository in isolated Vite development mode, as a packaged production app, or with the production renderer bundle. Not for publishing a release.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/agents.mdAGENTS.md
- harness/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- contributingSkill
- releasingSkill
- sibling-reposSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 1 is distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 8
Run commands from the repository root.
- Very specific: line 13
Use this by default for development and UI validation.
- Very specific: line 16
Only desktop/src/ hot-reloads without an Electron restart.
- Very specific: line 31
If desktop/node_modules/.bin/electron is missing, install the locked desktop dependencies with npm --prefix desktop ci before building.
- Very specific: line 34
Use two owned long-running terminal sessions.
- Very specific: line 41
Wait until Vite prints http://127.0.0.1:5173/, then start Electron in the second session:
- Very specific: line 51
Keep the fixed /tmp paths so development settings survive relaunches.
- Very specific: line 78
If the user asked to launch Shinbo for their use, leave both sessions running.
- Distinctive: line 96
When the user asks to build this checkout as production, package and open its unsigned local bundle:
- Very specific: line 104
Do not rebuild merely to start an existing app.
- Very specific: line 109
Use this only when the user wants unbundled Electron against dist-renderer without Vite.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Start Shinbo
Run commands from the repository root. Preserve every Shinbo process you did not start unless the user explicitly asks to stop or restart it.
Isolated development
Use this by default for development and UI validation. It runs beside production Shinbo without taking its profile or touching its data.
Only desktop/src/** hot-reloads without an Electron restart. Build only the
layer that changed:
- Cold checkout or missing outputs: run all three commands below, sequentially.
desktop/main/**ordesktop/shared/**:build:main, then relaunch Electron.crates/**orharness/**:build:host, then relaunch Electron.desktop/native/**:build:native, then relaunch Electron.desktop/src/**: let Vite hot-reload; do not rebuild or relaunch.
npm --prefix desktop run build:host
npm --prefix desktop run build:native
npm --prefix desktop run build:mainIf desktop/node_modules/.bin/electron is missing, install the locked desktop
dependencies with npm --prefix desktop ci before building.
Use two owned long-running terminal sessions. Do not hide them behind &.
Start Vite first:
npm --prefix desktop exec -- vite --host 127.0.0.1 --strictPortWait until Vite prints http://127.0.0.1:5173/, then start Electron in the
second session:
SHINBO_DATA_DIR=/tmp/shinbo-dev-data \
SHINBO_DEV_SERVER_URL=http://127.0.0.1:5173 \
./desktop/node_modules/.bin/electron ./desktop \
--user-data-dir=/tmp/shinbo-dev-profileKeep the fixed /tmp paths so development settings survive relaunches. If port
5173 is occupied, do not stop an unknown listener. Use the next free port,
update SHINBO_DEV_SERVER_URL, and suffix both /tmp paths with that port.
Localhost binding and GUI launch may need sandbox escalation. Retry the same command with the required permission instead of changing the host, disabling Electron security, or launching production Shinbo.
Verify the right window
For Computer Use, target the development Electron bundle by its resolved full
path, not by the ambiguous names Shinbo or Electron. Put the literal path in
the app property:
await sky.get_app_state({ app: "/absolute/repository/desktop/node_modules/electron/dist/Electron.app", disableDiff: true })The correct window reports Window: "Shinbo" and the Vite URL. Fetch fresh app
state after every interaction before reusing accessibility element indexes.
Restart and stop
For a main, host, or native change, stop only the Electron session, rebuild the affected layer, and relaunch it while Vite stays up. Restart both sessions only for Vite configuration or dependency changes.
If the user asked to launch Shinbo for their use, leave both sessions running. If
the instance exists only for a validation task, send Ctrl-C to Electron and then
Vite when the task is finished. Never use pkill or killall; production Shinbo
may be running beside it.
npm run dev performs the full builds and starts Vite and Electron, but it uses
the default profile and data and launches Electron after a fixed delay. Use it
only when no other Shinbo is running and isolated state is intentionally unwanted.
Production Shinbo
Production means a packaged Shinbo.app, not electron .. Start the installed
release by exact path so macOS cannot choose another registered copy:
open /Applications/Shinbo.appWhen the user asks to build this checkout as production, package and open its unsigned local bundle:
npm run package:mac
open "$PWD/desktop/release/Shinbo-darwin-arm64/Shinbo.app"Do not rebuild merely to start an existing app. Packaged Shinbo has no hot reload and uses production data.
Production-renderer smoke test
Use this only when the user wants unbundled Electron against dist-renderer
without Vite. It rebuilds the app but is not packaged production:
SHINBO_DATA_DIR=/tmp/shinbo-smoke-data \
npm --prefix desktop start -- \
--user-data-dir=/tmp/shinbo-smoke-profileDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

