Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>AI Artifacts - Interactive Planning & ReviewNew to Visual Studio Code? Get it now.
AI Artifacts - Interactive Planning & Review

AI Artifacts - Interactive Planning & Review

huynguyen294

|
19 installs
| (0) | Free
Interactive artifact review editor for AI-generated planning artifacts, markdown specs, and proposals with inline comments. Connects via MCP to Cursor, Codex, Claude, GitHub Copilot, Cline, Windsurf, and more.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

This project was built through vibe coding with AI.

AI Artifacts - Interactive Planning & Review

📦 VS Code Marketplace · 🌐 Open VSX · 🐙 GitHub

AI Artifacts is an interactive artifact review editor that lets AI coding agents such as Cursor, Codex, Claude, GitHub Copilot, Cline, and Windsurf create dedicated planning artifacts and markdown specs directly in your IDE. Use it for implementation plans, design proposals, or technical write-ups. Add inline comments and let your agent revise the document based on your feedback. It connects to your agent through MCP and the create-review-artifact skill.

Contents

  • How It Works
  • Requirements & compatibility
  • Getting started
  • Customizing the Review Skill
  • Verification & troubleshooting
  • Usage
  • Storage, behavior and security
  • Compatibility and upgrades
  • Uninstalling and cleanup
  • Development
  • Documentation

How It Works

  1. Ask for an artifact — Ask your AI agent to create a plan or write-up as an artifact. It opens in your IDE for review.
  2. Leave comments — Select text and add feedback wherever you want changes or clarification.
  3. Choose what happens next:
    • Review — Send your comments to the agent for revision.
    • Proceed — Approve the plan and let the agent execute it.
    • Just save — Save the document without executing the plan.
    • Copy Markdown — Copy the document’s Markdown to your clipboard.

Create an artifact

AI agent creates an artifact and opens it in the IDE

Leave inline feedback

Select text and add an inline comment

Pick it up in a new chat

Search for an artifact and reconnect it to a new chat

Requirements & compatibility

  • VS Code 1.95.0 or newer (or compatible editors like Cursor, Windsurf, VSCodium).
  • An AI Agent or extension supporting MCP / Skills (e.g. Codex extension, Cursor Agent, GitHub Copilot, Windsurf Cascade).
  • Node.js available as node in PATH; the installed MCP integration is launched with this command.
  • The extension host and MCP process must run as the same OS user and see the same user filesystem. Remote or split-host topologies are unsupported in v1.1.x.
  • When building from source: Node.js ^20.19.0 || >=22.12.0 and npm.

Compatibility & Supported Agents

AI Artifacts connects to your favorite AI coding agents using the Model Context Protocol (MCP) and shared agent skills:

AI / Environment Integration Type
Cursor MCP Server (mcp.json) + Skill
Codex (VS Code) Native MCP (config.toml) + Skill
Claude (VS Code Extension / MCP) MCP Server (claude.json) + Skill
GitHub Copilot (VS Code) MCP Server (mcp.json) + Skill
Cline (VS Code Extension) MCP Server (cline_mcp_settings.json) + Skill
Windsurf MCP Server (mcp_config.json)

Getting started

1. Install the extension

  • From Marketplace / Open VSX: Search for AI Artifacts in the Extensions view (Ctrl+Shift+X / Cmd+Shift+X) and click Install.
  • From a VSIX file: Download the .vsix file from GitHub Releases and run the commands below, replacing path/to/ai-artifacts.vsix with the downloaded file's path:
    code --install-extension path/to/ai-artifacts.vsix
    # Or in Cursor:
    cursor --install-extension path/to/ai-artifacts.vsix
    

To build the VSIX yourself from source, follow Development below.

2. Install the AI / MCP integration

