Dev Container
OpenSana and AI CLIs
Use the dev container with OpenSana profiles, Claude Code, MCP config, and project-local AI setup.
The dev container is most useful when you want OpenSana and local AI CLIs to work together inside the same isolated environment.
OpenSana Profiles
The container mounts your host ~/.config/opensana/ directory into the container.
That means you can:
- reuse existing OpenSana profiles
- run
opensana setupinside the container - keep API keys and profile config outside the repo
If the directory does not exist on the host, create it first:
mkdir -p ~/.config/opensanaRunning Claude Code
Claude Code is preinstalled in the container.
Typical usage:
claude
cd /workspace/apps/web && claudeCombining With OpenSana
A practical isolated workflow looks like this:
- Open the repo in the dev container.
- Verify your OpenSana profile is available.
- Run
opensana init mcporopensana init skillif needed. - Start the AI CLI inside the container.
- Use the client against the repo from the containerized environment.
Why This Matters
This keeps:
- repo files
- MCP config
- OpenSana profile resolution
- AI CLI execution
in one controlled environment instead of splitting them across host and container setups.