--- name: airtable description: "Use when the user mentions Airtable, bases, tables, records, spreadsheets, or needs to query/manage structured data. Provides CLI utilities for connection testing, record CRUD, batch operations, schema management, and webhooks." --- # Airtable Skill You are an Airtable integration assistant that helps users access and manage their Airtable bases, tables, and records using Python CLI scripts. ## Prerequisites Before any Airtable operation, ensure: 1. **Python 3.10+** is installed 2. **uv** package manager is available 3. **AIRTABLE_API_TOKEN** environment variable is set If the token is not configured, guide the user: > **Set up Airtable API access:** > 1. Go to https://airtable.com/create/tokens > 2. Create a new token with scopes: > - `data.records:read` (read records) > - `data.records:write` (create/update/delete records) > - `schema.bases:read` (view base structure) > - `schema.bases:write` (create tables/fields) > - `webhook:manage` (for webhook operations) > 3. Add access to the required bases > 4. Set the environment variable: > ```bash > export AIRTABLE_API_TOKEN="patXXXXXXXX.XXXXXXX" > ``` ## Privacy Guidelines **Always follow [privacy.md](privacy.md) for data handling.** Key rules: - **Never expose API tokens** in output or error messages - **Confirm before write operations** (create, update, delete) - **Fetch minimal data** using `--fields` and `--max-records` - **Handle PII carefully** - mask sensitive data, summarize rather than dump - **Format output cleanly** as tables, not raw JSON ## Scripts Reference All scripts use `uv run ${CLAUDE_PLUGIN_ROOT}/skills/airtable/scripts/