ai-integration

ai-integration is a skill for Cursor from datenoio/iterabledata. It costs 34 tokens per session (662 once invoked), scanned A, original, MIT.

Instructions for adding AI and large-language-model features to IterableData, a data tool that can inspect files, describe formats, and generate documentation. It lists the available Python APIs, providers, installation options, and structured documentation blocks.

In plain words
What is it for?
Use it when working on IterableData's AI integration, automatic documentation, catalog, or agent-facing APIs. It covers local or hosted model providers, block-based output such as schema and quality, progress reporting, and structured results.
Why use it?
It gives agents the supported entry points for AI-assisted documentation and data inspection. This avoids guessing how to connect providers, sample or redact data, or retrieve catalog information.

Skill for Cursor

Written for Cursor: installed under .cursor/.

Install

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.

agentmods
npx agentmods add skills/datenoio/iterabledata/ai-integration
Any agent
npx skills add datenoio/iterabledata --skill ai-integration
Clone the repo
git clone --depth 1 https://github.com/datenoio/iterabledata

Made for: Cursor.

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 ai-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/datenoio/iterabledata/ai-integration.svg)](https://agentmods.dev/skills/datenoio/iterabledata/ai-integration)
Your own site
<a href="https://agentmods.dev/skills/datenoio/iterabledata/ai-integration"><img src="https://agentmods.dev/badge/skills/datenoio/iterabledata/ai-integration.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 662 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00034 $0.00662
Opus 5 $0.00017 $0.00331
Sonnet 5 $0.00007 $0.00132
Haiku 4.5 $0.00003 $0.00066

Measured 6d ago against content hash cbe2c4f403d2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

ai-integration 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 6d 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.

.cursor/skills/ai-integration/SKILL.md · 81 lines

How it starts

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

AI Integration

Core APIs

from iterable.ai import doc
from iterable.ai.context import sample_for_llm, redact_for_llm
from iterable.catalog import describe_format, export_catalog, list_formats
from iterable.ops import inspect

Documentation generation

# Local provider (no API key)
doc.generate("data.csv", provider="lmstudio", base_url="http://localhost:1234/v1")

# With inspect
inspect.analyze("data.csv", autodoc=True, autodoc_provider="openai")

Install: pip install iterabledata[ai] or pip install -e ".[ai]".

Block-based documentation (generate_blocks)

from iterable.ai import doc

result = doc.generate_blocks(
    "data.csv",
    blocks=["general", "schema", "quality", "examples", "statistics"],  # codebook also available
    context={"title": "Population", "territory": "Russia"},
    progress=lambda e: print(e.stage.value, e.progress),
)
result["blocks"]["schema"]["data"]["fields"]   # structured data per block
result["full_document_markdown"]               # assembled document
  • Each block returns {markdown, data}; statistics is computed (no LLM); lineage/geo_coverage are deferred stubs.
  • LLM blocks use structured output (provider.generate_structured) with Pydantic models in iterable.ai.models.
  • Sampling adapts to file size (MAX_ROWS_SAMPLING); stats support null_fraction, top_values, is_dictionary (DICT_THRESHOLD).
  • Provider config via LLM_PROVIDER/LLM_BASE_URL/LLM_API_KEY/LLM_DEFAULT_MODEL; provider="openai-compatible" targets any OpenAI-compatible endpoint.
  • doc.generate(..., blocks=[...]) delegates to generate_blocks; without blocks the legacy single-document path is unchanged.

Safe LLM sampling

Always sample and redact before cloud APIs:

rows = sample_for_llm("data.csv", max_rows=10, strategy="stratified")
safe = redact_for_llm(rows)

Format catalog for agents

describe_format("xml")  # includes example_args, limitations, capabilities
export_catalog(format="json")  # full catalog; committed at dev/formats.json

Read the full file on GitHub · 81 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. 6d ago First seen · 81 lines · 34 tokens per session scan A cbe2c4f403d2

Subscribe to this mod's changes

ai-integration is a skill published in the GitHub repository datenoio/iterabledata (37 stars, last pushed 16d ago), licensed MIT. It adds 34 tokens to every session and 662 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

pytorch-patterns

PyTorch deep learning patterns and best practices for building robust, efficient, and reproducible training pipelines, model architectures, and data loading.

affaan-m/ECC · 32 tokens

accelerate

Run PyTorch training across GPUs with minimal changes.

NousResearch/hermes-agent · 13 tokens

fastapi

FastAPI best practices and conventions. Use when working with FastAPI APIs, Pydantic models, dependencies, streaming responses including Server-Sent Events (SSE), and serving frontend apps. Keeps FastAPI code clean and up to date with the latest features and patterns.

fastapi/fastapi · 57 tokens

sensitive-logging-audit

Audit and fix sensitive-data exposure through Python runtime logging in openai-agents-python. Use when reviewing logging, print, warnings, stderr, traceback, MCP names, model or tool exceptions, redaction flags, or any diagnostic path that may retain user data.

openai/openai-agents-python · 59 tokens

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

optimize-for-gpu

GPU-accelerates scientific Python on NVIDIA hardware and verifies that the result is correct and faster. Use for CUDA/GPU optimization; CPU-bound NumPy, SciPy, pandas, scikit-learn, NetworkX, scikit-image, vector-search, image-processing, graph, simulation, or file-I/O workloads; CuPy, cuDF, cuML, cuGraph, cuVS…

K-Dense-AI/scientific-agent-skills · 151 tokens