Publish Markdown from AI coding agents
Your agent writes Markdown all day. PRDs, code reviews, audits, migration plans. OpenDocs is the missing publishing step that turns each one into a URL anyone can read.
The problem
Modern coding agents are great at producing structured prose. Ask Claude Code for a refactor plan and you get back a beautifully-organised Markdown file. Ask Cursor for a security audit and the output is a clean checklist.
Then the file just sits there. To share it you either commit it to the repo (audience needs git access), paste it into a wiki (lose the formatting), or export to PDF (now you have an attachment instead of a link).
The agent did the work. It should also do the delivery.
The agent demo
Tell the agent to publish when it's done. The conversation ends up looking like:
# User: "Plan the auth migration. Publish the doc when done."
# Agent (after writing plan.md):
$ opendocs publish plan.md --json
{
"url": "https://opendocs.cc/acme/auth-migration-plan",
"slug": "auth-migration-plan"
}
# Agent's final response to the user:
# "Plan published: https://opendocs.cc/acme/auth-migration-plan"The user gets a URL, not a filename. Click, read, done. No more "where did the agent save that file again?"
What agents publish
PRDs. Let the agent draft the product requirement, publish to a workspace link product can comment on.
Code reviews. Agents are good at first-pass review. Publish the writeup so the author can read it without opening their IDE.
Specs and ADRs. Keep them in the repo for version control, publish them to a URL the rest of the org can read.
Audits. Security review, dependency audit, performance baseline. The agent runs the audit and the URL goes to the security channel.
Migration plans. The agent surveys the codebase, drafts the plan, publishes it. Reviewers comment via the URL instead of cloning the branch.
Setup is one install
# 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 --jsonWant to teach the agent the workflow? Point it at our SKILL.md. It's a Markdown file that documents the OpenDocs CLI in a shape agents can read.
Per-agent guides
Claude Code
Add a publish step to your CLAUDE.md.
Cursor
Add an OpenDocs rule in .cursor/rules.
Codex
Shell-callable; works with any Codex task.
OpenClaw
Add the OpenDocs SKILL.md as a workspace skill.
Hermes Agent
Docs and runbooks published as part of the agent loop.
Aider
Aider writes a lot of Markdown. Publish at the end of each session.
Make publishing the agent's last step.
Free plan publishes up to 10 docs. No credit card.
Sign up free