host-command-bridge
Skill371 starsChanged todayMITView on GitHub
Delegate heavy compilation/testing or opening visual artifacts on the host Mac from the Linux VM. Keep all other tasks inside the VM.
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- add-worktreeSkill
- answer-me-with-htmlSkill
- assistant-add-supportSkill
- extract-apkSkill
- grill-meSkill
- grill-with-docsSkill
- handoffSkill
- proceed-videoSkill
- prompt-engineeringSkill
- release-new-versionSkill
- test-hang-watchdogSkill
- test-triageSkill
- writing-for-agentsSkill
- zafiro-qaSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
All routine tasks (git, file inspection, search, normal CLI commands) MUST run locally in this Lima VM.
- Distinctive: line 21
Check if the daemon is reachable:
- Very specific: line 27
Run commands from within any project directory under ~/shared:
- Distinctive: line 45
If setting up for the first time on Mac:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Host Command Bridge
Delegates heavy compilation tasks or visual presentation from the Linux VM to the Mac Host.
Boundaries (MUST FOLLOW)
- Allowed:
- Heavy compilation or test tasks (e.g.
mac-run ./gradlew assembleDebug,mac-run ./gradlew testDebugUnitTest). - Presenting visual files/artifacts to the user on Mac (e.g.
mac-run open path/to/report.html).
- Heavy compilation or test tasks (e.g.
- Forbidden:
- All routine tasks (git, file inspection, search, normal CLI commands) MUST run locally in this Lima VM. Minimize
mac-runusage. - Strictly forbidden from reading or writing host data outside
~/.vm/.monet(~/shared).
- All routine tasks (git, file inspection, search, normal CLI commands) MUST run locally in this Lima VM. Minimize
Usage
Check if the daemon is reachable:
curl -s http://host.lima.internal:9876/healthRun commands from within any project directory under ~/shared:
mac-run ./gradlew assembleDebug
mac-run open doc/report.htmlDaemon Troubleshooting
The Mac host runs the HTTP daemon server; the Linux VM is only a client (mac-run). If health check fails or connection is refused:
Do NOT attempt to start the server inside the Linux VM. Prompt the user to start the daemon on their Mac host:
# On Mac Host (run by user):
python3 ~/.vm/mac_command_daemon.pyIf setting up for the first time on Mac:
# On Mac Host (run by user):
mkdir -p ~/.vm
cp ~/.vm/.monet/repo/zafiro/.agents/skills/host-command-bridge/scripts/mac_command_daemon.py ~/.vm/mac_command_daemon.py
python3 ~/.vm/mac_command_daemon.pyTo ensure mac-run is available in the Linux VM:
# In Linux VM:
mkdir -p ~/.local/bin
cp ~/shared/repo/zafiro/.agents/skills/host-command-bridge/scripts/mac-run ~/.local/bin/mac-run
chmod +x ~/.local/bin/mac-runReferences
references/daily-usage.md: Whitelist CLI management and detailed usage.references/environment-setup.md: Complete setup guide, persistent launchd service, and security sandbox architecture.
Does 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.

