Skip to main content

Data-team toolkit for building, interacting with, and improving data projects with coding agents

Project description

dt-ai-toolkit

A CLI that gets a whole data team working with coding agents the same way.

If your team uses Claude Code for data work, every teammate ends up solving the same problems by hand: how to lay out a project so an agent can work in it, which skills to give the agent, how to run repeatable agent workflows, and how to turn analysis into a polished PDF. dt-ai-toolkit packages those answers into one installable tool — run dat setup in a fresh directory and a teammate gets the same agent-ready project, curated skills, and report pipeline as everyone else.

What it does

  • Scaffolds agent-ready data projects — standard folders (data/, reports/, sandbox/), a managed .gitignore, and tool installs, customizable per team via a TOML profile.
  • Installs curated Agent Skills — a bundled set focused on data honesty (profiling datasets before trusting them, critiquing charts and talking points), plus install from any local folder or git repo, with provenance tracking.
  • Runs agent workflows — repeatable flows via the Claude Agent SDK, defined as plain markdown files with YAML frontmatter. Bundled flows included; write your own in minutes.
  • Generates real reports — scaffolds a React TSX → HTML → PDF pipeline so agent output can ship as a formatted document, not a wall of markdown.
  • Evaluates skills & agents in a gym — run curated tasks against a skill or agent in an isolated sandbox, score the transcript with an LLM judge, or A/B two targets head-to-head (dat gym run / dat gym ab / dat gym manage). Makes real API calls.
  • Keeps everyone unblockeddat doctor checks the whole environment (uv, git, claude CLI, auth, bun, playwright) and dat docs is a built-in interactive docs browser.

Agents, skills, and setup profiles live in a local SQLite database, so teams can inspect, edit, back up, and share their configuration (dat db info, dat agent backup / restore, and the same for skills and profiles).

Install

# no install needed — run it straight from PyPI
uvx dt-ai-toolkit --help

# or install it once and get the short `dat` command
uv tool install dt-ai-toolkit

# prefer not to install? alias `dat` to uvx in your shell config instead
uvx dt-ai-toolkit alias

Requires Python 3.11+ and uv. Every dat ... command below also works as uvx dt-ai-toolkit ....

Quickstart

dat db setup       # one-time: create the toolkit database, seed bundled content

mkdir my-project && cd my-project
dat setup          # folders + gitignore + installs Claude Code & omnigent
dat doctor         # verify the environment
dat docs           # interactive docs browser

Commands

command what it does
setup Scaffold a data project (data/, reports/, sandbox/, managed .gitignore block) and install tooling. Customizable via a dt-setup.toml profile (setup config init).
skills Install Agent Skills into .claude/skills/ from the curated set, a local folder, or a git repo. list / install / update with provenance tracking.
agent Run agent flows via the Claude Agent SDK: bundled sourcing-report and project-review, or your own frontmatter-markdown agent files.
report Scaffold the React TSX → HTML/PDF report pipeline (report new <name>).
gym Evaluate, run, and A/B test skills & agents against curated tasks with an LLM judge (gym run / gym ab / gym manage).
db Manage the toolkit database — the source of truth for agents, skills, and setup profiles. setup / info / path / upgrade-backup.
doctor Check the environment: uv, git, claude CLI, omnigent, auth, bun, playwright.
alias Write a dat alias into your shell config (bash, zsh, fish, PowerShell) so dat works without a tool install.
docs Browse documentation — an interactive TUI, or --plain / show <topic> / export for non-interactive use.

Bundled skills

The curated skills lean toward data honesty — making sure what an agent (or you) produces can survive scrutiny:

  • interrogate-data — structured protocol for profiling and stress-testing a dataset before trusting it
  • critique-talking-points — adversarial claim-by-claim review of narratives before they ship
  • critique-visualization — chart-honesty review, including re-deriving plotted values from source data
  • tsx-report-generator — walks Claude through the full TSX → HTML/PDF report pipeline
  • dt-setup-config — helps Claude build a custom dt-setup.toml for your team
  • dt-ai-toolkit — meta skill teaching Claude how to call this CLI itself (uvx dt-ai-toolkit ...)
  • grill-me — Socratic quiz rounds that test your understanding of a dataset, pipeline, or report before someone else does
dat skills list --available
dat skills install interrogate-data
dat skills install https://github.com/your-org/team-skills.git --all

Custom agent flows

Agents are markdown files with YAML frontmatter — config on top, prompt below, {placeholders} filled from the command line:

---
name: data-audit
description: Audit a dataset for quality issues
allowed_tools: [Read, Glob, Grep, Bash]
args:
  data_path: {required: true}
---
Audit the dataset at {data_path}. Cite the query behind every finding.
dat agent run data-audit.md --arg data_path=data/sales.csv
dat agent run sourcing-report --arg topic="Q3 readmissions" --dry-run

Development

uv sync
uv run pytest
uv run dat --help

See CLAUDE.md for architecture conventions.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dt_ai_toolkit-0.1.3.tar.gz (313.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dt_ai_toolkit-0.1.3-py3-none-any.whl (252.7 kB view details)

Uploaded Python 3

File details

Details for the file dt_ai_toolkit-0.1.3.tar.gz.

File metadata

  • Download URL: dt_ai_toolkit-0.1.3.tar.gz
  • Upload date:
  • Size: 313.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Pop!_OS","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for dt_ai_toolkit-0.1.3.tar.gz
Algorithm Hash digest
SHA256 3c164cdeb20d1f8a712529ef187027df358dc59dfcf2fcea82bd6948be84417f
MD5 c220a536466522c8ac95980ddbe8a79f
BLAKE2b-256 143db4f3ebf693cac04204756ebda081f841862b82009cbac22da90f89be7057

See more details on using hashes here.

File details

Details for the file dt_ai_toolkit-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: dt_ai_toolkit-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 252.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Pop!_OS","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for dt_ai_toolkit-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b266ca7ec0e728ec2f8455f375b8be22197e5f48c6779a50c39cd7658df141bb
MD5 4a8d56dafbee72edf97f13d17870cb68
BLAKE2b-256 bdb1dc253d5f4bd6e6ac86fef6f0754d7c47d57e1cc2e829acc8e0799a8f4cd8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page