mars
A package manager for AI agent profiles and skills. Install agents and skills from git sources into Claude Code, Codex, OpenCode, Cursor, and other agent harness config directories.
Target Status
Mars materializes harness-native artifacts for multiple targets:
| Target | Status | Notes |
|---|---|---|
.claude |
First-class | Claude Code agents, skills, MCP, hooks, and settings surfaces. |
.codex |
First-class | Codex project instruction and agent-facing surfaces, MCP servers, and hooks. |
.opencode |
First-class | OpenCode agent and permission surfaces, MCP servers, and hooks. |
.cursor |
Unmaintained | Cursor CLI/config support still ships but is no longer tested or extended; it may break without notice. |
.pi |
Future first-class | Receives MCP servers and hooks today. The Meridian-owned Pi flavor and extension surface is under active design/development. |
Plugin Distribution
Packages can commit installable plugin artifacts for Claude, Codex, Grok, Cursor, and OpenCode. See Authoring harness plugins for configuration, build, verification, and release guidance.
supported means the component ships and loads. impossible means the harness's plugin system has no slot for it. Verification is evidence from real binaries except where a cell explicitly says docs-only.
Component support
| Claude | Codex | Grok | Cursor | OpenCode | |
|---|---|---|---|---|---|
| Tree | claude | claude | claude | cursor | opencode |
| Skills | supported | supported | supported | supported | supported (registered by index.mjs) |
| Agents | supported; hooks, mcpServers, permissionMode, initialPrompt dropped with warning |
impossible: Codex plugins don't load agents | supported; hooks, mcpServers, permissionMode, initialPrompt dropped with warning (same file as Claude) |
supported | supported (registered by index.mjs as <plugin>:<agent> subagents; preloaded skills become body guidance; harness-overrides.opencode keys other than permission are dropped with warning) |
| Hooks | supported for [hooks] (rendered to what Codex also parses) and hooks with the claude native hook; other targets' native hooks dropped with warning |
supported for [hooks] (rendered to what Codex also parses) and hooks with the claude native hook; other targets' native hooks dropped with warning (reads the Claude tree's hooks/hooks.json) |
supported for [hooks] (rendered to what Codex also parses) and hooks with the claude native hook; other targets' native hooks dropped with warning |
supported for hooks with the cursor native hook; [hooks] and others dropped with warning |
supported for [hooks] (generated adapter) and hooks with the opencode native hook; other targets' native hooks dropped with warning (each native hook needs a default {id, setup} export) |
| MCP | supported | supported (same file as Claude) | supported (same file as Claude) | supported | supported (registered by index.mjs) |
| Bootstrap docs | impossible | impossible | impossible | impossible | impossible |
Verification level
| Claude | Codex | Grok | Cursor | OpenCode | |
|---|---|---|---|---|---|
| Install from catalog | live (local marketplace) | live (local marketplace) | live (local marketplace) | docs-only (account required) | live (git+file://) |
| Skills | live (own and dependency skills) | live (own and dependency skills) | live, with resources/ |
docs-only (schema validation only) | live, with resources/ |
| Agents | live (subagent preload) | n/a (impossible) | live (subagent with native skill preload) | docs-only (schema validation only) | live (<plugin>:<agent> spawned as a subagent; task: deny resolved as subagent deny) |
| Hooks | live (${CLAUDE_PLUGIN_ROOT}, CommonJS script) |
live (built tree, CommonJS script) | live (CLAUDE_PLUGIN_ROOT) |
docs-only (schema validation only) | live (git install, CommonJS script) |
| MCP | live (env_vars pass-through) |
live (env_vars pass-through) |
live (env_vars pass-through) |
docs-only (schema validation only) | live (<plugin>:<server>) |
Install commands
<owner>/<repo> is the package repository; <name> and <marketplace> come from
[plugin].
| Harness | Command | Source forms verified |
|---|---|---|
| Claude | claude plugin marketplace add <owner>/<repo> then claude plugin install <name>@<marketplace> |
Local directory and local Git checkout. GitHub shorthand is documented, not run pending a pushed plugin release. |
| Codex | codex plugin marketplace add <owner>/<repo> then codex plugin add <name>@<marketplace> |
Local directory; Codex selects the Claude catalog. GitHub shorthand is documented, not run pending a pushed plugin release. |
| Grok | grok plugin marketplace add <repo-url> then grok plugin install <name> --trust |
Local directory and file:// Git. |
| Cursor | agent plugin marketplace add <repo-git-url>, then install from Cursor's Customize UI; local development: agent --plugin-dir <checkout>/<dir>/cursor |
Documented only; an account is required. |
| OpenCode | opencode plugin add git+https://github.com/<owner>/<repo>.git |
git+file:// verified. git+https is documented, not run pending a pushed plugin release. |
Install
| Method | Command |
|---|---|
| Cargo | cargo install mars-agents |
| pip / uv | uv tool install mars-agents or pip install mars-agents |
| npm | npm install -g @meridian-flow/mars-agents |
| Prebuilt binaries | GitHub Releases |
Quick Start
mars init
mars add meridian-flow/meridian-dev-workflow
mars link .claude
mars link .codex
Your agents and skills are now installed and available in both Claude Code and Codex. Update them with mars upgrade, check for drift with mars doctor.
Adding Sources
# From GitHub
mars add meridian-flow/meridian-base
mars add acme/security-agents --only-agents
# From a local directory
mars add ../my-team-agents
# Pin a version
mars add meridian-flow/meridian-base@^1.0
Model Aliases
Packages can distribute model routing — short names that resolve to concrete models across harnesses:
mars models list
mars models resolve opus
# In mars.toml — override any alias
[models.opus]
harness = "claude"
provider = "Anthropic"
match = ["*opus*"]
How It Works
flowchart TD
sources["mars.toml + mars.lock<br/><i>committed</i>"]
local[".mars-src/<br/><i>your own agents, skills, MCP, hooks</i>"]
git["git sources<br/><i>resolved from mars.toml</i>"]
canonical[".mars/<br/><i>canonical store, gitignored</i>"]
agents["agents/ + skills/"]
mcp["mcp servers"]
hooks["lifecycle hooks"]
claude[".claude/"]
codex[".codex/"]
cursor[".cursor/"]
opencode[".opencode/"]
pi[".pi/"]
sources --> |mars sync| canonical
local --> canonical
git --> canonical
canonical --- agents
canonical --- mcp
canonical --- hooks
canonical --> |mars link| claude
canonical --> |mars link| codex
canonical --> |mars link| cursor
canonical --> |mars link| opencode
canonical --> |mars link| pi
Mars resolves the full dependency graph before touching any files. Writes are atomic. The lock file tracks what mars manages so it never touches your files. Each linked target gets harness-native artifacts — agents, skills, MCP servers, and hooks compiled to match what that tool expects. A package declares a hook once, in Claude's shape, and Mars renders it for Claude, Codex, OpenCode, and Pi; see Declaring Hooks in a Package.
Published packages can declare requires-mars and requires-meridian under
[package]. Mars automatically falls back to the newest compatible package
release; see the mars.toml reference.
Use mars adopt to bring an existing unmanaged file into .mars-src/ in one step.
Docs
- Schema v1 — the agent, skill and manifest format; migrating a package
- Config —
mars.toml, agent profiles, compilation, MCP/hooks - Plugin authoring — build and release multi-harness plugins
- CLI — every command with flags and examples
- Internals — sync pipeline, lock file, conflicts
- Dev — local development, troubleshooting, smoke testing
License
MIT
Metadata
Release files for mars-agents 0.33.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mars_agents-0.33.2.tar.gz | 1.2 MB | With provenance | Details for mars_agents-0.33.2.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| mars_agents-0.33.2-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for mars_agents-0.33.2-py3-none-win_amd64.whl |
| mars_agents-0.33.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details for mars_agents-0.33.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
| mars_agents-0.33.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details for mars_agents-0.33.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
| mars_agents-0.33.2-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details for mars_agents-0.33.2-py3-none-macosx_11_0_arm64.whl |
| mars_agents-0.33.2-py3-none-macosx_10_12_x86_64.whl | Python 3 | none | macOS 10.12+ x86-64 | Details for mars_agents-0.33.2-py3-none-macosx_10_12_x86_64.whl |
Total release size: 27.7 MB
Release files / mars_agents-0.33.2.tar.gz
| Download URL | mars_agents-0.33.2.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8717afcc7824225be8bfe1a87c1b92122c98a8bfc4a67b6f5ef665501b319e88
|
|
BLAKE2b-256 checksum How to use checksums |
3de4bb0081695e29c2c3485b955b45ea8838d442e2239401b8d1026e7651aa9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logRelease files / mars_agents-0.33.2-py3-none-win_amd64.whl
| Download URL | mars_agents-0.33.2-py3-none-win_amd64.whl |
|---|---|
| Size | 5.7 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
147843cc3bc11cde3faf4455c9d0153858e5801a64ebd230f26980ed24952c8f
|
|
BLAKE2b-256 checksum How to use checksums |
cf9b7e85dd696c43a1a454e0190b79599cc757a6c2c8c0ffb85ccaa8e3f6c2a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logRelease files / mars_agents-0.33.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | mars_agents-0.33.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 5.5 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
063dbcb7911d794dc06126a5303aabdc067dfe1f1369dc8a8a8853a57af9d70b
|
|
BLAKE2b-256 checksum How to use checksums |
67449bd05f993360a10fe2af5e244596ef51fd6b9e8799d20afd1656a6a73b65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logRelease files / mars_agents-0.33.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | mars_agents-0.33.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 5.1 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
d69be165620735967e2b38f2c716737d0a2b73226167f583cee3c2f67eea112e
|
|
BLAKE2b-256 checksum How to use checksums |
2f7cbcaf5aafcffcaceccad76eacd02df2a268f9b5d4a022c18eadd59f876b8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logRelease files / mars_agents-0.33.2-py3-none-macosx_11_0_arm64.whl
| Download URL | mars_agents-0.33.2-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 4.9 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
643faa34e7077ebeca02a1f46ebec3b893e0005400a3523392feb9035db5c61a
|
|
BLAKE2b-256 checksum How to use checksums |
0278a786069159488eeb2faa80683c31f9e6afd6932965c8f9d797c64f93bd88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logRelease files / mars_agents-0.33.2-py3-none-macosx_10_12_x86_64.whl
| Download URL | mars_agents-0.33.2-py3-none-macosx_10_12_x86_64.whl |
|---|---|
| Size | 5.3 MB |
| Tags | Python 3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
527969562ad1c57819749bc102ffb3c56919637a2f7374e790524466410ae838
|
|
BLAKE2b-256 checksum How to use checksums |
7ba9494602fba59bc0b72ca9c28e9dfa5f08f8ec32112273dc99b3647aed6b8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logSecurity for mars-agents 0.33.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 6 files in this release have been uploaded with provenance metadata.
Attestation for mars_agents-0.33.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.