Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>AgentDoc ReaderNew to Visual Studio Code? Get it now.
AgentDoc Reader

AgentDoc Reader

dishant-kathiriya

|
1 install
| (0) | Free
Dedicated, local-first, secure reader for Markdown documentation and AI agentic instruction files.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AgentDoc Reader

A lightweight, local-first, security-focused extension for Visual Studio Code, Google Antigravity, and Cursor that helps developers discover, read, preview, and organize Markdown documentation and AI agent instruction files.

Dedicated Reader — Not a Host Editor Theme: Built-in themes apply only inside this extension's Webview. Your host editor theme, syntax highlighting, and settings are never modified.


Key Features

  • Automatic Workspace Discovery: Discovers README.md, CONTRIBUTING.md, docs/**/*.md, and AI agent instructions (AGENTS.md, AGENTS.override.md, CLAUDE.md, GEMINI.md, .cursorrules, .cursor/rules/**/*.mdc, GitHub Copilot instructions, .windsurfrules, .clinerules, .kiro/steering, .continue/rules).
  • 8 Built-in Extension-Scoped Themes: Graphite Dark, Paper Light, Emerald Dark, Sage Light, Midnight, Lavender Light, Warm Reading, and Pure White.
  • Rich, Read-Only Markdown Preview: GFM tables, task lists, footnotes, Prism syntax highlighting with copy buttons, relative workspace images, and lazy-loaded Mermaid diagrams.
  • Agent Instruction Inspector: Displays instruction scope (Verified vs. Inferred), YAML frontmatter metadata, @import / relative file references, nested directory hierarchies, and Zod schema validation warnings.
  • Fast Navigation & Bounded Search: Active-heading TOC scroll-spy, Ctrl/Cmd+K Quick Switcher, bounded on-demand full-text search, Ctrl/Cmd+F in-document search, Back/Forward history (Alt+[/]), Favorites, and Recently Opened.
  • Security Center: Strict nonce-based Webview CSP (connect-src 'none'), dual-layer HTML sanitization (sanitize-html + DOMPurify), workspace boundary & symlink escape protection, external link confirmation, and non-destructive secret/suspicious-instruction warnings.

Supported Editors

Editor Status Notes
Visual Studio Code (^1.85.0) Primary Target Built against baseline VS Code Extension API (esbuild + Vite)
Google Antigravity Primary Target Isolated via AntigravityAdapter; requires .vsix runtime verification
Cursor Primary Target Isolated via CursorAdapter; requires .vsix runtime verification

Installation & Quick Start

  1. Open a workspace in VS Code, Antigravity, or Cursor.
  2. Click the AgentDoc Reader book icon in the Activity Bar and select Open Documentation Reader (or run AgentDoc Reader: Open Documentation Reader from the Command Palette).
  3. Browse discovered Markdown and Agent Instruction files in the Sidebar, toggle Preview / Source, or click Settings to customize themes and typography.

See USER_GUIDE.md for a complete walkthrough.


Security & Privacy Principles

  • 100% Local-First: Zero external network requests, zero telemetry, zero file uploads.
  • Read-Only Preview: Never modifies, formats, or deletes files on disk; editing delegates to your host editor via Open Original.
  • Never Executes Code: Code blocks, shell snippets, and agent instructions are never executed.

See SECURITY.md for full details.


FAQ

Does this change my VS Code or Cursor theme?
No. All 8 themes are scoped exclusively to the extension's Webview.

Can I edit Markdown inside the viewer?
Preview and Source modes are read-only by design. Click Open Original in the top bar to edit the file in your host editor.

Why does the Security Center warn about a placeholder key or comment?
Warnings are informational only—nothing is ever modified or blocked automatically. You can toggle secret or instruction scanning in Settings → Security.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft