clairic

clairic is a skill for Claude Code, Codex from svngoku/coding-agents-skills. It costs 80 tokens per session (1,925 once invoked), scanned A, original, MIT.

A Python software kit for sending text to Cloudflare’s Clairic AI model and receiving named, structured values with uncertainty details. It uses Pydantic, a Python library for checking data shapes.

In plain words
What is it for?
Use it to extract typed fields, handle nulls and confidence values, make estimates or forecasts, and test the Python client or Cloudflare service interface.
Why use it?
It avoids manually parsing free-form AI replies and makes missing or uncertain values visible. It also distinguishes the unofficial Python kit from Cloudflare’s hosted service.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./scripts/run-evals.sh clairic --validate.

Good fit Use it to extract typed fields, handle nulls and confidence values, make estimates or forecasts, and test the Python client or Cloudflare service interface.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/svngoku/coding-agents-skills
agentmods
npx agentmods add skills/svngoku/coding-agents-skills/clairic

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 clairic

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/svngoku/coding-agents-skills/clairic"><img src="https://agentmods.dev/badge/skills/svngoku/coding-agents-skills/clairic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,925 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.00080 $0.01925
Opus 5.5 $0.00032 $0.00770
Sonnet 5.5 $0.00016 $0.00385
Haiku 4.5 $0.00008 $0.00193

Measured yesterday against content hash 2cfbf6aac0fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

clairic 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 yesterday.

The scan reads SKILL.md. This mod also ships 3 executable files (graders/check.py, scripts/offline_checks.py, tests/test_eval_grader.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/clairic/SKILL.md · 183 lines

How it starts

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

Clairic — Unofficial Python SDK

Extract typed values and uncertainty metadata with clairic, the unofficial Python SDK maintained at VianneyMI/clairic, not by Cloudflare. The hosted model is Cloudflare Workers AI's @cf/cloudflare/clairic. This skill covers SDK 0.1.0, inspected at d4b0f3390a05e2310f0fc033803e65658abfcfae on 2026-10-26. The service is in preview; refresh its contract before rollout.

Quick Reference

Need Read
All nine field types, specs, aliases, uncertainty, export/storage Typed fields and results
Auth, sync/async clients, errors, timeouts, offline checks Clients, errors, and testing
Official REST/Workers binding, images/options, billing and limits Cloudflare API and limits
Pinned sources, ownership, known discrepancies, verification scope Sources and compatibility
Executable synthetic SDK contract checks, no inference Offline checks

Core Workflow

1. Choose the Correct Surface

  • Use this SDK for text extraction in Python 3.10+, with Pydantic 2 models.
  • Use the official REST API or Workers AI binding for images or options.include_quantiles / options.return_state_text. SDK 0.1.0 does not expose these arguments, even though its answer types can parse quantiles.
  • A Workers binding is not a JavaScript edition of this SDK. The Python client has no chat, embeddings, streaming, batch, or general decision-question API.
  • Extract evidence first. Do exact arithmetic, policy, authorization, and actions in ordinary code. Typed output is not proof that the values are correct.

2. Pin and Configure the SDK

python -m pip install "clairic==0.1.0"

Clairic() reads CLOUDFLARE_ACCOUNT_ID and CLOUDFLARE_API_TOKEN, or accepts keyword-only account_id= / api_token=. It does not load .env automatically. The official model page's CLOUDFLARE_AUTH_TOKEN sample variable is not an SDK alias. Keep tokens server-side, out of source, browser code, and logs.

Read the full file on GitHub · 183 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. yesterday First seen · 183 lines · 80 tokens per session scan A 2cfbf6aac0fa

Subscribe to this mod's changes

clairic is a skill published in the GitHub repository svngoku/coding-agents-skills (12 stars, last pushed 2d ago), licensed MIT. It adds 80 tokens to every session and 1,925 once invoked, about $0.0003 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-26.

Related

Other skills, from other repositories

developing-genkit-python

Develop AI-powered applications using Genkit in Python. Use when the user asks about Genkit, AI agents, flows, or tools in Python, or when encountering Genkit errors, import issues, or API problems.

google/skills · 49 tokens

synthetic-data-finetuning-expert

Expert guide for synthetic dataset generation, LLM-as-a-judge filtering, QLoRA fine-tuning (Unsloth), DPO alignment, and GGUF/Ollama export for local SLMs / Panduan ahli generasi data sintetis, fine-tuning QLoRA, DPO, dan ekspor GGUF/Ollama.

roedyrustam/vibes-plug · 80 tokens

data-science-python-stack

Deprecated compatibility skill. Trigger only when an installed workflow still references this old id.

probabl-ai/skills · 22 tokens

pytorch-lightning

Deep learning framework (PyTorch Lightning). Organize PyTorch code into LightningModules, configure Trainers for multi-GPU/TPU, implement data pipelines, callbacks, logging (W&B, TensorBoard), distributed training (DDP, FSDP, DeepSpeed), for scalable neural network training.

foryourhealth111-pixel/Vibe-Skills · 65 tokens

pytorch

Expert PyTorch deep learning assistance covering dynamic tensors, autograd, torch.compile, distributed training (DDP), and GPU acceleration. Use when training neural networks and deploying AI research.

G1Joshi/Agent-Skills · 39 tokens

scikit-learn

Expert Scikit-Learn assistance covering classification, regression, clustering, pipelines, cross-validation, and preprocessing. Use when building classical machine learning models and feature engineering pipelines.

G1Joshi/Agent-Skills · 38 tokens