Open the Command Palette (Ctrl+Shift+P on Windows/Linux or Cmd+Shift+P on macOS) and choose your preferred setup command:

  • AI Artifacts: Install All Detected Integrations: Installs the MCP runtime and review skill, and configures all detected AI clients.
  • Or choose the dedicated installer for your specific AI client:
    • AI Artifacts: Install Integration for Cursor: Automatically configures ~/.cursor/mcp.json.
    • AI Artifacts: Install Integration for Codex: Automatically configures ~/.codex/config.toml.
    • AI Artifacts: Install Integration for Claude: Automatically configures ~/.claude.json and deploys the create-review-artifact Agent Skill to ~/.claude/skills/create-review-artifact/.
    • AI Artifacts: Install Integration for GitHub Copilot: Automatically configures VS Code User global configuration (Code/User/mcp.json) for GitHub Copilot.
    • AI Artifacts: Install Integration for Cline: Automatically configures the Cline VS Code extension's cline_mcp_settings.json.
    • AI Artifacts: Install Integration for Windsurf: Automatically configures ~/.codeium/windsurf/mcp_config.json.
  • Or run AI Artifacts: Copy MCP Configuration JSON to copy the ready-to-use JSON configuration snippet directly to your clipboard to paste into any MCP-compatible editor.
  • Or run AI Artifacts: Copy create-review-artifact Skill Markdown to copy the full agent review skill instructions directly to your clipboard to paste into custom agent prompts, system instructions, or skill files.
Installed runtime and skill locations
# Centralized runtime & skill assets:
~/.ai-artifacts/managed/runtime/ai-artifacts-review-mcp.mjs  # Centralized MCP runtime server
~/.ai-artifacts/managed/workspaces/                          # Live workspace heartbeat registry
~/.ai-artifacts/managed/integration-version.json             # Installed MCP/skill version receipt
~/.agents/skills/create-review-artifact/                     # Shared agent skill & instructions
~/.claude/skills/create-review-artifact/                     # Claude Code agent skill

The installer preserves all unrelated MCP configurations, custom skills, and workspace files.

3. Reload and verify the integration

After installing the integration, reload your editor and restart your agent to load the new tools and skill.

  1. Run Developer: Reload Window from the Command Palette.
  2. Restart your AI chat extension or agent.
  3. Start a new chat.
  4. Run AI Artifacts: Verify All Integrations from the Command Palette.

[!NOTE] After an extension update: reinstall only when AI Artifacts reports that the installed MCP runtime or skill is stale. Extension-only UI or documentation updates do not require integration reinstall. After reinstalling an asset, restart the affected AI client and start a new chat.

Runtime version and expected tools

The current source bundles numeric MCP version 11 and skill version 3. The MCP catalog contains exactly five tools: resolve_artifact_window, create_artifact, wait_for_artifact_review, inspect_artifact_review, and advance_and_wait_for_artifact. A client that reports a different MCP version or exposes an older catalog must be reinstalled and restarted.

Customizing the Review Skill

The installer maintains two independent copies of the skill when their clients are present:

  • ~/.agents/skills/create-review-artifact/SKILL.md for Codex, Cursor, GitHub Copilot, Cline, and other clients that use the shared agent-skills directory.
  • ~/.claude/skills/create-review-artifact/SKILL.md for Claude Code. Its customization is preserved independently and is not copied from .agents.

Open either file directly in your editor (replace code with cursor when appropriate):

code ~/.agents/skills/create-review-artifact/SKILL.md
code ~/.claude/skills/create-review-artifact/SKILL.md

The installer preserves two supported customization regions across skill updates:

  1. Trigger — YAML description:: Edit the description: field in the frontmatter to change when the host should activate the skill. A value that differs from the current or a previously released official description is treated as user customization and retained.

  2. Behavior — USER CUSTOM RULES: Put custom behavior between the markers at the end of SKILL.md:

    <!-- >>> USER CUSTOM RULES >>> -->
    Write artifacts in Vietnamese. Keep implementation plans component-oriented.
    <!-- <<< USER CUSTOM RULES <<< -->
    

    Rules in this block override conflicting default skill rules. You may fully customize behavior here, including document language, chat response language, plan layout, or workspace file conventions. They cannot override system or developer instructions enforced by the AI host.

Ready means the packaged skill assets are current after merging these supported customization regions. It does not prove that custom rules remain semantically compatible with the official artifact lifecycle.

