aru
Health Uyari
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Gecti
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
An agent package and project manager, written in Rust.
aru
Keep coding-agent instructions, skills, and MCP servers in sync across your project.
Aru gives your team one project manifest, one reproducible lockfile, and safe projections for every supported coding agent.
Documentation · Getting started · Command reference · Source
[!WARNING]
Aru is under active development.
Features, behavior, and file formats may change before 1.0.
Why aru?
Projects often repeat the same setup for Codex, Claude Code, GitHub Copilot, pi, OpenCode, and other agents.
Aru lets you declare that setup once:
- Keep existing
AGENTS.mdfiles as the canonical instructions. - Install Agent Skills from Git repositories.
- Configure MCP servers without storing secret values.
- Reuse native aru packages that bundle instructions, skills, and trusted MCP declarations.
- Resolve selected skills and safe MCP from Agent Plugins, OpenAI plugins, and Gemini extensions.
- Pin exact revisions and projections in
aru.lock. - Detect drift and unmanaged content before replacing anything.
Aru supports full project adapters plus project-scoped skill-only targets.
| Target class | Examples | Capability |
|---|---|---|
| Full adapters | codex, claude, copilot, opencode |
Instructions, skills, and MCP |
| Native instruction adapters | agents, pi |
Instructions and skills |
| Skill-only adapters | cursor, gemini, kiro, windsurf, and others |
Skills only |
Run aru target list --available for every canonical target, project skill path, capability, and accepted alias.
Aliases such as claude-code, gemini-cli, and kiro-cli normalize to short canonical names before persistence.
Install
Aru requires a system git executable.
macOS and Linux
The recommended installer downloads a prebuilt, checksum-verified binary to ~/.local/bin and does not require Rust:
curl -LsSf https://raw.githubusercontent.com/narumiruna/aru/main/scripts/install.sh | sh
You can use wget instead:
wget -qO- https://raw.githubusercontent.com/narumiruna/aru/main/scripts/install.sh | sh
Windows PowerShell
The Windows installer places aru.exe in ~/.local/bin:
powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/narumiruna/aru/main/scripts/install.ps1 | iex"
The standalone installers support x86-64 Linux, Intel and Apple Silicon macOS, and x86-64 Windows.
uv
The PyPI distribution is named arust because aru was already taken, but it installs the aru command:
uv tool install arust
Prebuilt wheels support x86-64 glibc Linux and Apple Silicon macOS.
Cargo
Install from crates.io with a Rust toolchain:
cargo install aru --locked
Verify the installation:
aru --version
aru --help
Quick start
The following workflow initializes a project for Codex and Claude Code, adopts existing instructions, installs a skill, and verifies the result.
1. Initialize your project
Run this command from the project root:
aru init --target codex --target claude
Initialization creates:
aru.toml, which contains the setup your team maintains;aru.lock, which pins the exact resolved result;.aru/, which contains local cache, ownership, and recovery state.
Aru also adds .aru/ to the project's .gitignore.
To initialize another existing directory, pass its path:
aru init ../my-project --target codex
2. Adopt existing instructions
Specify each existing AGENTS.md file explicitly and preview the result:
aru instruction add AGENTS.md src/api/AGENTS.md --dry-run
Apply the result after reviewing the plan:
aru instruction add AGENTS.md src/api/AGENTS.md
Aru accepts exact project-relative AGENTS.md paths, keeps each source in place, and creates only the files required by your selected targets.
Configure glob selectors directly in aru.toml when needed.
If a destination such as CLAUDE.md already contains unmanaged content, aru stops instead of overwriting it.
Use --merge only after reviewing the collision:
aru instruction add AGENTS.md src/api/AGENTS.md --merge
[!CAUTION]
--forcedestructively takes over colliding unmanaged content.
A later removal cannot restore that content.
3. Add an Agent Skill
Choose a skill interactively:
aru skill add narumiruna/skills
For scripts and CI, select exports explicitly:
aru skill add narumiruna/skills --skill writing-plans
Aru resolves the Git revision, records it in aru.lock, and projects the skill to each compatible target.
4. Verify the project
Replay the committed lock without changing its resolutions:
aru sync --locked
Check that the lock and all managed target files are current without writing:
aru sync --check
5. Commit the reproducible state
Commit aru.toml, aru.lock, and the .gitignore change.
Your team may also commit generated target files if that matches the repository's policy.
Do not commit .aru/.
The everyday workflow
Most aru commands follow the same pattern:
- Preview risky or unfamiliar changes with
--dry-run. - Apply the command.
- Review
aru.toml,aru.lock, and projected target files. - Run
aru sync --check. - Commit the intended files.
Add, remove, update, and target commands normally update the manifest, lockfile, and target projections together.
Use --no-sync when you intentionally want to update only aru.toml and aru.lock, then run aru sync later.
Common tasks
Manage instructions
Add root and nested AGENTS.md files explicitly:
aru instruction add AGENTS.md src/api/AGENTS.md --dry-run
aru instruction add AGENTS.md src/api/AGENTS.md
List configured instruction selectors:
aru instruction list
Remove a selector without deleting the canonical instruction file:
aru instruction remove AGENTS.md --dry-run
aru instruction remove AGENTS.md
For custom paths, globs, and target-specific rules, see the instructions guide.
Manage Agent Skills
aru skill list
aru skill add owner/repository --skill review
aru skill add owner/repository --all
aru skill update --dry-run
aru skill update
aru skill remove owner/repository --skill review
aru skill remove owner/repository
A bare skill add opens an interactive selector.
Non-interactive environments must use --skill, --all, or --path.
Aru discovers skills from SKILL.md files at the repository root or in nested directories within its discovery limits.
Each skill's name must match the directory containing its SKILL.md, or the repository name for a root skill.
See the Agent Skills guide for revision pinning, target selection, and non-standard layouts.
Manage MCP servers
Add an HTTPS MCP endpoint while storing only the environment variable name for its token:
aru mcp add \
--url https://docs.example.com/mcp \
--name docs \
--bearer-token-env DOCS_MCP_TOKEN
List, update, or remove MCP declarations:
aru mcp list
aru mcp update --dry-run
aru mcp update context
aru mcp remove docs
Aru also supports Registry packages and direct stdio argv.
It validates direct commands but never executes them during add, lock, or sync.
Project MCP is supported for Codex, Claude Code, GitHub Copilot CLI, and OpenCode.
See the MCP guide for all source types and target capabilities.
Manage native aru packages
A native package can bundle reusable instructions, skills, trusted MCP declarations, and package dependencies.
aru add owner/agent-kit
aru add owner/agent-kit --version '^1.2'
aru update --dry-run
aru update
aru remove owner/agent-kit
Package-provided MCP servers are denied by default and require an explicit trust decision.
See the native packages guide for package authoring, trust, and dependency behavior.
Manage plugin dependencies
Inspect and import portable plugin resources without installing or executing plugin code:
aru plugin info owner/review-tools
aru plugin add owner/review-tools --component skills
aru plugin add owner/review-tools --mcp docs --trust-mcp docs
aru plugin update --dry-run
aru plugin list
aru plugin remove review-tools
Whole-plugin intent fails when active native capabilities cannot be represented safely.
Explicit --component, --skill, and --mcp selectors authorize a compatible subset.
See the plugin dependencies guide for detection, safe MCP limits, trust, and lock behavior.
Change project targets
aru target list
aru target list --available
aru target add copilot
aru target add kiro-cli # persists canonical target "kiro"
aru target remove claude
aru target set codex claude
Skill-only targets receive skills but not instructions or MCP servers.
All destinations are project-relative; aru does not install skills into home-directory paths.
At least one target must remain.
Use target set when replacing the only configured target.
Understand locking and synchronization
aru.toml describes what the project wants.
aru.lock records the exact Git revisions, metadata, content digests, and target projections needed to reproduce it.
| Command | Use it when |
|---|---|
aru lock |
You want to update aru.lock without changing target files |
aru lock --check |
You want to verify the lock without writing or using the network |
aru sync |
You want to resolve missing lock data and reconcile target files |
aru sync --locked |
You want to reproduce the existing lock without changing it |
aru sync --check |
You want a local, read-only exact-state check |
aru sync --dry-run |
You want to preview the synchronization plan |
Use --offline to disable remote Git and Registry access.
Use --frozen for the equivalent of --locked --offline.
Read the lock and sync guide for detailed behavior.
Safety model
Aru is designed to fail closed.
Before writing, it validates the complete operation and rejects unsupported, ambiguous, or unsafe inputs.
It also:
- preserves drifted or unowned content for review;
- keeps Git and MCP commands as argument arrays instead of shell-expanding them;
- never executes configured direct MCP commands;
- stores secret environment variable names or placeholders, never secret values;
- applies multi-file changes through atomic transactions;
- records durable recovery information for interrupted operations.
If an operation is interrupted, run a mutating aru command such as aru sync again.
Aru will attempt digest-gated recovery before starting new work.
Read the safety and recovery guide before using destructive takeover or repairing interrupted transactions manually.
Useful inspection commands
These commands inspect the project without changing managed state:
aru sync --check
aru audit
aru tree
aru info PACKAGE
aru plugin info SOURCE
aru metadata --format-version 1
aru metadata --format-version 2
Run aru COMMAND --help for command-specific options.
The complete command reference lists every command and flag.
Updating aru
Standalone installations can update themselves:
aru self update
Update package-manager installations through the same package manager:
uv tool upgrade arust
cargo install aru --locked
Development
Install from a source checkout:
cargo install --path .
Run the CI-equivalent checks:
cargo fmt --all -- --check
cargo clippy --locked --all-targets --all-features -- -D warnings
cargo test --locked --all-targets --all-features
Serve or build the documentation with its locked toolchain:
just docs-serve
just docs-build
Release maintainers should follow docs/releasing.md.
Aru is available under the MIT License.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi