hamedmp/matrix-os/matrix-github-project
Claude Code and agent skill by hamedmp/matrix-os
- community
Checking that the SKILL.md file is still in the repository.
Clone, verify, reuse, and change GitHub repositories in observable project-scoped terminal tabs on a Matrix OS cloud computer. Use when a user supplies a GitHub repository, asks to continue work in an existing checkout, wants a Matrix app checkout, or requests code changes and validation on Matrix.
Install
npx vskill@latest install hamedmp/matrix-os/matrix-github-projectSKILL.md
Work on GitHub Projects in Matrix OS
Authenticate and inspect everything on the Matrix VPS, preserve existing work, and push or open a PR only when explicitly requested. Prefer hosted Matrix MCP tools with the client's browser OAuth flow. Keep the separately authenticated CLI fallback optional.
MCP-first execution
- Call
list_computersand target one explicitruntimeSlotfor every operation. - Use
run_commandwith itscommandargv array for repository probes and short work that needs captured output. Hosted HTTP defaults to and caps commands at 45 seconds; run longer Git operations and tests in persistent terminals. - Use
create_terminal,create_terminal_tab,select_terminal_tab, andsend_terminal_inputfor long-running or user-observable work. Report the terminal/tab identity. - Use bounded file tools only for Matrix-home content; never move local credentials or accept arbitrary local paths.
- Use read-only chat tools when a prior Matrix chat is necessary to recover project context.
If HTTP MCP authentication fails, use codex mcp login <configured-server-name> or Claude Code's /mcp browser authentication. matrix login repairs only stdio/CLI login. If hosted tools are absent or unavailable, offer the CLI fallback explicitly; never copy credentials between transports.
CLI fallback terminal policy
- Always run remote work with
matrix run -it --project <project> ... -- <argv...>; usemainbefore a project exists. - Create a separate tab in the project workspace for every additional command, terminal, or concurrent task.
- Report every returned tab ID and its
matrix shell connect --project <project> --tab <tab-id>command. - Pass arguments after
--; never interpolate user input into a shell string.
CLI fallback readiness gate
Verify the local CLI, hosted profile, login, identity, and instance before touching a checkout:
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 needed, run matrix login --profile cloud and let the user complete browser/device authentication. Wait for provisioning at https://app.matrix-os.com when no ready computer exists.
Check only the selected coding agent on Matrix, using a separate tab for each check:
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. If an agent is missing, ask before installing a global tool and prefer Matrix's visible developer-tool installation path.
GitHub authentication must also live on Matrix:
Use the login session only when needed, then re-run remote gh auth status in a new session. If gh is missing, ask before installing it globally and prefer Matrix's visible developer-tool installation path. Do not rely on the local computer's GitHub login.
Resolve the repository and destination
- Parse the requested GitHub URL or
owner/repoidentifier and normalize it to a lowercase GitHub owner/repository pair with any.gitsuffix removed. - Default ordinary repositories to
projects/<repo>. Useapps/<slug>only when the checkout should run directly as a Matrix app. - Validate a safe relative destination under the Matrix home. Reject absolute paths, backslashes, control characters, and
.or..segments. - Inspect the destination before using
-C.
Probe the destination in separate tabs:
If the destination is absent, clone it with remote GitHub CLI:
If the destination exists:
- Stop on a non-Git directory collision.
- Read
git remote get-url originand derive its normalized GitHub owner/repository. - Reuse the checkout only when that normalized owner/repository exactly matches the request.
- Stop on a mismatched origin; never repoint it automatically.
Preserve the checkout
Before fetching, switching, installing, launching an agent, or editing, inspect the branch and dirty state in separate project tabs:
Treat staged, unstaged, untracked, rebasing, merging, and detached states as meaningful user work. Never reset, clean, stash, or overwrite user changes automatically. If the checkout is dirty or mid-operation, stop and ask whether to continue on the current state, finish the operation, or choose a separate clean checkout.
For a clean new task, follow repository instructions and the user's branch preference. If no branch is specified, resolve the remote default branch with gh repo view, fetch it, and create matrix/<task-slug> from the remote default branch. Stop if the target branch already exists rather than overwriting it.
Understand and change the project
Read repository instructions before choosing commands:
AGENTS.md,CLAUDE.md, or equivalent repository instructions, including nested files for the target area.- README files and contributing guidance.
- Package-manager lockfiles and task scripts.
- Environment examples such as
.env.example; never read secret environment files unless the user explicitly authorizes a specific read. - Build, test, and development documentation.
Use a separate tab for the coding task. For unattended Codex changes:
Use --sandbox read-only for inspection. Never use danger-full-access without explicit direction.
Run Claude without repetitive permission questions using its verified auto mode:
If Claude auto mode is unavailable, report that limitation and stop; do not fall back to a permission bypass.
Run relevant validation in new tabs. Do not install dependencies until the package manager, lockfile, and dirty state are understood. Push or open a PR only when explicitly requested.
Handoff
Report the normalized repository, checkout path, branch, starting dirty state, changed files, validation commands and results, every running terminal reference, and every matrix shell connect --project <project> --tab <tab-id> reattach instruction. State clearly whether anything was pushed or published.
Security
- Security scanPassed, 96 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/matrix-os/skills/matrix-github-project/SKILL.md
Popularity
- Repository stars
- 85
- Repository forks
- 25
- 7-day trend score
- 0
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/hamedmp/matrix-os/matrix-github-project)