add-column-to-catalog

Adds a column to a markdown catalog table and populates it via web research.

Updated Aug 18, 2026
One-click install
npx skills add https://github.com/tariqwest/ai-client-catalog --skill add-column-to-catalog-tariqwest
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-column-to-catalog
Source: https://github.com/tariqwest/ai-client-catalog/tree/main/.agents/skills/add-column-to-catalog
Command: npx skills add https://github.com/tariqwest/ai-client-catalog --skill add-column-to-catalog-tariqwest

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually adding a column to a large markdown pipe table is error-prone: misaligned pipes, pipes inside code spans, and legend drift corrupt the file. This Skill performs the schema change reliably and then backfills every row with researched values. ## Core Features & Use Cases - Safe DDL: Inserts a header cell, separator, legend row, and pads all data rows using a code-span-aware markdown table parser, with idempotent behavior when the column already exists. - Intelligent backfill: Populates each cell using known fetchers (pricing, funding, last_updated, context_window, offline_capable) or generic homepage/GitHub research, writing "—" and flagging rows when sources are missing instead of hallucinating. - Use Case: Add a Pricing column after License in a 90-row catalog master table, then fill each row with Free / Freemium / Paid / Enterprise values derived from each vendor's public pricing page. ## Quick Start Add a Pricing column after the License column in catalog-master-table.md and populate it for every row from each vendor's pricing page.

Frequently Asked Questions about add-column-to-catalog

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a column to a markdown table programmatically?

Use the column.js helper with --add-column and a JSON spec containing name, description, and position. It inserts the header cell, separator, legend row, and pads every data row with "—" using a code-span-aware parser instead of regex.

How do I populate a markdown table column from web research?

Run column.js with --populate-column and the column name. Known fetchers handle pricing, funding, last_updated, context_window, and offline_capable; other columns fall back to generic homepage and GitHub research, writing "—" when no source is found.

Does adding a column handle pipes inside code spans?

Yes. The splitRow helper is code-span aware, so cells containing `\|` or backtick-wrapped pipes are parsed correctly and not split at the wrong position. New cell values are also escaped or wrapped to keep the table valid.

What happens if the column already exists in the table?

The operation is idempotent: if the normalized column name already exists, the DDL step is skipped and only population runs. With overwrite set to false, only empty or "—" cells are filled; existing values are preserved.

Can I preview changes before modifying the markdown file?

Yes. Pass --dry-run to either --add-column or --populate-column to report the planned insertion position and row counts without writing the file. git diff --stat will show no changes after a dry run.