Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>codex-collabNew to Visual Studio Code? Get it now.
codex-collab

codex-collab

Simpliq

|
3 installs
| (0) | Free
In-file threaded chat for Markdown.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

codex-collab

File-backed, in-document threaded chat for Markdown, implemented as a VS Code extension.

The key idea is simple:

  • Humans use the Threads sidebar UI to read and author messages.
  • The “agent” (Codex) edits the Markdown file directly by reading/writing thread blocks.
  • No external services and no API calls: the UI is a view over what’s already in the file.

Threads view

Features (current)

  • Explorer sidebar Threads view for the active Markdown file
  • Create a new thread at the current paragraph
  • Expand/collapse threads (including Expand all / Collapse all)
  • Full message history rendering (chat-like layout)
  • Draft + submit flow (drafts are editable; submit creates the “human” message)
  • Pending inference (when last role is H)
  • Close / re-open thread (status=open|closed)
  • Jump-to-anchor and re-anchor
  • Filters: status (All/Open/Pending/Closed) and stage (All/Draft/Human/Agent) based on the last message role

Install

VS Code Marketplace:

  • Publisher page: https://marketplace.visualstudio.com/publishers/simpliq
  • In VS Code: Extensions → search codex-collab → Install

Quick start

  1. Open any Markdown file (.md).
  2. Open the Explorer → Threads view.
  3. Place your cursor in a paragraph and create a thread.
  4. Write messages in the thread; they’re stored directly in the file.

Use with Codex (recommended)

This extension is designed primarily for OpenAI Codex (and also works with other agentic systems that can read/write files).

To make Codex reliably read/respond to the threaded conversations, copy the agent rules into your repo:

  • Install guide: docs/install-agent-rules.md
  • Rules:
    • rules/COLLAB-RULES.md
    • rules/AGENTS_addendum.md

Important limitation: while the UI supports multiple threads, you typically still drive Codex with a single serial prompt, e.g.:

“Open my-file.md. Respond to each pending codex-collab thread (status=open, last role=H) by appending one role=A message per thread.”

Thread block format (MVP)

Threads are represented as HTML comment blocks inside Markdown.

Example (simplified):

<!-- CMT:THREAD id=ABCDE status=open ref=prev=1 -->
<!-- CMT:MSG id=ABCDE role=H ts=2026-01-18T12:00:00.000Z
Hello from the human.
-->
<!-- CMT:MSG id=ABCDE role=A ts=2026-01-18T12:01:00.000Z
Hello from the agent.
-->
<!-- /CMT:THREAD id=ABCDE -->

Notes:

  • status is human-owned and only open|closed.
  • “Pending” is inferred (last message role is H).
  • Message bodies escape <!-- and --> to keep the comment structure valid.
  • ref=prev=N anchors a thread to the prior N Markdown blocks (default prev=1 if missing). ref=file targets the whole file.

Privacy

codex-collab does not send telemetry and does not contact external services. See: PRIVACY.md

Develop / run locally

Prereqs:

  • VS Code
  • Node.js + npm

Install deps:

npm install

Build:

npm run build

Run in the Extension Development Host:

  • Open this repo in VS Code
  • Press F5 (Run → Start Debugging)
  • In the new VS Code window, open any .md file and check Explorer → Threads

SMB shares / symlink errors

If you’re working on an SMB share that doesn’t support symlinks, npm may fail when creating node_modules/.bin/*. This repo includes .npmrc with bin-links=false to avoid those symlinks.

Publishing

See: docs/publish.md

Repo layout

  • src/extension.ts: VS Code extension + webview UI
  • src/core/: parser/serializer for thread blocks
  • tests/: manual Markdown samples for exercising the UI
  • docs/: PRFAQ/PRD and ideation transcript
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft