api-warehouse
AGENTS.md0 starsChanged 5 months agoMITView on GitHub
This repository is the api-warehouse coding-agent plugin. It works in Claude Code and Codex (and other agents that read AGENTS.md + load skills/). The skills are plain Markdown and platform-neutral; this file tells any agent how to use them. Reads any API's documentation and takes it to raw data in a warehouse, with a client-ready assessment and validation. Raw landing only — transformation is out of scope. Each skill is a folder with a SKILL.md (instructions), an EVALS.md (objective self-checks),…
- Installs packages
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,337 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 27
Codex / other agents: when the user's request matches a skill's purpose (e.g.
- Distinctive: line 32
Raw landing only: Do not add transformation/modeling.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
api-warehouse — agent instructions
This repository is the api-warehouse coding-agent plugin. It works in Claude Code and Codex (and other agents that read AGENTS.md + load skills/). The skills are plain Markdown and platform-neutral; this file tells any agent how to use them.
What this plugin does
Reads any API's documentation and takes it to raw data in a warehouse, with a client-ready assessment and validation. Raw landing only — transformation is out of scope.
Skills (in skills/)
Each skill is a folder with a SKILL.md (instructions), an EVALS.md (objective self-checks), and a MEMORY.md (API-specific quirks learned over time).
| Skill | Use it to |
api-warehouse | Run the whole loop end to end (orchestrator) |
connect | Set up API auth securely (env vars / .dlt/secrets.toml) and smoke-test reachability |
assess | Read the docs: endpoints, auth, pagination, evidence-backed incremental verdict; pull samples; write assessment.html + endpoints.json |
land | Generate and run a dlt pipeline; land raw data into the chosen destination |
validate | Best-effort control-total reconciliation of source vs loaded data; write validation.html |
schedule | Package a deploy-ready bundle (Dockerfile + per-platform deploy steps) |
The loop: connect → assess → [human checkpoint] → land → validate → schedule. Pause at the checkpoint so the user reads assessment.html and confirms scope (one-time vs incremental, which endpoints, destination) before any data moves.
How to invoke
- Claude Code: the skills register as
/connect,/assess,/land,/validate,/schedule,/api-warehouse. - Codex / other agents: when the user's request matches a skill's purpose (e.g. "ingest this API into my warehouse:
<docs URL>"), read that skill'sSKILL.mdand follow it. Start withskills/api-warehouse/SKILL.mdfor an end-to-end request.
Non-negotiable rules (every skill enforces these)
- Secrets are read only from environment variables or
.dlt/secrets.toml, referenced by name. Never hardcode, echo, log, or write a secret value into generated code, reports, or Docker images. Warehouse connections use dlt's native connectors, not MCP. - Raw landing only. Do not add transformation/modeling.
- Honesty. The incremental verdict must cite evidence (a filter param or cursor field) or state a reason; validation marks unverifiable checks
skipped, never a fabricated pass; reject input that is not API documentation.
Python dependencies
The land and validate steps use the bundled api_warehouse/ library and dlt:
pip install "dlt[duckdb]" # add bigquery/snowflake/postgres extras as needed
pip install "git+https://github.com/sdhilip200/api-warehouse" # the api_warehouse library the skills importPlatform portability note (eval loop)
references/running-evals.md describes a self-grading loop that "spins up a separate grader agent" to run a skill's EVALS.md against its output. On platforms with subagents (Claude Code), use a separate agent so the grader has a clean context. On platforms without subagents (e.g. Codex), run the same checklist inline in a fresh reasoning pass, then revise the artifact if any check fails. The behavior is identical; only the isolation mechanism differs.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

