api-canvas

api-canvas is a skill for Claude Code, Codex from cyanheads/mcp-ts-core. It costs 85 tokens per session (10,564 once invoked), scanned A, a copy of api-canvas, Apache-2.0.

A DuckDB-backed workspace for registering tabular data from APIs, querying it with SQL, and exporting results.

In plain words
What is it for?
Use it when an application or agent needs ad-hoc SQL over registered tables and exports in CSV, Parquet, or JSON; it is optional and disabled by default.
Why use it?
It adds an analytical surface for grouping, joining, filtering, and aggregating data instead of storing it only as key-value blobs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when an application or agent needs ad-hoc SQL over registered tables and exports in CSV, Parquet, or JSON; it is optional and disabled by default.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cyanheads/mcp-ts-core/api-canvas
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add cyanheads/mcp-ts-core --skill api-canvas
Clone the repo
git clone --depth 1 https://github.com/cyanheads/mcp-ts-core

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for api-canvas

README.md
[![agentmods](https://agentmods.dev/badge/skills/cyanheads/mcp-ts-core/api-canvas/github.svg)](https://agentmods.dev/skills/cyanheads/mcp-ts-core/api-canvas)
Your own site
<a href="https://agentmods.dev/skills/cyanheads/mcp-ts-core/api-canvas"><img src="https://agentmods.dev/badge/skills/cyanheads/mcp-ts-core/api-canvas/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for api-canvas

Your own site · 80×15
<a href="https://agentmods.dev/skills/cyanheads/mcp-ts-core/api-canvas"><img src="https://agentmods.dev/badge/skills/cyanheads/mcp-ts-core/api-canvas.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,564 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00085 $0.10564
Opus 5.5 $0.00034 $0.04226
Sonnet 5.5 $0.00017 $0.02113
Haiku 4.5 $0.00009 $0.01056

Measured 3d ago against content hash 9215b0c142a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

api-canvas scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to api-canvas — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

framework-skills/api-canvas/SKILL.md · 594 lines

How it starts

The opening of the file, as written. The whole thing — 594 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Overview

DataCanvas is a primitive for storage stashes, canvas computes. The existing IStorageProvider is a key/value abstraction — it can stash blobs but exposes no analytical surface. DataCanvas is the analytical surface: register tabular data from upstream APIs, run SQL across multiple registered tables, and export results as CSV/Parquet/JSON.

Tier 3 — @duckdb/node-api is an optional peer dependency (bun add @duckdb/node-api; 1.5.5-r.1 and later 1.5.x, or 2.0.0-r.1 and later 2.x). Servers that don't enable canvas pay zero install cost. Lazy-loaded on first use.

Disabled by default. Set CANVAS_PROVIDER_TYPE=duckdb to enable. Otherwise core.canvas is undefined.

Cloudflare Workers: unsupported. DuckDB has no V8-isolate build. Setting CANVAS_PROVIDER_TYPE=duckdb on a Worker fails closed with a ConfigurationError at init time.


When canvas earns its keep

Two gates before wiring canvas in — both must be yes. Canvas that fails either is a SQL surface nobody queries.

  1. Is the data analytical, not just large? Canvas is for tabular/numeric result sets an agent runs SQL over — aggregate, group, join, time-series filter. A discovery/search surface returning categorical metadata (titles, IDs, types, dates) where the workflow is find the record, then drill into it does not qualify, regardless of row count. A 5,000-row search result is still discovery. The gate is shape, not size: the right question is "would an agent write SELECT … GROUP BY against this?", not "does it have many rows?" For name→ID resolution over a bounded list, reach for MCP-side list filtering (see the design-mcp-server skill) instead.
  2. Is it too big to inline? A result that fits the response (≤ ~100 rows of compact data) just gets inlined — no canvas. Canvas is the third option only when shape and size both call for it.

If canvas earns its keep, it carries an obligation: a tool that emits a canvas_id MUST ship a dataframe_query tool in the same server's surface (see the simple-shape Tools row and the Checklist). A canvas_id with no query tool is dead output — the agent literally cannot reach the staged data.

Read the full file on GitHub · 594 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · +2 lines 9215b0c142a6
  2. 4d ago Changed · -1 lines 6a67c203937a
  3. 16d ago Changed · +7 lines ccd12b0799e3
  4. 23d ago Changed 21b3b7bd133a
  5. 1mo ago Changed · +9 lines 9332c0d732ef
  6. 1mo ago Changed 0dec9d08f5cb
  7. 1mo ago Changed · +21 lines b7ea375ffd05
  8. 2mo ago First seen · 556 lines · 85 tokens per session scan A a15da8c76763

Subscribe to this mod's changes

api-canvas is a skill published in the GitHub repository cyanheads/mcp-ts-core (152 stars, last pushed 3d ago), licensed Apache-2.0. It adds 85 tokens to every session and 10,564 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to api-canvas, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

openclaw-database-toolkit

Database operations MCP server with 5 tools for D1, PostgreSQL, and MongoDB. Use when: (1) 'query my D1 database' or 'run this SQL', (2) 'insert these records' or 'add rows to table', (3) 'update records where X' or 'bulk update', (4) 'show me the table schema' or 'what columns exist', (5) 'migrate this schema' or…

yedanyagamiai-cmd/openclaw-mcp-servers · 128 tokens

ssh-manager

How to use the MCP SSH Manager core tools (sshlistservers, sshexecute, sshupload, sshdownload, sshsync) without breaking a server: server names, the remote shell, time limits and long commands, file transfer pitfalls, security modes, host keys. Use it whenever a task runs a command or moves a file on a remote machine…

bvisible/mcp-ssh-manager · 79 tokens

servicenow-cmdb

Auditing the CMDB as a data model: CI class hierarchy, raw relationships, CMDB health scorecards, data quality (duplicates, orphans, staleness, missing fields) and CSDM 5 conformance. Use when the user mentions CMDB health, CMDB audit, data quality, duplicates, orphaned or stale CIs, CI classes, relationships in…

jschuller/mcp-server-servicenow · 110 tokens

exploring-tables

Exploring any ServiceNow table: schema, field types, sample records, relationships, data patterns, a record's history (work notes, comments, field changes), and what touches a table or field (business rules, client scripts, UI policies, ACLs, script includes). Use when the user mentions tables, schemas, fields, data…

jschuller/mcp-server-servicenow · 134 tokens

build-sql-transformation

Create or change a Snowflake or BigQuery SQL transformation in Keboola. Use when the user wants to turn a query into a saved transformation, build a new table from existing Keboola tables, or edit the SQL of an existing transformation.

keboola/mcp-server · 54 tokens

explore-project-data

Explore a Keboola project's data. Use when the user asks what data they have in Keboola, which buckets or tables exist, what a table contains, or wants a read-only SQL answer from their Keboola tables.

keboola/mcp-server · 49 tokens