mars
A package manager for AI agent profiles. Install agents and skills from git sources into Claude Code, Cursor, Codex, OpenCode — any tool that reads from a config directory.
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
Your agents and skills are now installed and available in both Claude Code and Cursor. Update them with mars upgrade, check for drift with mars doctor.
Adding Sources
# From GitHub
# From a local directory
# Pin a version
Model Aliases
Packages can distribute model routing — short names that resolve to concrete models across harnesses:
# In mars.toml — override any alias
[]
= "claude"
= "Anthropic"
= ["*opus*"]
How It Works
mars.toml + mars.lock (committed)
↓ mars sync
.mars/ (canonical store, gitignored)
↓ copy to each target
.agents/, .claude/, .cursor/ (your tools read from here)
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.
Docs
- Configuration —
mars.tomlreference, filters, model aliases, merge precedence - CLI Reference — every command with flags and examples
- Sync Pipeline — how resolve → plan → apply works
- Conflicts — collision handling and resolution
- Local Development — overrides, local paths, submodules
- Troubleshooting —
mars doctor,mars repair
License
MIT