If the installer reports malformed YAML or custom-rule markers, it stops before replacing the installed skill. Back up the custom description and rules, then run AI Artifacts: Copy create-review-artifact Skill Markdown to obtain a clean official SKILL.md, or restore/reinstall the skill and add customizations back incrementally.

Verification & troubleshooting

To ensure AI Artifacts is ready, verify the components and consult common troubleshooting steps if needed:

1. Automated check via command

Run AI Artifacts: Verify All Integrations from the Command Palette (Ctrl+Shift+P / Cmd+Shift+P):

  • Skill (.agents): Must report Ready (confirms the official create-review-artifact assets are current in ~/.agents/skills/ after preserving supported customization regions; it does not validate custom-rule semantics).
  • Base (.vscode): Must report Ready (confirms central MCP runtime server is deployed to ~/.ai-artifacts/managed/runtime/).
  • Clients: Shows detected configuration state for each AI editor.

2. Agent customization check (or manual setup)

If the verify command reports missing (or you prefer manual setup), check directly in your Agent's Customization / Settings view:

  • MCP Server: Confirm ai_artifacts is enabled with tools like create_artifact and inspect_artifact_review. If missing, run AI Artifacts: Copy MCP Configuration JSON from the Command Palette and paste the snippet into your agent's MCP settings.
  • Skills: Confirm create-review-artifact is available (type $create-review-artifact in chat or check active skills). If missing, run AI Artifacts: Copy create-review-artifact Skill Markdown to copy the skill instructions directly to your clipboard, configure your agent to load skills from ~/.agents/skills/, or copy ~/.agents/skills/create-review-artifact/ into your agent/workspace skills directory.

[!NOTE] Prerequisites: Requires Node.js in PATH to run the MCP server. Always reload the window and start a fresh chat turn after changing configurations.

3. Common runtime errors & recovery

  • MCP tools are unavailable: Run AI Artifacts: Install All Detected Integrations (or the command for that client), restart your AI extension/editor, and start a fresh chat (a chat that was already open cannot load tools installed afterward). Also verify that node is available in PATH.
  • WINDOW_NOT_FOUND / WINDOW_SELECTION_REQUIRED: Ensure VS Code is running. When multiple windows exist and focus/affinity is ambiguous, select the matching window candidate and retry with the single-use selection token (targetMode: "explicit-window").
  • Window selection expired or closed: Retry creation or inspection without the expired token to refresh live window candidates. After creation, keep the exact artifact handle and retry inspect_artifact_review with reconnect intent.
  • A round token expired or the MCP restarted: The existing content remains intact. Ask the AI agent to inspect the exact artifact path again to obtain a fresh token and reconnect.
  • A configuration conflict is reported: Remove or rename the unmanaged [mcp_servers.ai_artifacts] entry in your configuration file, then run the installer again.

Usage

1. Ask your AI to create a review artifact

In your AI chat (Codex, Cursor, etc.), request a review artifact for your task:

Create a review artifact for this API design.
Use $create-review-artifact to draft an implementation plan before writing code.

Asking for a plan or Markdown document without explicitly requesting an artifact does not activate the review lifecycle. Explicit requests to inspect saved feedback or reconnect a known artifact can resume an existing lifecycle.

2. Open the Artifact Review editor

The review editor opens automatically in the focused IDE window, or the only open window. If the target window is unclear, the agent asks you to choose one.

If it doesn't open, run AI Artifacts: Open Artifact Review. You can control automatic opening with agentPlus.autoOpenArtifactReview.

A file link in the agent's response is a regular file link, not a deep link, and may open artifact.md in the default Markdown text editor instead of the review editor. To reopen that artifact in the review editor, right-click artifact.md in Explorer, in the Markdown editor, or on its editor tab and choose Open Artifact Review. The command validates the artifact before opening it. The target may be unfocused; other windows ignore the event.

