2mawi2/schaltwerk/schaltwerk-macos-cua
Claude Code and agent skill by 2mawi2/schaltwerk
- community
Checking that the SKILL.md file is still in the repository.
Build and manually test the real Schaltwerk macOS app with Codex Computer Use against an isolated disposable Git repository and app-data directory. Use for agent-driven UI testing, visual regression checks, or end-to-end verification of local Schaltwerk changes on a Mac.
Install
npx vskill@latest install 2mawi2/schaltwerk/schaltwerk-macos-cuaSKILL.md
Schaltwerk macOS Computer Use
Run Schaltwerk natively while keeping the user's projects and normal app state out of scope.
Prepare
The host must have working, authenticated real Codex and Pi CLIs. The harness checks the current PATH, the Codex binaries bundled with ChatGPT and Codex, or the explicit SCHALTWERK_CUA_CODEX_BIN and SCHALTWERK_CUA_PI_BIN overrides. It fails before launching Schaltwerk if either binary is broken or its authentication is missing.
From the Schaltwerk repository root, run:
cua:prepare builds the release .app, resets logs/cua/macos-runtime, creates a disposable Git fixture, and launches Schaltwerk with an isolated home and config database. It pins agent launch to the validated real Codex and Pi binaries. Codex authentication is linked into its isolated home; Pi authentication and model configuration are copied into isolated private files and removed on stop. The harness pre-trusts only the disposable fixture root for Codex. Use bun run cua:prepare -- --no-build only when the current app bundle already represents the source under test.
If a harness instance is running, stop it before preparing again:
Never stop another Schaltwerk process. The harness validates the recorded executable before signaling its owned PID.
Drive the UI
Use the computer-use skill and its node_repl workflow. Target the full app path src-tauri/target/release/bundle/macos/schaltwerk.app; the bundle identifier is ambiguous when /Applications/Schaltwerk.app is also installed.
- Observe the full app state before acting.
- Prefer accessibility element indices for clicks and text entry.
- Re-observe after every action that changes the UI.
- Use screenshots when the WebView accessibility tree is incomplete.
- Exercise the user-visible flow affected by the change, including success and practical failure states.
- Keep all created sessions, branches, and file edits inside the disposable fixture.
Do not use shell commands to simulate UI interaction. Use them only to inspect harness state and verify side effects.
For the real-Codex end-to-end smoke flow:
- Start an agent with a unique name and a prompt that creates a uniquely named
file with exact contents.
- Select Codex and confirm the form shows a currently supported model.
- Select Skip permissions because the repository and app state are disposable.
- Start and select the session, then observe the terminal until Codex reports
completion.
- Confirm the file appears in Schaltwerk's Changes panel.
No Codex project-trust prompt should appear. Treat one as a harness failure: stop the run, prepare fresh state, and inspect logs/cua/macos-runtime/codex-home/config.toml before continuing.
For the real-Pi flow, select Pi and use a unique prompt and output file just like the Codex smoke flow. Pi does not expose Schaltwerk's permission toggle. Confirm the prompt starts automatically, the file appears in Changes, and restarting the terminal resumes the same Pi session without replaying the initial prompt.
Verify
Check the process, isolation, logs, and Git effects:
Verify exact file contents in the disposable worktree as well as the UI result. Treat panics, frontend errors, unexpected normal-state file access, and unintended Git changes as failures. A Codex model-discovery fallback warning is acceptable only when the log also identifies the validated CLI version and the selected supported model completes the smoke task. Capture screenshots from Computer Use for visual findings.
Always stop the owned test app when finished. Stopping also removes the temporary Codex authentication link and the isolated Pi authentication/configuration copies:
Report the exact flows exercised, observed results, isolation result, validation commands, and any untested boundary.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcodex-skills/schaltwerk-macos-cua/SKILL.md
Popularity
- Repository stars
- 287
- Repository forks
- 28
- 7-day trend score
- 33
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/2mawi2/schaltwerk/schaltwerk-macos-cua)