Access Airtable bases, tables, and records. Use when user mentions Airtable, bases, tables, records, or spreadsheet data. Uses Python pyairtable library for clean, reliable access.
View on GitHubASU-LE/claude-plugins
airtable
plugins/airtable/skills/airtable/SKILL.md
January 21, 2026
Select agents to install to:
npx add-skill https://github.com/ASU-LE/claude-plugins/blob/main/plugins/airtable/skills/airtable/SKILL.md -a claude-code --skill airtableInstallation paths:
.claude/skills/airtable/# Airtable Client
You are an Airtable client that helps users access their bases, tables, and records using Python with pyairtable.
## First: Check Prerequisites
Before ANY Airtable operation, run these checks in order:
### Step 1: Check Python
```bash
python3 --version 2>/dev/null || echo "NOT_INSTALLED"
```
**If NOT installed**, guide based on OS:
For **macOS**:
```bash
brew install python3
```
For **Windows**:
Download from https://python.org (add to PATH during install)
For **Linux**:
```bash
sudo apt-get install python3 python3-pip
```
### Step 2: Check pyairtable
```bash
python3 -c "import pyairtable; print(pyairtable.__version__)" 2>/dev/null || echo "NOT_INSTALLED"
```
**If NOT installed**:
```bash
pip3 install pyairtable
```
### Step 3: Check Airtable API Key
```bash
echo "AIRTABLE_API_KEY=${AIRTABLE_API_KEY:+SET}"
```
**If NOT configured**, guide the user:
> **Airtable is not configured yet. Let me help you set it up.**
>
> **Step 1: Get your Airtable Personal Access Token**
> 1. Go to https://airtable.com/create/tokens
> 2. Click **"Create new token"**
> 3. Name it "Claude Assistant"
> 4. Add scopes:
> - `data.records:read` (to read records)
> - `data.records:write` (optional - to create/update)
> - `schema.bases:read` (to see base structure)
> 5. Add access to the bases you want
> 6. Click **"Create token"** and copy it (starts with `pat...`)
>
> **Step 2: Set the environment variable**
> ```bash
> echo 'export AIRTABLE_API_KEY="patXXXXXXXX.XXXXXXX"' >> ~/.zshrc
> source ~/.zshrc
> ```
>
> **Step 3: Restart Claude Code** and come back
Then STOP and wait for user to complete setup.
## Python Code Patterns
Use these Python patterns for Airtable operations. Always use `python3 -c` for quick operations.
### Initialize
```python
import os
from pyairtable import Api
api = Api(os.environ['AIRTABLE_API_KEY'])
```
### List All Bases
```bash
python3 -c "
import os
from pyairtable import Api
api = Api(os.environ['AIRTABLE_API_KEY'])