Skip to content

avc init

Initialize AVC for a project. Creates .avc/ with a SQLite database, default config, and .avcignore.

Terminal window
avc init # initialize current directory
avc init /path/to/project # initialize a specific directory
avc init --skills claude-code # also write agent integration files
avc init --skills claude-code,cursor,windsurf
FlagDescription
--skills <list>Comma-separated agent frameworks to set up. Supported: claude-code, cursor, windsurf, generic
--jsonJSON output
{
"id": "proj-a1b2c3",
"path": "/path/to/project",
"name": "project",
"success": true
}
.avc/
├── avc.db
├── config.toml
├── .gitignore
└── objects/
.avcignore ← in the project root

Re-running on an already-initialized project is a no-op — no data loss.

For each requested framework, AVC writes the right files:

FrameworkFiles written
claude-code.claude/settings.json (MCP config), .claude/skills/avc-*/SKILL.md (skill files)
cursor.cursor/mcp.json, .cursor/rules/avc.mdc
windsurf.codeium/windsurf/mcp_config.json, appends to .windsurfrules
genericAGENT_INSTRUCTIONS.md

These tell the agent framework how to invoke AVC’s MCP server and when to use each tool. See Agent Integration for details.