Skip to content

Profile Schema

A profile is a JSON file capturing what dxai system / dxai project should install. CLI flags always beat profile values.

Auto-discovery: ./.dxai/profile.json~/.dxai/config.json~/.dxairc. Override with --profile <nameOrPath>. See Guide / Profiles for usage.

KeyTypeDescription
mode"system" | "project" | "both"Default mode dxai apply runs when this profile is active.
agentsstring[]Agent IDs to configure (cursor, claude-code, vscode, codex, gemini, windsurf, antigravity).
mcpstring[]MCP server IDs to install. See Registry / MCP servers.
skillsstring[]Skill IDs to install. See Registry / Skills.
featuresstring[]Project features to generate (cursor-rules, agents-md, editorconfig, etc.).
stackstring[]Tech stack IDs. See Registry / Stacks.
mcpInputsobjectPer-server input values, keyed by server ID. Example: {"filesystem": {"allowedPath": "~"}}.
{
"mode": "both",
"agents": [
"cursor",
"claude-code"
],
"mcp": [
"github",
"playwright",
"context7"
],
"skills": [
"frontend-design"
],
"features": [
"cursor-rules",
"agents-md",
"editorconfig"
],
"stack": [
"react",
"node"
],
"mcpInputs": {
"filesystem": {
"allowedPath": "~/Code"
}
}
}

Unknown keys are silently dropped when the profile is read. New keys can be added in future dxai releases without breaking existing profiles.