hamedmp/matrix-os/matrix-cloud-run
Claude Code and agent skill by hamedmp/matrix-os
- community
Checking that the SKILL.md file is still in the repository.
Run commands and coding-agent tasks in observable Matrix OS terminal tabs. Use when a user asks to execute a command, inspect files, build a Matrix app, run validation, or perform coding work on a Matrix cloud computer.
Install
npx vskill@latest install hamedmp/matrix-os/matrix-cloud-runSKILL.md
Run Work on Matrix OS
Use the hosted Matrix MCP tools for remote work. Authenticate HTTP connections with the coding client's browser OAuth flow; no local Matrix CLI is required. The Matrix CLI fallback has separate authentication and is only for users who choose it or clients without remote MCP support.
MCP-first execution
- Call
list_computersand choose the explicitruntimeSlot; never guess or silently fall back to another computer. - Use
run_commandwith thecommandargv array for short probes that need captured output. Hosted HTTP defaults to and caps commands at 45 seconds; use persistent terminals for longer work. - For observable or long-running work, use
create_terminal,create_terminal_tabwhen useful,select_terminal_tab, andsend_terminal_input. Report the terminal and tab names so the user can reconnect in Matrix. - Use
list_files,read_file,download_file, andupload_filefor bounded Matrix-home files. These tools never read or write arbitrary local paths. - Use
list_chats,search_chats, andget_chatonly when prior Matrix chat context is relevant; these tools are read-only.
For HTTP authentication failures, reconnect using codex mcp login <configured-server-name> or Claude Code's /mcp authentication flow. Do not collect tokens in chat. matrix login only repairs stdio/CLI authentication, not HTTP OAuth. If hosted MCP is unavailable, explain that status and offer the CLI fallback explicitly.
CLI fallback terminal policy
- Always use
matrix run -it --project <project> ... -- <argv...>for remote commands; usemainoutside a known project. - When another terminal or concurrent task is needed, create another tab in the same project workspace.
- Report every returned tab ID and
matrix shell connect --project <project> --tab <tab-id>command immediately. - Pass prompts as command arguments after
--; never interpolate user input intosh -c,bash -lc, substitutions, or a single shell string.
CLI fallback readiness gate
Verify the local CLI, hosted profile, login, identity, and instance:
matrix instance info --json reads authenticated instance metadata from the gateway. A successful structured response confirms metadata reachability, not command execution. Use matrix doctor and a separate bounded one-shot matrix run --project main -- true command when execution health is required; do not infer execution readiness from matrix instance info.
If login is missing or expired, run matrix login --profile cloud and let the user complete browser/device authentication. If the instance is not provisioned, use https://app.matrix-os.com and wait until it is ready.
Check only the selected agent in separate readiness tabs:
Run only the Codex pair or Claude pair. Authenticate a disconnected agent in auth-codex-<suffix> or auth-claude-<suffix>. Never scan, read, or upload local credential files. Ask before installing a missing global tool and prefer Matrix's visible developer-tool installation path.
Validate the destination
- Normalize a safe relative destination under the Matrix home.
- Reject empty paths, absolute paths, backslashes, control characters, and
.or..segments. - Use
apps/<slug>for a runnable Matrix app andprojects/<name>for ordinary work. - Inspect an existing destination before using it and stop on conflicting contents.
Use separate observable tabs for each probe:
For a new app, create the normalized directory before selecting it:
-C selects an existing directory; it never creates it. Do not pass a nonexistent path to matrix run -C.
Run tasks
Create a new tab for every command:
Observe the session through completion and report its actual command result. Never infer success from partial output or a disconnected local terminal.
For Codex inspection:
For Codex changes:
Pair unattended Codex with --ask-for-approval never and an explicit sandbox. Never use danger-full-access without explicit direction.
Run Claude without repetitive permission questions using its verified auto mode:
Auto mode keeps background safety checks while minimizing clarification and permission prompts. If the installed Claude version or account does not support auto mode, report that limitation and stop; do not fall back to a permission bypass.
Handoff
Report the normalized destination, exact argv, validation performed, changed files, outcome, every terminal reference, and every matrix shell connect --project <project> --tab <tab-id> command.
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 repositoryCheckingplugins/matrix-os/skills/matrix-cloud-run/SKILL.md
Popularity
- 7-day trend score
- 0
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/hamedmp/matrix-os/matrix-cloud-run)