airtable
Build integrations with the Airtable Web API — bases, tables, records, fields, views, webhooks, and OAuth. Use when tasks involve reading or writing Airtable data, syncing external sources with Airtable bases, building automations triggered by record changes, or migrating data to/from Airtable.
What this skill does
# Airtable API Integration
Automate and integrate with Airtable bases using the REST API.
## Authentication
### Personal Access Token (simplest)
Generate at https://airtable.com/create/tokens. Scope to specific bases and permissions.
```bash
export AIRTABLE_TOKEN="pat..."
```
### OAuth 2.0 (multi-user apps)
Register at https://airtable.com/create/oauth. Supports PKCE for public clients.
```python
"""airtable_oauth.py — OAuth 2.0 with PKCE for Airtable."""
import hashlib, secrets, base64, requests
def start_oauth(client_id: str, redirect_uri: str) -> tuple[str, str]:
"""Generate authorization URL with PKCE challenge.
Args:
client_id: From Airtable OAuth integration settings.
redirect_uri: Your callback URL.
Returns:
Tuple of (authorization_url, code_verifier) — store verifier for token exchange.
"""
verifier = secrets.token_urlsafe(64)
challenge = base64.urlsafe_b64encode(
hashlib.sha256(verifier.encode()).digest()
).rstrip(b"=").decode()
url = (
f"https://airtable.com/oauth2/v1/authorize?"
f"client_id={client_id}&redirect_uri={redirect_uri}"
f"&response_type=code&scope=data.records:read data.records:write schema.bases:read"
f"&code_challenge={challenge}&code_challenge_method=S256"
)
return url, verifier
def exchange_token(code: str, verifier: str, client_id: str, redirect_uri: str) -> dict:
"""Exchange authorization code for access token.
Args:
code: From Airtable's redirect.
verifier: The PKCE code_verifier from start_oauth.
client_id: OAuth client ID.
redirect_uri: Must match the one used in authorization.
"""
resp = requests.post("https://airtable.com/oauth2/v1/token", data={
"grant_type": "authorization_code",
"code": code,
"redirect_uri": redirect_uri,
"client_id": client_id,
"code_verifier": verifier,
})
return resp.json() # access_token, refresh_token, expires_in
```
## Core API Patterns
### Record Operations
```python
"""airtable_records.py — CRUD operations on Airtable records."""
import requests, time
API = "https://api.airtable.com/v0"
def headers(token: str) -> dict:
return {"Authorization": f"Bearer {token}", "Content-Type": "application/json"}
def list_records(token: str, base_id: str, table_name: str,
view: str = None, formula: str = None,
fields: list = None, sort: list = None) -> list:
"""List all records from a table with optional filtering.
Args:
token: Personal access token or OAuth token.
base_id: Base ID (starts with 'app').
table_name: Table name or ID.
view: Optional view name to filter/sort by.
formula: Airtable formula for filtering (e.g., "AND({Status}='Active', {Score}>80)").
fields: List of field names to return (reduces payload).
sort: List of dicts with 'field' and 'direction' keys.
Returns:
List of all matching record objects.
"""
params = {}
if view:
params["view"] = view
if formula:
params["filterByFormula"] = formula
if fields:
for i, f in enumerate(fields):
params[f"fields[{i}]"] = f
if sort:
for i, s in enumerate(sort):
params[f"sort[{i}][field]"] = s["field"]
params[f"sort[{i}][direction]"] = s.get("direction", "asc")
records = []
offset = None
while True:
if offset:
params["offset"] = offset
resp = requests.get(f"{API}/{base_id}/{table_name}",
params=params, headers=headers(token))
resp.raise_for_status()
data = resp.json()
records.extend(data["records"])
offset = data.get("offset")
if not offset:
break
time.sleep(0.2) # Stay under 5 req/s rate limit
return records
def create_records(token: str, base_id: str, table_name: str,
records: list[dict], typecast: bool = False) -> list:
"""Create up to 10 records at a time.
Args:
token: Auth token.
base_id: Base ID.
table_name: Target table.
records: List of dicts with field values (max 10 per call).
typecast: If True, Airtable auto-converts string values to proper types.
Returns:
List of created record objects with IDs.
"""
# Airtable limits to 10 records per request
created = []
for i in range(0, len(records), 10):
batch = [{"fields": r} for r in records[i:i + 10]]
resp = requests.post(
f"{API}/{base_id}/{table_name}",
json={"records": batch, "typecast": typecast},
headers=headers(token),
)
resp.raise_for_status()
created.extend(resp.json()["records"])
if i + 10 < len(records):
time.sleep(0.2)
return created
def update_records(token: str, base_id: str, table_name: str,
updates: list[dict]) -> list:
"""Update existing records (PATCH — partial update).
Args:
token: Auth token.
base_id: Base ID.
table_name: Target table.
updates: List of dicts with 'id' and 'fields' keys (max 10 per call).
"""
updated = []
for i in range(0, len(updates), 10):
batch = updates[i:i + 10]
resp = requests.patch(
f"{API}/{base_id}/{table_name}",
json={"records": batch},
headers=headers(token),
)
resp.raise_for_status()
updated.extend(resp.json()["records"])
if i + 10 < len(updates):
time.sleep(0.2)
return updated
def delete_records(token: str, base_id: str, table_name: str,
record_ids: list[str]) -> list:
"""Delete records by ID (max 10 per call).
Args:
token: Auth token.
base_id: Base ID.
table_name: Target table.
record_ids: List of record IDs to delete.
"""
deleted = []
for i in range(0, len(record_ids), 10):
batch = record_ids[i:i + 10]
params = "&".join(f"records[]={rid}" for rid in batch)
resp = requests.delete(
f"{API}/{base_id}/{table_name}?{params}",
headers=headers(token),
)
resp.raise_for_status()
deleted.extend(resp.json()["records"])
if i + 10 < len(record_ids):
time.sleep(0.2)
return deleted
```
### Formula Filtering
Airtable formulas are powerful for server-side filtering:
```python
# Common formula patterns
formulas = {
# Exact match
"status_active": "{Status} = 'Active'",
# Multiple conditions
"high_priority_open": "AND({Priority} = 'High', {Status} != 'Done')",
# Date filtering — tasks due this week
"due_this_week": "IS_BEFORE({Due Date}, DATEADD(TODAY(), 7, 'days'))",
# Text search (case-insensitive)
"name_contains": "FIND('search term', LOWER({Name}))",
# Linked records — has at least one linked project
"has_project": "{Project} != ''",
# Number range
"score_range": "AND({Score} >= 80, {Score} <= 100)",
# Empty/non-empty checks
"missing_email": "{Email} = ''",
"has_attachment": "{Attachments} != ''",
}
```
### Schema Operations
Read and modify base structure:
```python
def get_base_schema(token: str, base_id: str) -> dict:
"""Get all tables, fields, and views in a base.
Args:
token: Auth token with schema.bases:read scope.
base_id: Base ID.
"""
resp = requests.get(f"https://api.airtable.com/v0/meta/bases/{base_id}/tables",
headers=headers(token))
return resp.json()
def create_field(token: str, base_id: str, table_id: str,
name: str, field_type: str, options: dict = None) -> dict:
"""Add a new field (column) to a table.
Args:
token: Auth token with schema.bases:write scope.
base_id: Base ID.
table_id: Table IRelated in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.