Cloud coding computer
Matrix OS is a persistent cloud computer with an AI kernel — for developers who run AI coding agents.
Sessions keep running after your laptop closes. Reach your computer from the web shell, CLI, mobile, or desktop.
Matrix OS is a real computer hosted in the cloud. It has a terminal, a file system, persistent shell sessions, and an always-on AI kernel. You clone repos, run tests, launch coding agents, and leave long-running work running — then pick it up from any device.
## Your computer: install the public pack [#1-your-computer-install-the-public-pack]
The recommended public pack lives at `plugins/matrix-os/skills/` and contains three focused skills:
| Skill | When your agent uses it | Explicit example | Full instructions |
| ----------------------- | ------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| `matrix-onboarding` | Install or diagnose the Matrix CLI, sign in, select a computer, verify readiness, and recover authentication. | `Use $matrix-onboarding to diagnose why my Matrix computer is not ready.` | [Read `SKILL.md`](https://github.com/HamedMP/matrix-os/blob/main/plugins/matrix-os/skills/matrix-onboarding/SKILL.md) |
| `matrix-cloud-run` | Run commands and coding-agent tasks in observable, reconnectable Matrix sessions. | `Use $matrix-cloud-run to run the test suite on my Matrix computer.` | [Read `SKILL.md`](https://github.com/HamedMP/matrix-os/blob/main/plugins/matrix-os/skills/matrix-cloud-run/SKILL.md) |
| `matrix-github-project` | Clone, verify, reuse, change, and validate GitHub projects on Matrix without overwriting existing work. | `Use $matrix-github-project to clone this repository on Matrix and fix its tests.` | [Read `SKILL.md`](https://github.com/HamedMP/matrix-os/blob/main/plugins/matrix-os/skills/matrix-github-project/SKILL.md) |
Install all three globally through Matrix's website:
```bash
curl -fsSL https://matrix-os.com/install/skills | sh
```
The Matrix-owned endpoint is a small shell script that delegates to the pinned [skills.sh CLI](https://skills.sh/docs). `skills.sh` detects supported local agents and installs the pack into their global skill directories. Start a new Codex, Claude Code, OpenCode, or Pi session after installation so it refreshes skill discovery.
Inspect the installer before running it:
```bash
curl -fsSL https://matrix-os.com/install/skills
```
### Advanced: manual skills.sh command [#advanced-manual-skillssh-command]
The website command is the recommended install path. If you want to call skills.sh directly, the equivalent pinned command is:
```bash
pnpm dlx skills@1.5.23 add https://github.com/HamedMP/matrix-os/tree/main/plugins/matrix-os/skills --global --all
```
To list the pack without installing it, replace `--global --all` with `--list`.
Then try:
```text
Use Matrix to check my cloud computer, clone this repository, and run its tests in an observable session.
```
[OpenCode](https://opencode.ai/docs/skills/) and [Pi](https://pi.dev/docs/latest/skills) support shared `.agents/skills/` discovery in addition to their own skill directories. Pi only loads project skills after the project is trusted.
Skills can influence agent behavior and may include executable helpers. Review the source and the skills.sh security information before installing any third-party skill.
### Hand off an active task to Matrix [#hand-off-an-active-task-to-matrix]
Install the optional `matrix-handoff` skill when you want Codex or Claude Code to move the current repository and task context into a new project on your Matrix computer:
```bash
pnpm dlx skills@1.5.23 add https://github.com/HamedMP/matrix-os/tree/main/.agents/skills/matrix-handoff --global --all
```
Start a new agent session after installation, then ask it to use `$matrix-handoff`. Claude Code also exposes `/matrix-handoff` when you work from a Matrix OS source checkout.
[Read the complete `matrix-handoff` instructions](https://github.com/HamedMP/matrix-os/blob/main/.agents/skills/matrix-handoff/SKILL.md).
The handoff is a two-phase workflow. First, the agent previews the filtered files, optional repository-matched transcript, Matrix destination, selected coding agent, and a SHA-256 approval token. After you approve that exact scope, the agent reruns with the token. The helper stages the inputs again and refuses to upload if the repository files, continuation brief, transcript, agent, profile, or destination basis changed after preview.
By default the destination keeps the repository name: `~/projects/
`. If that directory already exists, handoff stops before uploading and asks you to choose another `--project-name`; it does not invent a `-handoff` suffix or overwrite the existing project.
Use `--no-history` when you want to transfer only the repository and a secret-free continuation brief:
```text
Use $matrix-handoff to move this task to Matrix with Codex, using --no-history.
```
The handoff excludes common credential files, private keys, `.env` files, agent auth databases, dependencies, and build output. It never copies local authentication into Matrix. Authenticate GitHub and the selected coding agent through their own browser or device flow, or use a Matrix-managed SSH key created inside the runtime.
## Matrix computer: build and use apps [#2-matrix-computer-build-and-use-apps]
The runtime pack lives at `skills/matrix/` in the Matrix OS source and is available automatically on your Matrix computer. You do not install this pack with skills.sh. Matrix syncs it into supported agent discovery paths and updates Matrix-managed entries without removing user-managed skills.
The complete bundled set contains 19 skills: six Matrix app skills and thirteen motion skills. App builders load `matrix-app-builder`, `matrix-design-system`, and `matrix-app-ui-patterns` first, then add only the motion skills relevant to the task.
Matrix's current brand is the system frame: Teal `#0E3422`, Coral `#D06E53`, Gold `#F1C379`, Green `#BED77B`, Blue `#C5D6E2`; Bricolage Grotesque for display, Geist for body/UI, and Geist Mono for code. Generated apps also form a taste brief from your references, domain, desired personality, and density. The goal is a coherent Matrix app that reflects your taste—not the same gradients, glass, capsules, or animation style on every project.
The shared Agent Skills paths make the pack available to Matrix, Claude Code, Codex, OpenCode, Pi, and other compatible runtimes running on the Matrix computer.
Matrix skills do not contain provider credentials. Authenticated actions go through Matrix APIs and each provider's supported login flow.
### Complete Matrix computer catalog [#complete-matrix-computer-catalog]
The catalog below lists every bundled skill. Open an entry for its selection boundary and an explicit trigger. The six Matrix foundation entries link to their public source. The thirteen motion entries are bundled-only motion guidance and intentionally do not link to their full instruction text.
#### Matrix app foundation [#matrix-app-foundation]
**When to use:** Build, create, fix, redesign, or publish a Matrix app. It owns the end-to-end Vite React TypeScript workflow, `matrix.json`, Matrix data access, build verification, and opening the finished app.
**Explicit trigger:** `Use $matrix-app-builder to build a meal planner in Matrix and verify its production build.`
[Read the complete skill text](https://github.com/HamedMP/matrix-os/blob/main/skills/matrix/app-builder/SKILL.md).
**When to use:** Arrange dashboards, data views, workspaces, forms, empty states, responsive navigation, and windowed or mobile layouts. Use `matrix-design-system` for visual tokens rather than asking this skill to invent styling.
**Explicit trigger:** `Use $matrix-app-ui-patterns to turn this desktop dashboard into a stable 320px mobile layout.`
[Read the complete skill text](https://github.com/HamedMP/matrix-os/blob/main/skills/matrix/app-ui-patterns/SKILL.md).
**When to use:** Design any Matrix system surface or user-built app. It applies the current brand as the integration frame, preserves accessibility, and derives an app-specific visual direction from the user's references and taste.
**Explicit trigger:** `Use $matrix-design-system to restyle this notes app around my editorial, low-contrast references.`
[Read the complete skill text](https://github.com/HamedMP/matrix-os/blob/main/skills/matrix/design-system/SKILL.md).
**When to use:** Add Gmail, Calendar, Drive, GitHub, Slack, Discord, or another external service to a Matrix app or agent without copying platform credentials into the app or customer computer.
**Explicit trigger:** `Use $matrix-integrations to show my upcoming Google Calendar events in this Matrix app.`
[Read the complete skill text](https://github.com/HamedMP/matrix-os/blob/main/skills/matrix/integrations/SKILL.md).
**When to use:** Work on Matrix, a Matrix app, or an adjacent project from a Matrix computer with hot reload, safe secret boundaries, and authenticated previews. It registers loopback servers such as `localhost:4173` in Project Preview and opens them in Matrix Browser.
**Explicit trigger:** `Use $matrix-dev-vps to run this Vite app on Matrix and open its localhost preview in Matrix Browser.`
[Read the complete skill text](https://github.com/HamedMP/matrix-os/blob/main/skills/matrix/dev-vps/SKILL.md).
**When to use:** Investigate a blank app, `needs_build`, a missing `dist` bundle, an invalid manifest, icon 404s, console errors, CORS problems, or integration proxy failures.
**Explicit trigger:** `Use $matrix-debug-app to find out why this app returns needs_build and opens blank.`
[Read the complete skill text](https://github.com/HamedMP/matrix-os/blob/main/skills/matrix/debug-app/SKILL.md).
#### Motion direction and discovery [#motion-direction-and-discovery]
**When to use:** Make broad animation decisions or implement entrances, exits, hover and press feedback, drawers, popovers, morphs, layout transitions, SVG motion, easing, duration, and springs. It is the general motion skill when a narrower skill does not own the task.
**Explicit trigger:** `Use $animate to give this command palette a crisp entrance and restrained item stagger.`
**When to use:** Translate descriptions such as “the iOS rubber-band thing” or “one shape turning into another” into exact motion terms. Use it for naming and search vocabulary, not implementation.
**Explicit trigger:** `Use $animation-vocabulary to name the effect where this card expands into its detail page.`
**When to use:** Audit an interface before adding motion. It finds a small number of useful opportunities, explains their purpose, and names areas that should remain static. This is read-only discovery.
**Explicit trigger:** `Use $find-animation-opportunities to inspect this dashboard and suggest only high-value motion.`
#### Motion implementation [#motion-implementation]
**When to use:** Build or fix transitions, keyframes, transforms, 3D effects, `clip-path` reveals, hover and press states, loops, marquees, spinners, or simple staggers without adding an animation library.
**Explicit trigger:** `Use $css-animations to build this hover treatment and loading shimmer without a new dependency.`
**When to use:** Work with `motion/react` for exit animation, layout or shared-element transitions, springs, motion values, drag, `AnimatePresence`, `layoutId`, or animated auto height—and debug the library when its abstractions misfire.
**Explicit trigger:** `Use $motion-react to animate this card into the detail panel with a shared layout transition.`
**When to use:** Create or repair direct-manipulation interactions that must track the pointer, remain interruptible, and settle naturally: drawers, sheets, swipe-to-dismiss, reordering, pull-to-refresh, and hold-to-confirm.
**Explicit trigger:** `Use $gesture-ui to make this swipe-to-dismiss card follow the finger and snap back correctly.`
**When to use:** Add or fix reveal-on-scroll, progress-linked animation, parallax, sticky storytelling, or reading progress. It also helps decide when scroll motion would hide content, retrigger annoyingly, or hijack navigation.
**Explicit trigger:** `Use $scroll-animations to add a reduced-motion-safe reading progress indicator to this page.`
**When to use:** Decide between CSS, WAAPI, Motion, GSAP, and React Spring, or choose accessible primitives for dropdowns, dialogs, tabs, selects, toasts, and drawers. It weighs dependencies against hand-building.
**Explicit trigger:** `Use $pick-ui-library to choose an accessible drawer primitive without overloading the bundle.`
#### Motion quality, accessibility, and review [#motion-quality-accessibility-and-review]
**When to use:** Add or review `prefers-reduced-motion`, autoplay, loops, smooth scrolling, GIFs, video, or `useReducedMotion`. Every shipped animation should have an intentional reduced-motion result rather than merely disappearing.
**Explicit trigger:** `Use $animation-accessibility to give every animation on this screen a safe reduced-motion variant.`
**When to use:** Fix dropped frames or decide which properties and APIs to animate. It favors compositor-friendly work, avoids per-frame React rendering, and applies `will-change` or GPU layers only when justified.
**Explicit trigger:** `Use $animation-performance to diagnose why this panel animation stutters on a mid-range phone.`
**When to use:** Motion feels sluggish, robotic, cheap, flickery, lifeless, or simply “off”; elements jump or shift; an exit is skipped; or a transition does not fire. It diagnoses first, then targets the cause.
**Explicit trigger:** `Use $debug-animation to explain why this popover feels wrong before editing it.`
**When to use:** Audit an existing codebase's motion against the animations.dev craft bar and write a self-contained improvement plan for another agent. It is read-only on source code.
**Explicit trigger:** `Use $improve-animations to audit this app and write a prioritized motion improvement plan.`
**When to use:** Review a motion implementation or diff for purpose, timing, continuity, accessibility, performance, and interaction quality. It defaults to flagging concrete problems; approval is earned.
**Explicit trigger:** `Use $review-animations to review this pull request's animation changes.`
## Matrix OS repository: develop the platform [#3-matrix-os-repository-develop-the-platform]
The Matrix OS source repository carries its development skills under `.agents/skills/`. These are for Matrix company engineers and contributors working on the platform itself—not for operating a personal Matrix computer or building an ordinary Matrix app.
This repository-scoped set covers workflows such as testing, debugging, code review, pull requests, previews, releases, native UI, authentication, and deployment. Keeping it at the repository root gives supported agents the same engineering playbooks when a contributor checks out Matrix OS.
Agent Skills are reusable, on-demand workflows. [AGENTS.md](https://agents.md/) provides repository-level setup, testing, style, security, and contribution rules that coding agents read automatically. Matrix OS uses both: AGENTS.md defines the boundaries, while development skills guide specific workflows.
## Choose the right set [#choose-the-right-set]
| Where the agent runs | What you want it to do | Skill source |
| ------------------------- | ------------------------------------------- | --------------------------------------------- |
| Your local computer | Connect to and operate your Matrix computer | `plugins/matrix-os/skills/` through skills.sh |
| Your Matrix computer | Build, open, integrate, and debug apps | `skills/matrix/` |
| Matrix OS source checkout | Develop and contribute to Matrix OS | `.agents/skills/` |
# Matrix MCP (/docs/mcp)
Give your coding agent a computer that keeps running. Matrix MCP lets it run commands, work with files, manage terminals, and read chats on your Matrix computer.
Hosted MCP uses **Streamable HTTP** at `https://api.matrix-os.com/mcp`. Your coding agent connects directly and signs in through browser OAuth. This does not require installing the Matrix CLI. Commands and file operations run on the selected Matrix computer, not on the agent's local computer.