Skip to content

AI Environments

AIM applies a single inventory to multiple AI environments through adapters.

Supported environments

EnvironmentTarget IDSkillsMCP config
Claude Codeclaude-codesupportedsupported
Cursorcursorsupportedsupported
Codex CLIcodexsupportedsupported

Gemini CLI and other environments are being considered as future adapters.

How AIM resolves paths

During aiman init and aiman doctor, AIM attempts to locate the standard directories for each AI environment.

If an environment is not found automatically, you can set the path in aim.local.yaml:

yaml
environments:
  claude-code: ~/.claude
  cursor: ~/.cursor
  codex: ~/.codex

aim.local.yaml is local to the machine and must not be committed to Git.

Skills

A skill from skills/<name>.md is installed in the format expected by the specific AI environment. AIM does this during apply (local iteration) and sync (applying the published state):

bash
aiman apply   # apply local changes
aiman sync    # apply the published state from Git

MCP servers

An MCP Item from mcp/<name>.yaml is applied by the adapter to the AI environment's config file.

For Claude Code and Cursor, the mcpServers JSON structure is used. For Codex CLI, the mcp_servers TOML structure is used.

Secret values and env variables are substituted from the local aim.local.yaml.

Diagnostics

bash
aiman doctor

doctor shows:

  • found and missing AI environments;
  • path issues;
  • the state of the inventory repository;
  • missing required MCP env variables.

What's next

Released under the Apache 2.0 License.