3. Review, annotate, and drive execution

  1. Highlight text: Select any paragraph, heading, list item, quote, code block, or table cell.
  2. Add inline comments: Type your feedback in the floating comment popover. Press Enter or click Comment to save your feedback.
  3. Inspect feedback & conversation artifacts: Open the Comments (N) drawer to jump between annotated passages, or open the Artifacts in Conversation drawer to browse and open/switch to other artifacts created or reconnected in the same chat session.
  4. Submit your decision:
    • Review (Revise): Sends your full batch comments and continuation instructions directly to the waiting AI, including after each advanced round. The agent answers questions in chat, updates the Markdown where changes were requested, and opens the next review round. If your comments only ask questions, the agent answers in chat and opens the next round without changing the document.
    • Proceed: Approves the plan and concludes the review. For plans, the agent starts carrying out the approved work immediately.
    • Just save: Saves the Markdown to a designated workspace path without executing code.
    • Copy Markdown: Copies the document's Markdown to your clipboard without ending the review.

[!TIP] Send feedback from chat: You can also save comments without clicking Review, then simply tell your AI in chat: "Read the review" or "Check the review comments". The AI will inspect the exact artifact, answer your notes, and advance the review round.

If you haven't saved any comments or submitted a decision for the current round, you can request a change directly in chat—for example, “add a rollout phase to this artifact.” The agent updates the document and opens the next review round.

4. Search and reconnect an artifact

  1. Run AI Artifacts: Search Artifact from the Command Palette.
  2. Search by title and select an artifact to open it.
  3. Click Connect in the review header to copy its connection prompt.
  4. Paste the prompt into your AI chat to reconnect.

Storage, behavior and security

Artifact storage and structure

The AI agent calls the MCP create_artifact tool, which generates an isolated schema-v6 review bundle in the global per-user collection:

~/.ai-artifacts/artifacts/<server-generated-id>/
  artifact.json
  artifact.md
  comments.json
  review-submission.json  # Present after a decision is submitted
  artifact-connection.json # Optional schema-v1 target-window routing state

~/.ai-artifacts/conversation-registry/<conversation-id>/
  conversation.json       # Schema-v1 conversation metadata
  registered-artifacts/   # Registered artifact index files

artifact.json records the schema-v6 manifest { schemaVersion: 6, kind, artifactId, title, createdAt, updatedAt, reviewRound, reviewSessionId } without workspace ownership fields. Artifacts are owned by review sessions, not repository paths. Optional artifact-connection.json contains only UI-routing state (windowInstanceId, connection revision, open-request ID, source, and timestamp); it never replaces the manifest. The conversation registry groups artifacts from the same chat for the webview drawer and is cleaned up alongside expired artifacts.

Automatic retention cleanup

[!WARNING] Automatic Retention Cleanup: AI Artifacts automatically and permanently deletes artifacts whose artifact.json updatedAt is older than the configured retention period (default 30 days) each time the extension activates. This setting is machine-scoped (agentPlus.artifactRetentionDays, minimum 1 day). Artifacts are not recoverable after deletion. To preserve content long-term, use Just save to copy Markdown to your workspace, Copy Markdown to the clipboard, or manually save content outside the artifact lifecycle before the retention window expires. If the extension is uninstalled and later reinstalled, the next activation may delete artifacts that expired during the extension's absence.

Behavior and security

  • Safe Lifecycle: Artifact data outlives transient MCP connections within the configured retention window. Process restarts, waiter cancellations, or new chat turns never destroy unreviewed artifacts. Expired artifacts are permanently deleted when the extension activates.
  • Session-Centric Artifact Ownership: Artifacts belong to interactive review sessions in global storage, completely decoupled from repository directories.
  • Focused-First Window Routing: The MCP server connects to the currently focused VS Code window by default, with explicit selection tokens when window focus is ambiguous. Non-target windows ignore connection events.
  • Transactional Updates: Multi-round revisions are transactional; failed commits automatically roll back, including the Windows editor-lock fallback.
  • Local & Private: Everything runs locally on your machine via stdio MCP. No code, Markdown, or telemetry is sent to an AI Artifacts server. Your configured AI client may still process content according to that client's own privacy policy.
  • Content Sanitization: Rendered with CommonMark/GFM with syntax highlighting (Shiki) and diagram rendering (Mermaid). Unsafe raw HTML, scripts, and remote protocols are disabled.
  • Sensitive Local State: ~/.ai-artifacts/ may contain source excerpts, specifications, comments, and decisions. On POSIX systems, managed artifact directories are tightened to owner-only 0700 and lifecycle files to 0600; Windows uses the account and filesystem ACLs rather than claiming POSIX-mode guarantees.

