# OpenDocs documentation > OpenDocs publishes Markdown to shareable links (private to a workspace by default) and exports PDF or DOCX. Built for AI agents. Start here as an agent: - Install the skill: `npx skills add opendocs-cc/skills --skill opendocs -g -y`, or without Node.js `curl -fsSL https://opendocs.cc/install.sh | bash` (if npx ends with "PromptScript does not support global skill installation", that's a known installer bug; the skill is still installed) - Then sign the user up (free, 50 documents): `opendocs login --email ` emails a 6-digit code, `--code ` finishes. Prefer this to 24-hour `--anonymous` links. - Agent quickstart (Markdown): https://docs.opendocs.cc/getting-started/agent-quickstart.md - Compact agent guide: `curl https://opendocs.cc/docs` - Skill: https://opendocs.cc/skill.md - OpenAPI: https://opendocs.cc/openapi.json - Everything below in one file: https://docs.opendocs.cc/llms-full.txt Every page is also available as Markdown by adding `.md` to its URL. ## Start here - [OpenDocs documentation](https://docs.opendocs.cc/index.md): Your agent writes the Markdown. OpenDocs files it in the right project, shares it as a link and exports branded PDF and Word files. - [Quickstart](https://docs.opendocs.cc/getting-started/quickstart.md): Paste one prompt into your agent, enter the code from your email, and publish your first document. About two minutes. - [What to ask your agent](https://docs.opendocs.cc/getting-started/what-to-ask.md): Prompts for everything OpenDocs does, from publishing and PDF exports to sharing, versions, branding, Google Drive and e-signatures. - [How OpenDocs works](https://docs.opendocs.cc/getting-started/how-opendocs-works.md): The model behind OpenDocs. Your agent publishes Markdown into workspaces and projects, every update is a version, and exports come from the same source. - [Plans and limits](https://docs.opendocs.cc/getting-started/plans-and-limits.md): What Free, Pro and Team include, the 50-document cap on Free, how Team seats are counted, and the rate limits on every plan. ## Your agent - [Set up your agent](https://docs.opendocs.cc/integrations/overview.md): Connect Claude Code, Codex, Cursor or any agent that can run a command to OpenDocs with one prompt, and choose between the skill, the CLI, the bash client, the MCP server and the API. - [Claude, ChatGPT and other apps (MCP)](https://docs.opendocs.cc/integrations/mcp.md): Connect OpenDocs to Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other AI apps with the OpenDocs MCP server. Sign in with your OpenDocs account, choose what the app may do, then ask in plain words. - [Claude Code](https://docs.opendocs.cc/integrations/claude-code.md): Set up OpenDocs in Claude Code with one prompt, then ask it to publish, export and share the Markdown it writes. - [Codex](https://docs.opendocs.cc/integrations/codex.md): Set up OpenDocs in Codex with one prompt, then ask it to publish, export and share the docs it writes across your project. - [Cursor](https://docs.opendocs.cc/integrations/cursor.md): Set up OpenDocs in Cursor with one prompt, then ask its agent to write docs from your code and publish, export and share them. - [GitHub Copilot](https://docs.opendocs.cc/integrations/copilot.md): Set up OpenDocs in GitHub Copilot's agent mode with one prompt, then ask it to publish, export and share release notes, runbooks and specs. - [Cline](https://docs.opendocs.cc/integrations/cline.md): Set up OpenDocs in Cline with one prompt, then ask it to write, publish, export and share docs as part of its tasks. - [Aider](https://docs.opendocs.cc/integrations/aider.md): Set up OpenDocs in Aider with one prompt, then ask it to publish changelogs, design notes and session summaries from your repo. - [OpenClaw](https://docs.opendocs.cc/integrations/openclaw.md): Set up OpenDocs in OpenClaw with one prompt from any chat, then ask it to publish, export, share and file your documents. - [Hermes Agent](https://docs.opendocs.cc/integrations/hermes-agent.md): Set up OpenDocs in Hermes Agent with one prompt, then ask it to publish and update recurring reports and send you the links wherever you talk to it. - [The OpenDocs skill](https://docs.opendocs.cc/getting-started/skill-md.md): What the OpenDocs skill (SKILL.md) teaches your agent, the four ways to install it, where it lives and where to read it. - [Agent quickstart](https://docs.opendocs.cc/getting-started/agent-quickstart.md): For AI agents that just set up OpenDocs. Check the sign-in, learn the defaults, publish the first document and report back the way the user expects. - [Agent cookbook](https://docs.opendocs.cc/agents/cookbook.md): Step-by-step OpenDocs recipes for agents and agent builders, covering sign-up, publish and export, folder sync, projects, versions, sharing, teams, branding, Google Drive, signatures, errors and rate limits. ## Documents - [Publish a document](https://docs.opendocs.cc/publishing/publish.md): Ask your agent to publish a Markdown file or a whole folder. You get a link that stays the same through every update, and a PDF or Word file next to the source if you ask for one. - [Projects](https://docs.opendocs.cc/publishing/projects.md): Group related documents inside a workspace, one project per client, product or initiative. Your agent files each document in the right project, and the URL shows where it lives. - [Updates and versions](https://docs.opendocs.cc/publishing/update-and-version-history.md): Update a published document without changing its link. Every update is a new version that records who published it and through which agent, and any version can be restored. - [Sync a folder](https://docs.opendocs.cc/publishing/sync-and-history.md): Keep a folder of Markdown in step with OpenDocs. Re-publish without duplicates, download a workspace or project to edit locally, see what changed, and handle edits that clash with a teammate's. - [Find, download and remove documents](https://docs.opendocs.cc/publishing/list-get-pull-unpublish.md): Ask your agent what's published, get a document's Markdown or a PDF back, change who can see it, take it offline, or delete it for good. - [PDF, Word and branding](https://docs.opendocs.cc/publishing/branded-exports.md): Get a typeset PDF or Word file of any document, and set the brand color, font, logo and footer that every export in your workspace uses. - [Markdown that renders](https://docs.opendocs.cc/publishing/rendering-and-metadata.md): What OpenDocs renders on the page and in PDF and Word exports, from tables, alerts, math and code to images, footnotes and signature blocks, and how titles, summaries and tags are taken from the file. ## Sharing and teams - [Who can see a document](https://docs.opendocs.cc/visibility/overview.md): Every document is private, workspace or public. What each level means, why workspace is the default, how to change it, and how sharing with specific people fits in. - [Share with people](https://docs.opendocs.cc/visibility/sharing-and-anonymous-links.md): Share one document with specific email addresses or a whole company domain without adding anyone to your workspace, or publish a 24-hour link without an account. - [Public documents](https://docs.opendocs.cc/visibility/public-sharing.md): Make a document readable by anyone with the link, with no account needed. It takes your explicit confirmation and the workspace owner's Allow public posts setting. - [Custom domains](https://docs.opendocs.cc/publishing/custom-domains.md): Serve a workspace's documents on your own domain, such as notes.example.com, on Pro and Team. The DNS records to add, what readers see, private documents and sign-in, and troubleshooting. - [Workspaces and teams](https://docs.opendocs.cc/visibility/workspaces-and-team-access.md): A workspace is your team's shared space for documents. Invite people, give them roles, let colleagues join by email domain, and see who can edit or manage each document. ## Integrations - [Google Drive](https://docs.opendocs.cc/integrations/google-drive.md): Ask your agent to save any OpenDocs document into a named Google Drive folder as a PDF, Word file or Markdown, including shared drives. Pro and Team. - [E-signatures with DocuSeal](https://docs.opendocs.cc/integrations/docuseal.md): Ask your agent to send an OpenDocs document for e-signature through your DocuSeal account. It drafts first and sends nothing until you confirm; the signed PDF and audit log come back to OpenDocs and can be filed in Google Drive. Pro and Team. ## Reference - [CLI reference](https://docs.opendocs.cc/cli/reference.md): Every command, subcommand and flag in the OpenDocs CLI 0.4.7, with defaults, JSON output, environment variables, files and exit codes. - [MCP tools reference](https://docs.opendocs.cc/reference/mcp-tools.md): Every tool the OpenDocs MCP server offers to Claude, ChatGPT and other AI apps. - [Use the CLI yourself](https://docs.opendocs.cc/getting-started/cli-quickstart.md): Install the OpenDocs CLI, sign in from your terminal, and publish and export Markdown without an agent. - [Error codes](https://docs.opendocs.cc/errors.md): Every OpenDocs API error code and the common CLI ones, what each means and how to fix it. - [Troubleshooting](https://docs.opendocs.cc/getting-started/troubleshooting.md): Fixes for the problems people run into most, from setup and sign-in to missing links, export errors and limits. - [Authentication](https://docs.opendocs.cc/api-reference/authentication.md): Base URL, API keys, session auth, the emailed-code sign-in flow, OAuth for the MCP server and the X-OpenDocs-Client header for the OpenDocs REST API. - [Agent endpoints](https://docs.opendocs.cc/api-reference/agent-endpoints.md): Anonymous documents, version history and restore, conflicts, moves, sharing, workspace creation, joining workspaces and the export theme API. - [API keys](https://docs.opendocs.cc/api-reference/api-keys.md): List, create and revoke OpenDocs API keys from a signed-in session. - [GET /api/v1/me](https://docs.opendocs.cc/api-reference/me.md): Return the current user, onboarding state and document quota. The standard check that a key works. - [Onboarding and profile](https://docs.opendocs.cc/api-reference/onboarding-and-profile.md): Finish dashboard onboarding, read and update your profile and username, upload an avatar, and presign image uploads. - [Publish endpoints](https://docs.opendocs.cc/api-reference/publish.md): Publish one Markdown document, or a batch of up to 25, and get stable URLs back. - [Posts endpoints](https://docs.opendocs.cc/api-reference/posts.md): List documents, read one document's metadata or raw Markdown, and read public documents without a key. - [Post mutation endpoints](https://docs.opendocs.cc/api-reference/post-mutations.md): Update, unpublish, change visibility, patch tags and delete existing documents, and who may do each. - [Projects endpoints](https://docs.opendocs.cc/api-reference/projects.md): List, resolve, create, rename and delete projects inside a workspace. - [Export endpoints](https://docs.opendocs.cc/api-reference/exports.md): Render documents to PDF or Word one at a time or as a batch zip, plus the public download and free converter routes. - [Integrations API](https://docs.opendocs.cc/api-reference/integrations.md): Save documents to Google Drive and prepare, send, track and file DocuSeal signature requests through the OpenDocs API. - [Workspaces API](https://docs.opendocs.cc/api-reference/workspaces.md): List, create and delete workspaces, and change a workspace's name, slug, branding, settings and custom domain. - [Team and invitations API](https://docs.opendocs.cc/api-reference/team-and-invitations.md): List members, invite people, change roles, remove members and accept invitations. - [Usernames and workspace slugs](https://docs.opendocs.cc/api-reference/usernames.md): How usernames and workspace slugs differ, and the endpoints that check each one. - [Account API](https://docs.opendocs.cc/api-reference/account.md): Check whether an account can be deleted, and delete it. - [OpenAPI spec](https://docs.opendocs.cc/api-reference/openapi.md): The machine-readable OpenDocs API description for agents, client generators and tool builders, and what it covers. - [Errors and pagination](https://docs.opendocs.cc/api-reference/errors-and-pagination.md): The OpenDocs API error shape, status codes by area, every rate limit, and pagination.