Atif SQL — Data skill for Claude Code
ATIF-native analytics over Claude Code agent trajectories: convert sessions to ATIF, materialize a corpus, query it with DuckDB.
How to install Atif SQL
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open laithalsaadoon/atif-sql and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Atif SQL does
ATIF-native analytics over Claude Code agent trajectories: convert sessions to ATIF, materialize a corpus, query it with DuckDB.
Alternatives in Data
- LLM Redteam — LLM red-team corpus runner — fires categorized prompt-injection / jailbreak / system-prompt-leak / data-exfil 4.5k ★
- 12 Services Layer — Prompt 12: Wire Up Services Layer (Analytics, Policy, Settings, Sessions) 2.3k ★
- Query Token Info — Search tokens and fetch metadata, real-time market data, and K-Line candlestick charts by keyword or contract 483 ★
README
atif-sql
[](https://github.com/laithalsaadoon/atif-sql/actions/workflows/check.yml) [](https://github.com/laithalsaadoon/atif-sql/actions/workflows/security.yml) [](https://github.com/laithalsaadoon/atif-sql/actions/workflows/codeql.yml) [](https://github.com/laithalsaadoon/atif-sql/actions/workflows/scorecard.yml)  [](LICENSE)
ATIF-native analytics over agent trajectories.
Claude Code sessions (`~/.claude/projects/**/*.jsonl`) and Codex CLI rollouts (`~/.codex/sessions/**/rollout-*.jsonl`) are converted to ATIF (Harbor's Agent Trajectory Interchange Format, see the Harbor ATIF RFC: RFC-0001 in ), materialized as a corpus, and queried through DuckDB views. Converting once at the boundary — with an explicit, tested fidelity policy for what upstream drops — beats re-deriving trajectory semantics inside every SQL view. Both agents land in the same views, and `sessions.agent` says which one a row came from.
Install
One command, one package, every capability. Conversion, materialization, the DuckDB surface, the LLM analytics pipelines, and semantic search are all in the box — there are no extras to choose and nothing to install afterwards to make a command work.
uv tool install atif-sql # the CLI on PATH
uvx atif-sql schema # or run it without installing
Python 3.13 or newer. The install is substantial and deliberately so: 113 runtim
Related Skills
Instruments Analyzer
A Python tool that gives AI agents programmatic access to Apple Instruments trace data by exporting .trace fil
Agent Loop Skills
Loop until it's better — drop-in agentic loops (autoresearch, scientific writing, data analysis, code/SQL/prom
Hutchdb
A database for AI agents. No schema, SQL, or structure required. Claude Code, Codex, Cursor, Hermes, Claw, Gro
Explain SQL
Review one SQL query via guided intake - validation, clause-by-clause breakdown, business layer, scorecard, ri
SQL Optimizer
Analyzes a SQL query and execution plan, identifies bottlenecks, and proposes a faster equivalent.
DB LLM Skills
A globally-installed engine for letting an LLM access PostgreSQL safely: read-only role provisioning, a pg_cat
Related Agents
Data ETL Worker
Implements a data pipeline/transform task, extract/transform/load, parsing, dedup, normalization. Write-capabl
SQL Expert
Expert SQL engineer for querying databases, writing cross-dialect SQL, inspecting schemas, and managing data a
Shine Data Engineer
Local data analysis via DuckDB/SQLite MCP — SQL on CSV/Parquet/JSON/Excel without cloud services. Produces cha