- name
- coda-ai
- description
- CLI to read Coda.io documents and pages. List docs, list pages, read content in markdown/json/html.
- homepage
- https://www.npmjs.com/package/coda-ai
- metadata
- {"openclaw":{"requires":{"bins":["coda-ai"],"env":["CODA_API_TOKEN"]},"primaryEnv":"CODA_API_TOKEN","install":[{"id":"node","kind":"node","package":"coda-ai","bins":["coda-ai"],"label":"Install coda-ai (npm)"}]}}
coda-ai
CLI to read Coda.io content for AI agents.
Workflow
- docs → list all documents
- pages → list pages in a doc
- read → get page content
Setup (once)
npm install -g coda-ai@0.2.2
# Auth (Coda API token)
echo "CODA_API_TOKEN=YOUR_TOKEN" > .env
coda-ai auth --from-file .env
coda-ai whoami # verify authCredentials & Storage
- Stored at:
~/.coda-ai/config.json(written with 0600 permissions) - Remove stored credentials:
coda-ai logoutCommands
List Documents
coda-ai docs --compact # only id + name in toon format (recommended for AI Agents)
coda-ai docs # full data in toon format
coda-ai docs --format json # full data in json
coda-ai docs --format table # human-readable tableReturns: All docs sorted by most recent update. Use id field for next step.
List Pages
coda-ai pages --docId <docId> --compact # only id + name, toon format (recommended for AI Agents)
coda-ai pages --docId <docId> --format json # full data in json
coda-ai pages --docId <docId> --format tree # visual tree
coda-ai pages --docId <docId> # full data in toon format (default)Returns: Page hierarchy. Use pageId for next step.
Read Content
coda-ai read --docId <docId> --pageId <pageId> # markdown (default, recommended for AI Agents)
coda-ai read --docId <docId> --pageId <pageId> --format json # structured data in json
coda-ai read --docId <docId> --pageId <pageId> --format html # html exportReference
Full docs: https://github.com/auniik/coda-ai#readme