Claude Code

Publish Markdown from Claude Code

Claude writes great Markdown. Sharing it shouldn't be the hard part. Point Claude Code at the OpenDocs CLI and every plan, audit, or spec ends with a real URL.

Claude Code is excellent at producing Markdown. PRDs, postmortems, migration plans, code reviews. It writes the doc, you read it in your terminal, and then it just sits there as a file in your repo.

With OpenDocs in the loop, Claude can finish the job. Tell it to publish the doc when it's done; it runs the CLI and hands you back a URL you can drop into Slack or send to your team.

How to set it up

Install the CLI once. After that, anything Claude Code runs in the terminal can publish.

# Install once
npm install -g @opendocs.cc/cli

# Authenticate (one-time, opens browser)
opendocs login --browser

# Publish, get a shareable URL back
opendocs publish report.md --json

Then add a line to your CLAUDE.md: something like "After completing any plan or audit, publish it with opendocs publish <file> --json and return the URL." Claude will start handing you links instead of files.

What Claude Code can publish

Want a fuller writeup of the integration? See the Claude Code integration page.

Let Claude do the publishing too.

Free plan publishes up to 10 docs. Sign up, install the CLI, point Claude at it.

Sign up free
Publish Markdown from Claude Code · OpenDocs