mainframe-clickhouse

mainframe-clickhouse is a skill for Claude Code, Codex from CATWILLgh/MAINFRAME. It costs 28 tokens per session (721 once invoked), scanned A, original, MIT.

A method for working with ClickHouse, a database designed for analytical queries over large datasets.

In plain words
What is it for?
Use it to plan or run ClickHouse queries, integrate applications, investigate query cost and ingestion, change schemas, delete data, or recover data.
Why use it?
It helps establish the correct environment, identity, scope, and recovery boundary before querying, changing schemas, deleting data, or troubleshooting.

Skill for Claude CodeCodex

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

Good fit Use it to plan or run ClickHouse queries, integrate applications, investigate query cost and ingestion, change schemas, delete data, or recover data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/catwillgh/mainframe/mainframe-clickhouse
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 CATWILLgh/MAINFRAME --skill mainframe-clickhouse
Clone the repo
git clone --depth 1 https://github.com/CATWILLgh/MAINFRAME

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/catwillgh/mainframe/mainframe-clickhouse/github.svg)](https://agentmods.dev/skills/catwillgh/mainframe/mainframe-clickhouse)
Your own site
<a href="https://agentmods.dev/skills/catwillgh/mainframe/mainframe-clickhouse"><img src="https://agentmods.dev/badge/skills/catwillgh/mainframe/mainframe-clickhouse/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 mainframe-clickhouse

Your own site · 80×15
<a href="https://agentmods.dev/skills/catwillgh/mainframe/mainframe-clickhouse"><img src="https://agentmods.dev/badge/skills/catwillgh/mainframe/mainframe-clickhouse.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 721 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 original No closer match found 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.00028 $0.00721
Opus 5.5 $0.00011 $0.00288
Sonnet 5.5 $0.00006 $0.00144
Haiku 4.5 $0.00003 $0.00072

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

Security

Grade A, and why

mainframe-clickhouse 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 13d 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.

skills/mainframe-clickhouse/SKILL.md · 60 lines

How it starts

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

Use ClickHouse within a verified boundary

Before connecting, resolve the endpoint, routing or tunnel, intended environment, database/table, credential identity, and requested operation from applicable project configuration and caller authority. A credential permits authentication; it does not authorize an operation. Use mainframe-infrastructure for broader deployment coordination and mainframe-secrets for credential delivery when available. Do not print credentials or dump connection configuration.

Establish the boundary before executing SQL:

Target Operating boundary
Production Scoped authorized reads with resource bounds; changes require authority for the exact operation and an adequate recovery boundary.
Shared staging/test Preserve other users, persistent data, and shared capacity. Test naming does not authorize resets.
Verified disposable fixture Create, change, or remove only the resources covered by explicit disposal authority; use representative tests without unnecessary production ceremony.
Unknown or conflicting identity Do not write, reset, or run an expensive query. Resolve identity through configuration and the smallest permitted metadata read; continue offline work.

Loopback addresses, local clients, containers, SSH tunnels, a database named test, and a read-only account do not prove a disposable server. Verify the actual destination and storage ownership. A separate test schema on a production cluster still shares production resources. Reuse established authority; do not ask again merely because the operation is sensitive. Do not invent ClickHouse disposal permission from a policy covering another database.

Read only the relevant method

Current decision Read
Target ambiguity, environment classification, or permission boundary Target and authority
SQL analysis, index/pruning benefit, diagnostics, query correctness, or resource limits Safe queries
Ingestion, retries, schema/index rollout, updates, deletes, or cluster-wide changes Writes and schema
Capacity, maintenance, incident cancellation, backup, or restore Operations and recovery
Version-sensitive syntax, settings, engine behavior, or missing details Official source map, then applicable current documentation

Read the full file on GitHub · 60 lines

Files

What ships with it

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

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. 13d ago Changed · -11 tokens per session 903065d4ce2c
  2. 1mo ago First seen · 60 lines · 39 tokens per session scan A efec57fed122

Subscribe to this mod's changes

mainframe-clickhouse is a skill published in the GitHub repository CATWILLgh/MAINFRAME (2 stars, last pushed 13d ago), licensed MIT. It adds 28 tokens to every session and 721 once invoked, about $0.0001 per session on Opus 5.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-10-07.

Related

mainframe-clickhouse compared with skills from other repositories

mainframe-clickhouse next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mainframe-clickhouseCATWILLgh/MAINFRAMESkill213d agoMITA28Claude Code, Codex
picko-es-tag-distributiondeepcoldy/botmuxSkill2.2ktodayMITA109Claude Code, Codex
aoe-invariantsagent-of-empires/agent-of-empiresSkill5.2ktodayMITA92Claude Code, Codex
caching-patternsvibeeval/vibecosystemSkill55418d agoMITA28Claude Code, Codex
cmux-backendmanaflow-ai/cmuxSkill29ktodaynoneA53Codex
live-canvashamr0/liteagentsSkill283d agoApache-2.0A50Claude Code
docs-builderhamr0/liteagentsSkill283d agoApache-2.0A23Claude Code