Compatibility and upgrades

  • Version 1.1.0 supports only schema v6 stored under ~/.ai-artifacts/artifacts/.
  • The current integration uses numeric MCP_VERSION = 11 and SKILL_VERSION = 3. These are independent monotonic asset versions, not SemVer and not the extension package version.
  • Successful installation records the verified MCP runtime, shared .agents skill, and detected Claude skill independently in ~/.ai-artifacts/managed/integration-version.json. A missing or invalid receipt is treated as stale.
  • Schema v3/v4/v5 and workspace-local .ai-artifacts or .codex-artifacts lifecycles are not opened, advanced, or migrated by v1.1.x. Existing files remain untouched on disk.
  • This is a hard compatibility cutoff. A rollback to a 0.9.x extension also requires reinstalling the matching older runtime and skill; do not use a 0.9.x runtime with v1.1.x artifacts.
  • Reinstall only when the extension reports a stale MCP or skill asset because its numeric version changed. Extension-only updates with current receipts do not create another reinstall notification.
  • Reinstall preserves a valid custom description: and USER CUSTOM RULES block. Malformed customization fails closed without replacing the existing skill; fix the reported target and run the installer again.
  • After reinstalling, restart the affected AI client and start a new chat so it loads the updated runtime or skill.

Uninstalling and cleanup

AI Artifacts provides two comprehensive ways to remove MCP configurations and runtime assets:

  • Automatic Cleanup upon Extension Uninstall: When you uninstall the AI Artifacts extension from VS Code or Cursor (Extensions -> Uninstall), an automated lifecycle hook (vscode:uninstall) runs a standalone script that automatically removes the ai_artifacts MCP configuration from all detected AI clients and completely deletes base runtime assets (~/.ai-artifacts/managed/, legacy ~/.vscode/ai-artifacts/, ~/.agents/skills/create-review-artifact/, and ~/.claude/skills/create-review-artifact/).
  • Manual Cleanup via Command Palette: If you want to disconnect MCP integrations while keeping the VS Code extension active, open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P):
    • AI Artifacts: Uninstall All Detected Integrations: Removes MCP configs from all detected editors and clears base runtime assets.
    • Or choose a specific client: AI Artifacts: Uninstall Integration for Cursor, ... for Codex, ... for Claude, ... for GitHub Copilot, ... for Cline, or ... for Windsurf.

[!IMPORTANT] Artifact Data Is Retained on Uninstall: Neither uninstall method deletes user review data in ~/.ai-artifacts/artifacts/. Uninstall removes only managed client configuration, installed MCP runtime assets (~/.ai-artifacts/managed/), legacy ~/.vscode/ai-artifacts/, and the managed skill. Delete the global artifact collection separately only when you intentionally want to erase review data.

Development

Requirements: Node.js ^20.19.0 || >=22.12.0 and VS Code 1.95.0 or newer.

npm ci
npm run check
npm test
npm run build

Press F5 to launch an Extension Development Host. Package and install locally:

npm run package
code --install-extension releases/ai-artifacts-1.1.4.vsix

Documentation

  • Product philosophy — product intent, lifecycle semantics, and non-goals.
  • Architecture — system boundaries, ownership, workspace registry, and filesystem safety.
  • Components and responsibilities — detailed component and ownership map.
  • Project instructions — contributor invariants, workflow, and validation requirements.
  • Artifact contract — exact skill and MCP lifecycle contract.
  • Changelog — release history.
  • Documentation change logs — meaningful documentation and architecture decisions.
  • MIT License — project license.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft