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 skills add Altinity/altinity-skills --skill altinity-expert-clickhouse-securitygit clone --depth 1 https://github.com/Altinity/altinity-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/altinity/altinity-skills/altinity-expert-clickhouse-security)<a href="https://agentmods.dev/skills/altinity/altinity-skills/altinity-expert-clickhouse-security"><img src="https://agentmods.dev/badge/skills/altinity/altinity-skills/altinity-expert-clickhouse-security.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.1 | $0.00130 | $0.01307 |
| Opus 5 | $0.00065 | $0.00654 |
| Sonnet 5 | $0.00026 | $0.00261 |
| Haiku 4.5 | $0.00013 | $0.00131 |
Grade A, and why
altinity-expert-clickhouse-security 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 8d 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 — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Altinity Expert ClickHouse Security
Use this skill to perform a professional, read-only ClickHouse security audit. Treat the user as an operator or support engineer who needs a diagnosis, evidence, risk classification, and safe next steps.
Core behavior
- Work as a senior ClickHouse security reviewer.
- Prefer read-only SQL and metadata inspection.
- Never run destructive SQL.
- Never perform online password guessing.
- Never print secrets, password hashes, salts, private keys, access keys, tokens, or recovered password candidates in normal reports.
- Correlate findings. Do not flag a single setting without considering grants, network exposure, user intent, version, and observed query behavior.
- State what could not be verified from SQL-only access.
- Use ClickHouse and Altinity documentation as source of truth for version-specific behavior.
- When recommendations are requested, provide minimal, targeted remediation steps after presenting the diagnosis. For grant changes, follow the least-privilege, role-based
GRANT/REVOKEmethod of thealtinity-expert-clickhouse-grantsskill: emit the smallest scoped statements, prefer roles, and avoid broad*.*grants.
Standard workflow
- Establish scope:
- live SQL access, exported
system.*data, suppliedusers.xml/config.xml, or query-log extracts. - single node or cluster.
- ClickHouse version and deployment model.
- live SQL access, exported
- Collect safe evidence. For a fast first pass, run the read-only inventory in
checks.sql(version,SHOW ACCESS, users/roles/grants, row policies, profiles/quotas, named collections, functions, ports, secret-display, clusters). Then add, as needed:- supplied
users.xml/config.xmlsnippets - recent
system.query_logandsystem.session_log, if available.
- supplied
- Load only the relevant reference files below for depth on each area.
- Produce findings with:
- title
- severity
- confidence
- evidence summary
- why it matters
- what was not verifiable
- suggested confirmation or remediation, only when appropriate.
What ships with it
21 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.
- checks.sql 5.7 KB
- references/01-scope-and-safety.md 2.8 KB
- references/02-identity-authentication.md 2.6 KB
- references/03-users-roles-grants-rbac.md 4.0 KB
- references/04-definer-impersonation-principals.md 4.7 KB
- references/05-network-exposure-and-tls.md 3.1 KB
- references/06-table-functions-external-sources.md 2.5 KB
- references/07-table-engines-and-external-integrations.md 1.7 KB
- references/08-row-column-policy-security.md 2.9 KB
- references/09-settings-profiles-constraints-quotas.md 4.2 KB
- references/10-audit-logging-and-log-integrity.md 2.6 KB
- references/11-query-log-threat-hunting.md 2.9 KB
- references/12-secrets-named-collections-credentials.md 3.1 KB
- references/13-password-hash-hygiene.md 3.5 KB
- references/14-version-specific-security-checks.md 2.2 KB
- references/15-cluster-distributed-security.md 2.5 KB
- references/16-keeper-and-interserver-security.md 2.5 KB
- references/17-executable-udf-and-code-execution.md 2.3 KB
- references/18-encryption-at-rest-and-backups.md 2.7 KB
- references/19-http-interface-surface.md 2.2 KB
- references/20-reporting-severity-and-output-format.md 6.3 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.
- 8d ago First seen · 76 lines · 130 tokens per session scan A 996e2f5126df
altinity-expert-clickhouse-security is a skill published in the GitHub repository Altinity/altinity-skills (16 stars, last pushed 11d ago), licensed Apache-2.0. It adds 130 tokens to every session and 1,307 once invoked, about $0.0006 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
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…