airtable-schema
Skill0 starsChanged 7 days agoMITView on GitHub
Export and inspect an Airtable base schema (tables, fields, views) using the airtable-export-schema utility. Use when the user wants to export a base schema, or when you need schema context before writing Airtable scripts.
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- workflownicojunk/claude-skillstheir own version, first seen Oct 20, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- workflownicojunk/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- airtable-schema-diffSkill
- airtable-scriptingSkill
- airtable-standards-checkSkill
- airtable-user-scrapingSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
If the user wants Claude to directly read or modify Airtable data, use an Airtable MCP server instead:
- Distinctive: line 41
Create a PAT at airtable.com/create/tokens.
- Very specific: line 74
Place a .env file in the directory where you run the command.
- Very specific: line 92
If the project manages secrets with fnox (a fnox.toml in the current directory or a parent), wrap the command so fnox resolves the secrets …
- Very specific: line 143
When writing Airtable scripts, always export the schema first so you have accurate table, field, and view IDs.
- Distinctive: line 146
Read the output JSON to find exact IDs for tables, fields, and views
- Very specific: line 147
Use those IDs (never names) in scripts — see the airtable-scripting skill
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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
Airtable Schema Export Skill
Purpose
This skill covers running airtable-export-schema to dump an Airtable base's full schema — tables, fields (with types and descriptions), and views — to JSON and/or Markdown.
Direct Airtable Access via MCP
If the user wants Claude to directly read or modify Airtable data, use an Airtable MCP server instead:
/plugin install airtable@claude-plugins-officialThe official plugin bundles Airtable's hosted MCP server (OAuth or PAT, nothing to run locally) and is the only one that can read Interface pages and create whole bases.
The community airtable-mcp-server by domdomegg is a self-hosted alternative (run via npx or its HTTP transport, PAT auth only) and is the one that can delete records and work with record comments. Its HTTP transport has no built-in auth, so only run it behind a reverse proxy or in a secured environment.
Both cover read/search/create/update of records and create/update of tables and fields.
This skill is for exporting schema metadata to a local file.
Quick Start (Agents)
Just run it, then react to any error:
airtable-export-schema- The command is already on PATH when this plugin is installed — don't search the plugin cache for the script or invoke it via
uv run --script(the shebang handles uv, and uv installs therequestsdependency automatically on first run). In a standalone checkout, runbin/airtable-export-schemafrom the repo root. - Credentials load automatically (see Credentials) — don't pre-check
.envor the environment first. If something is missing, the script exits with an error naming the missing variable and how to provide it; react to that error instead.
Personal Access Token (PAT)
Create a PAT at airtable.com/create/tokens.
Required scopes:
| Scope | Why |
schema.bases:read | Read table/field/view schema |
base.bases:list | Look up the base name from its ID |
The token must have access to the target base(s).
Running the Exporter
# Using CLI flags
airtable-export-schema --token YOUR_PAT --base appXXXXXXXXXX
# Using environment variables (preferred for repeated use)
export AIRTABLE_TOKEN=patXXXXXXXXXX
export AIRTABLE_BASE_ID=appXXXXXXXXXX
airtable-export-schema
# Choose output format (default: both)
airtable-export-schema --token YOUR_PAT --base appXXXXXXXXXX --format jsonCredentials
Credentials are resolved in order: CLI flags → environment variables → .env file (current working directory, then the script's own directory).
Agents: never read
.env(nocat,head,grep, or the Read tool) — it contains secret values and access is typically deny-listed. Don't pre-check that credentials exist either. Just run the command: it loads.envautomatically and exits with a clear error naming the missing variable if credentials aren't found. React to that error — the message suggestsfnox exec -- <command>only when fnox is installed; retry with that if afnox.tomlis in scope, otherwise relay the error to the user.
Using a .env File
Place a .env file in the directory where you run the command. The script loads it automatically.
# .env
AIRTABLE_TOKEN=patXXXXXXXXXX
AIRTABLE_BASE_ID=appXXXXXXXXXXThen just run:
airtable-export-schemaPer-folder credentials: Because the script looks for .env in the current working directory first, you can keep a separate .env per project folder, each pointing at a different base or token.
Using fnox (optional)
If the project manages secrets with fnox (a fnox.toml in the current directory or a parent), wrap the command so fnox resolves the secrets at run time:
fnox exec -- airtable-export-schemaNote: fnox's fnox activate cd-hook only fires in interactive shells — in non-interactive (agent) shells the fnox exec wrapper is required.
Output files are written to the current directory, named:
{base_id}_{base_name}_{timestamp}_schema.json
{base_id}_{base_name}_{timestamp}_schema.mdThe {timestamp} is YYYY-MM-DD_HH-MM-SS (down to the second). If a file with the same name already exists, a _1, _2, … counter is appended, so an export never overwrites a previous one.
Output Format
JSON — machine-readable, suitable for feeding to other scripts or tools:
{
"base": { "id": "appXXX", "name": "My Base" },
"summary": {
"tableCount": 1,
"fieldCount": 2,
"viewCount": 1,
"tables": [
{ "id": "tblXXX", "name": "Tasks", "primaryFieldName": "Name", "fieldCount": 2, "viewCount": 1 }
]
},
"tables": [
{
"id": "tblXXX",
"name": "Tasks",
"fields": [
{ "id": "fldXXX", "name": "Name", "type": "singleLineText", "description": "" },
{ "id": "fldYYY", "name": "Status", "type": "singleSelect", "options": { "choices": [...] } }
],
"views": [
{ "id": "viwXXX", "name": "Grid view", "type": "grid" }
]
}
]
}The summary object gives per-table stats (field count, view count, and resolved primary field name) plus base-wide totals — all derived from the schema, so no extra API calls or token scopes are needed. The raw tables array is unchanged, so downstream tools (diff, standards check) are unaffected.
Markdown — human-readable summary of the schema. The header shows base-wide totals (Tables · Fields · Views), and each table lists its primary field plus field/view counts before the fields table. The fields table has columns # | Field Name | Field ID | Type | Options | Description. The Options column summarises each field's configuration (number/currency precision, date/time format, select choices, rating max, linked-table ID with reversed/single flags, rollup/lookup/count source fields and result type, etc.). Nothing is truncated — descriptions and choice lists are shown in full.
Workflow: Schema Before Scripting
When writing Airtable scripts, always export the schema first so you have accurate table, field, and view IDs. Feed the JSON output as context when using the airtable-scripting skill.
- Export schema:
airtable-export-schema --token ... --base ... - Read the output JSON to find exact IDs for tables, fields, and views
- Use those IDs (never names) in scripts — see the
airtable-scriptingskill
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.

