Private AIA VS Code extension for managing AI coding skills, instructions, prompts, and settings across machines or teammates. It keeps file history in a separate private Git repository and syncs files into each linked workspace, where coding agents can use them normally. New: connect Claude Code via MCPIn a linked workspace, open Private AI and choose Actions → Connect External Agent → Connect Claude Code. This registers the local MCP server for this project. The workspace host needs Node.js on its PATH and either the Claude Code extension's bundled executable or the Claude CLI. Restart Claude Code in the same project, then ask: “Resolve conflicts and sync my Private AI profile.” Claude uses
Get started
If you’re upgrading from a VSIX with the old extension ID, disable that build, then reconnect and link your workspace in the new extension. Existing configuration files remain in the workspace. Sync and resolve conflictsSync pulls incoming changes, merges compatible edits, and pushes saved local changes to the private branch. Pull applies incoming changes locally. Show Status previews pending changes. For an overlapping edit, open the conflict from Sync to compare your changes with your colleague's and choose or edit the result. The extension backs up existing files before overwriting or deleting them. In VS Code Chat → Agent, choose a model with tool support, type
VS Code 1.102 or later can also open Chat from the linked workspace's terminal. VS Code CLI reference
Allow conflict sharing to let the selected model and its provider see the conflicting text. Choose Allow and always apply full syncs to also approve future full syncs with validated text merges. Deletions, skipped conflicts, warnings, whole-file choices, and writes to shared source profiles still require confirmation. Codex and other MCP agentsFor a Codex CLI session, select Start Codex with Private AI. The extension locates the Codex executable and opens it directly with the tools attached. On Windows it can also use the Codex desktop installation when the CLI is missing from PATH. For a persistent Codex IDE or CLI registration, Copy Codex MCP configuration provides the block for the trusted project’s Connecting authorizes the external agent and its provider to read conflict hunks and apply full syncs for that project. The agent plans, reads overlapping text, and supplies a merge. The same engine verifies the plan, backs up files, and publishes. For ambiguous intent the agent asks for guidance. Deletions, whole-file choices for conflicts, warnings, skips and writes to shared source profiles require an interactive terminal decision. Use the command and arguments returned by the tool to review and approve the current proposal. To revoke access, choose Disconnect external agents in the same palette command. Files already in the project repositoryFiles currently tracked by the main project repository appear under Outside sync. Leave them there if they should remain part of the project. To move a file to private sync, use Bring Back into Sync → Copy untrack command. Run the command from the project Git root, review and commit the removal, then select Recheck. Your local copy stays in place. If old commits also need to be cleaned, choose Open history-rewrite guide for the separate manual process. SettingsSearch for
If you set For managed and excluded paths, use an exact workspace-relative file path or a folder ending in
|

