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 ★
- Agent Loop Skills — Loop until it's better — drop-in agentic loops (autoresearch, scientific writing, data analysis, code/SQL/prom 155 ★
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
Claude Sessions Duckdb
Query your Claude Code session transcripts with SQL — one DuckDB script, five views, and the format traps that
Instruments Analyzer
A Python tool that gives AI agents programmatic access to Apple Instruments trace data by exporting .trace fil
Efd Sessions
Manage EFD session history files (list, load, alias). For Factory's built-in session UI use native /sessions —
Franken Snowflake
Clean-room, Rust-first, Asupersync-native Snowflake SQL API connector built for coding agents. 14-crate worksp
Csvql
SQL queries for CSV files. The analytical CSV query engine for AI agents cli: csvql.
Bar Query
Direct read-only query against a BAR Observatory capture database (tools, timeline, errors, or raw SQL)
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