coda

Export Coda document pages to local Markdown files. Use when a user wants to export, download, or extract content from Coda docs, list pages in a Coda document, or convert Coda page trees into Markdown. Triggers on tasks involving Coda API, Coda docs, or Coda page export.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "coda" with this command: npx skills add ash-ishh/skills/ash-ishh-skills-coda

Coda Export

Export Coda pages and their descendants into local Markdown files using scripts/coda_export.py.

Prerequisites

  • Python 3.9+
  • A Coda API token and doc ID

Getting Coda API Credentials

API Token

  1. Go to Coda Account Settings
  2. Scroll to API Settings
  3. Click Generate API token
  4. Give it a name and copy the token

Doc ID

The doc ID is in the URL of your Coda document:

https://coda.io/d/Your-Doc-Name_d<DOC_ID>

For example, in https://coda.io/d/My-Notes_dAbCdEfGhI, the doc ID is AbCdEfGhI.

Setting Environment Variables

export CODA_DOC_ID="your-doc-id"
export CODA_API_TOKEN="your-api-token"

If your project uses different env var names (e.g. CODA_CONTRACT_DOC_ID), use the --doc-id-env / --token-env flags instead of renaming your vars:

python scripts/coda_export.py --doc-id-env CODA_CONTRACT_DOC_ID --token-env CODA_TOKEN_CONTRACT_PAGE export-doc

Or pass credentials directly:

python scripts/coda_export.py --doc-id <DOC_ID> --token <TOKEN> export-doc

Quick Start

# 1. Check your credentials work
python scripts/coda_export.py validate-auth

# 2. Export the entire doc
python scripts/coda_export.py export-doc

# 3. With custom env var names
python scripts/coda_export.py --doc-id-env MY_DOC_ID --token-env MY_TOKEN export-doc

Commands

validate-auth

Check if your token and doc ID are valid before exporting.

python scripts/coda_export.py validate-auth

Prints token status (valid/invalid) and doc accessibility (accessible/forbidden/not found). Exits 0 on success, 1 on failure.

list-pages

python scripts/coda_export.py list-pages

Filter by name:

python scripts/coda_export.py list-pages --contains <search-term>

export-doc

Export all pages in a document in one run.

python scripts/coda_export.py export-doc

With custom output directory:

python scripts/coda_export.py export-doc --out-dir <DIR>

export-subtree

Export a single page and its descendants.

python scripts/coda_export.py export-subtree --root-page-id <PAGE_ID>

With custom output directory:

python scripts/coda_export.py export-subtree --root-page-id <PAGE_ID> --out-dir <DIR>

Overwrite behavior

By default, existing files are skipped with a notice. A summary at the end shows how many were skipped.

To overwrite existing files:

python scripts/coda_export.py export-doc --overwrite
python scripts/coda_export.py export-subtree --root-page-id <PAGE_ID> --overwrite

Output

  • One .md file per page
  • Nested directories mirror the Coda page hierarchy
  • Filenames include page IDs to avoid collisions
  • Final summary: pages discovered, files written, files skipped

Notes

  • The script retries transient API/network failures automatically (configurable via --retries, default 6).
  • HTTP timeout is configurable via --timeout (default 90s).
  • Keep tokens out of git commits.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

OpenClaw Skill Growth

Make OpenClaw Skills observable, diagnosable, and safely improvable over time. Use this when the user wants to maintain many SKILL.md files, inspect repeated...

Registry SourceRecently Updated
171Profile unavailable
General

Find Skills for ClawHub

Search for and discover OpenClaw skills from ClawHub (the official skill registry). Activate when user asks about finding skills, installing skills, or wants...

Registry SourceRecently Updated
2871Profile unavailable
General

Skill Listing Polisher

Improve a skill's public listing before publish. Use when tightening title, description, tags, changelog, and scan-friendly packaging so the listing looks cl...

Registry SourceRecently Updated
1130Profile unavailable
General

Skill Priority Setup

Scans installed skills, suggests L0-L3 priority tiers, and auto-configures skill injection policy. Use when: setting up skill priorities, optimizing token bu...

Registry SourceRecently Updated
2510Profile unavailable