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.
npx agentmods add skills/clickhouse/agent-skills/clickhouse-js-node-codingnpx skills add ClickHouse/agent-skills --skill clickhouse-js-node-codinggit clone --depth 1 https://github.com/ClickHouse/agent-skillsWrote 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.
[](https://agentmods.dev/skills/clickhouse/agent-skills/clickhouse-js-node-coding)<a href="https://agentmods.dev/skills/clickhouse/agent-skills/clickhouse-js-node-coding"><img src="https://agentmods.dev/badge/skills/clickhouse/agent-skills/clickhouse-js-node-coding.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00089 | $0.02165 |
| Opus 5 | $0.00044 | $0.01082 |
| Sonnet 5 | $0.00018 | $0.00433 |
| Haiku 4.5 | $0.00009 | $0.00216 |
Grade A, and why
clickhouse-js-node-coding 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ClickHouse Node.js Client — Coding
Reference: https://clickhouse.com/docs/integrations/javascript
⚠️ Node.js runtime only. This skill covers the
@clickhouse/clientpackage running in a Node.js runtime exclusively — including Next.js Node runtime API routes, React Server Components, Server Actions, and standard Node.js processes. Do not apply this skill to browser client components, Web Workers, Next.js Edge runtime, Cloudflare Workers, or any usage of@clickhouse/client-web. For browser/edge environments, the correct package is@clickhouse/client-web.
How to Use This Skill
- Match the user's intent to a row in the Task Index below and read the corresponding reference file before writing code. After reading it, scan any Answer checklist in that reference and make sure the final answer covers each relevant item; those checklists capture details users usually need but are easy to omit in short answers.
- Always import from
@clickhouse/client(never@clickhouse/client-web) and create a client withcreateClient({ url })or rely on supported defaults when appropriate. Close it withawait client.close()preferably when it's no longer needed or during graceful shutdown for global resources. - Prefer
JSONEachRowfor typical row inserts/selects unless the user has already chosen another format or is streaming raw bytes (CSV / TSV / Parquet — seeexamples/node/performance/). Note onclickhouse_settings: settings passed tocreateClientare defaults for every request; they can be overridden per-call by passingclickhouse_settingsdirectly toinsert(),query(), orcommand(). Always mention this when the user configures settings at the client level. - Always use
query_paramsfor user-supplied values — never template- literal-interpolate them into SQL. Seereference/query-parameters.md. When answering a parameter-binding question, your response must explicitly name template-literal interpolation as a "SQL injection risk" — even when the user only asked about syntax and did not raise security. The literal phrase "SQL injection" needs to appear; this is the most common mistake from PostgreSQL/MySQL users and the security framing is part of the correct answer, not an optional aside. - Pick the right method for the job:
client.insert()— write rows.client.query()+resultSet.json()/.text()/.stream()— read rows that return data.client.command()— DDL and other statements that don't return rows (CREATE,DROP,TRUNCATE,ALTER,SETin a session, etc.).client.exec()— when you need the raw response stream of an arbitrary statement (rare in coding scenarios).client.ping()— health check; returns{ success, error? }, never throws on connection failure.
- Note version constraints when relevant. Examples:
pathnameconfig option: client>= 1.0.0.BigIntvalues inquery_params: client>= 1.15.0.TupleParamand JSMapinquery_params: client>= 1.9.0.- Configurable
json.parse/json.stringify: client>= 1.14.0. Time/Time64data types: ClickHouse server>= 25.6.QBitdata type: ClickHouse server>= 25.10(GA on26.x).Dynamic/Variant/ newJSONtypes: ClickHouse server>= 24.1/24.5/24.8(no longer experimental since25.3).
What ships with it
12 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- reference/async-insert.md 4.0 KB
- reference/client-configuration.md 4.6 KB
- reference/compression.md 4.6 KB
- reference/custom-json.md 6.6 KB
- reference/data-types.md 11 KB
- reference/insert-columns.md 3.1 KB
- reference/insert-formats.md 6.1 KB
- reference/insert-values.md 6.4 KB
- reference/ping.md 5.1 KB
- reference/query-parameters.md 5.4 KB
- reference/select-formats.md 7.2 KB
- reference/sessions.md 6.9 KB
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.
- 4d ago First seen · 142 lines · 89 tokens per session scan A 6dd189aaf023
clickhouse-js-node-coding is a skill published in the GitHub repository ClickHouse/agent-skills (523 stars, last pushed 28d ago), licensed Apache-2.0. It adds 89 tokens to every session and 2,165 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
use-gfs-mcp
GFS MCP Server for AI agent integration. Provides Model Context Protocol tools for database version control with automatic schema versioning.
use-gfs-cli
Git-like version control for databases using the GFS CLI. Manage database states with commits, branches, time travel, and schema versioning.
bigquery-graph
Skill for Graph Query Language (GQL) or SQL/PGQ queries against a property graph. Includes path finding, multi-hop traversal, topological connection, shortest path, node reachability, edge connectivity, and semantic graph queries.
dbx
DBX CLI for database schema exploration and read-only queries. When the user needs to list connections, explore tables, describe schemas, run queries, or generate AI-friendly schema context from DBX-managed databases. Do NOT use for write operations unless the user explicitly confirms with --allow-writes.
migration-review
Review database migration files when a change adds or modifies paths under migrations/. Use it before merge to collect forward, rollback, locking, and data-safety evidence.
azure-resource-manager-postgresql-dotnet
Azure PostgreSQL Flexible Server SDK for .NET. Database management for PostgreSQL Flexible Server deployments. Use for creating servers, databases, firewall rules, configurations, backups, and high availability. Triggers: "PostgreSQL", "PostgreSqlFlexibleServer", "PostgreSQL Flexible Server", "Azure Database for…