openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > coda.io

CLI to read Coda.io documents and pages. List docs, list pages, read content in markdown/json/html.

媒体与内容

作者:Anik Datta @auniik

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v0.2.3

统计:⭐ 0 · 1k · 4 current installs · 5 all-time installs

0

安装量(当前) 5

🛡 VirusTotal :良性 · OpenClaw :良性

Package:auniik/coda-ai

安全扫描(ClawHub)

  • VirusTotal :良性
  • OpenClaw :良性

OpenClaw 评估

The skill's requirements, install method, and runtime instructions match its stated purpose (a CLI to read Coda documents); nothing requested appears unrelated or excessive.

目的

Name/description, required binary (coda-ai), required env var (CODA_API_TOKEN), and install instruction (npm package coda-ai) are coherent for a Coda.io-reading CLI. No unrelated services or credentials are requested.

说明范围

SKILL.md stays within scope (list docs/pages, read content). It instructs the user to place CODA_API_TOKEN in a .env file and run coda-ai auth --from-file .env. The CLI stores credentials at ~/.coda-ai/config.json (0600). Storing a token on disk is expected but worth noting from a security perspective.

安装机制

Install uses an npm package (coda-ai) which is appropriate for providing a Node-based CLI. npm packages carry the usual supply-chain risk (moderate) but the mechanism itself is expected for this functionality.

证书

Only one credential is required (CODA_API_TOKEN) and it is the primary credential necessary to access Coda. There are no extra unrelated environment variables or credentials requested.

持久

Skill does not request always:true and is user-invocable only. The only persistence is the CLI storing the token under the user's home (~/.coda-ai/config.json), which is reasonable for a CLI that manages auth.

综合结论

This skill appears coherent with its stated purpose, but review these practical precautions before installing: 1) Verify the npm package and upstream repo (https://github.com/auniik/coda-ai and the npm page) to ensure you trust the publisher and version. 2) Prefer a least-privilege Coda API token; avoid using broad or account-level tokens. 3) The instructions create a .env file and the CLI stores the token at ~/.coda-ai/config.json (0600). Do …

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「coda.io」。简介:CLI to read Coda.io documents and pages. List docs, list pages, read content in…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/auniik/coda-ai/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
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

1. **docs** → list all documents
2. **pages** → list pages in a doc
3. **read** → get page content

## Setup (once)

```bash
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 auth
```

## Credentials & Storage
- Stored at: `~/.coda-ai/config.json` (written with **0600** permissions)
- Remove stored credentials:

```bash
coda-ai logout
```

## Commands

### List Documents

```bash
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 table
```

Returns: All docs sorted by most recent update. Use `id` field for next step.

### List Pages

```bash
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

```bash
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 export
```


## Reference

Full docs: https://github.com/auniik/coda-ai#readme