Data Pipeline Commentary Agent — Data skill for Claude Code
An AI automation built with n8n and the Claude API: it watches a PostgreSQL table and a folder for new data, and whenever either one gets new rows or files, Claude writes a structured plain-language c.
How to install Data Pipeline Commentary Agent
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open LiberoG/data-pipeline-commentary-agent and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Data Pipeline Commentary Agent does
An AI automation built with n8n and the Claude API: it watches a PostgreSQL table and a folder for new data, and whenever either one gets new rows or files, Claude writes a structured plain-language commentary — an overview, notable patterns, and anomalies to watch — and emails it to you.
Alternatives in Data
- HTML Anything — ✨ The agentic HTML editor — your local AI agent writes the HTML, you ship it 8.5k ★
- n8n Code JavaScript — JavaScript in n8n Code nodes with data access patterns 3.6k ★
- Azure Document Intelligence .net — Document text, table, and data extraction 1.8k ★
README
Data Pipeline Commentary Agent
An AI automation built with **n8n** and the **Claude API**: it watches a PostgreSQL table *and* a folder for new data, and whenever either one gets new rows or files, Claude writes a structured plain-language commentary — an overview, notable patterns, and anomalies to watch — and emails it to you. The same pipeline works regardless of what the data actually is, because nothing downstream of the initial read assumes any particular columns.

What it does
- Two independent triggers run on a schedule: one polls Postgres for rows added since the last check, the other polls a folder for files it hasn't seen yet.
- Whichever one fires, its output gets normalized into the same generic
{columns, rows}shape. - A plain-JavaScript step computes descriptive stats (count, min, max, mean, stdev) for whatever columns turn out to be numeric, and flags 3-sigma outliers — no column names hardcoded anywhere.
- Claude (
claude-sonnet-5) turns those stats, the outliers, and a sample of rows into a structured commentary: an overview, notable patterns, and anomalies to watch. - The result is emailed via the Resend API.
The story behind it
This one had more debugging than the last project, mostly because "make it work with any data" is a much easier goal to state than to actually build.
The environment fights back first
Before a single node ran, the Docker setup itself pushed back:
- Adding a second container (Postgres) alongside the existing n8n one meant discovering they were on Docker's default bridge network, which doesn't support name-based resolution — fixed by creating a dedicated user-defined network and attaching both containers to it.
- Mounting a Windows folder into the container with a backslash path (
C:\Users\...) hit a documented Docker Desktop bug where it mangles the path and fails with a crypticmkdir ... access denied. Forward slashes (C:/Users/...) fixed it. - n8n's
Related Skills
Modeling Skill
Data modelling skill — what becomes a table, how tables relate, how every row is scoped to a customer, how a m
/mine
one command for everything in your usage data. just ask what you want to know in plain language
Obsidian Bases
Create or edit Obsidian Bases (.base files) — native database views over vault notes (table/card/list, filters
Pbi Load
Parse the full PBIP semantic model (TMDL or TMSL format) and build structured session context. Extracts all ta
Serpentine
An SEO skill for AI agents that writes the code instead of the PDF. Detects your framework, ships titles, cano
Switch Profile
Switch the active kit profile (two-role pipeline autopilot free) — rewrite the CLAUDE.md import line and .ai/k
Related Agents
Sf AI Architect
AI Architect of the Software Factory cell. Use whenever a project has an ML/DL/agentic-AI component, to decide
n8n Workflow Validator
Use this agent to validate an existing n8n workflow (either by ID in the user's n8n instance or a local JSON f
MVP Builder
Full-stack MVP builder. Takes a plain-English description and delivers an award-winning static site — no frame