airtable-user-scraping
Skill0 starsChanged 7 days agoMITView on GitHub
Scrape user/collaborator access data from Airtable bases using the airtable-scrape-users utility. Use when the user wants to audit who has access to which Airtable bases and at what permission level.
- Reads credentials
In this repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- airtable-schema-diffSkill
- airtable-schemaSkill
- airtable-scriptingSkill
- airtable-standards-checkSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 46
Tip: Place a .env file in the directory you run the command from.
- Very specific: line 53
If the project manages secrets with fnox (a fnox.toml in scope), wrap the command instead — required in non-interactive (agent) shells, …
- Very specific: line 97
All output is written to output/ in the current working directory:
≈ “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 User Scraper Skill
Purpose
This skill covers running airtable-scrape-users to extract user/collaborator data from Airtable bases grouped by workspace. Airtable's API does not expose collaborator data on the Team plan; this tool scrapes it from the web UI instead.
⚠️ Important: Acceptable Use Policy
This tool violates Airtable's Acceptable Use Policy. Always warn the user and obtain explicit acknowledgment before proceeding.
Prerequisites
Install Playwright's browser (first time only):
playwright install chromium
# Dependencies are handled automatically by uv on first runWorkflow
Step 1: Login (once per ~30 days)
Opens a browser for manual authentication. Auth cookies are saved to output/airtable_auth_state.json.
airtable-scrape-users --loginRe-run --login if scraping starts failing (cookies expire after ~30 days).
Step 2: Discover bases and save workspace config (once, or when bases change)
Fetches all accessible bases from the Airtable API and saves workspace groupings to output/airtable_scraper_config.json.
export AIRTABLE_API_KEY=patXXXXXXXXXX
airtable-scrape-users --from-api --save-configTip: Place a .env file in the directory you run the command from. It is loaded automatically.
# .env
AIRTABLE_API_KEY=patXXXXXXXXXXIf the project manages secrets with fnox (a fnox.toml in scope), wrap the command instead — required in non-interactive (agent) shells, where the fnox activate cd-hook doesn't fire:
fnox exec -- airtable-scrape-users --from-api --save-configAgents: 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. Just run the command: it loads.envautomatically and errors clearly ifAIRTABLE_API_KEYis missing. React to that error — the message suggestsfnox execonly when fnox is installed; retry with that if afnox.tomlis in scope, otherwise relay the error to the user.
Step 3: Scrape user data
Uses the saved config. Shows changes compared to the previous run.
airtable-scrape-usersCommon Options
# Filter to specific workspace(s) by name or ID
airtable-scrape-users --workspace "Operations"
airtable-scrape-users --workspace "Operations" "Research"
# Scrape specific base IDs only
airtable-scrape-users --bases appXXXXXXXXXX appYYYYYYYYYY
# Export CSVs from the latest JSON without re-scraping
airtable-scrape-users --export-csv-from-json
# Export CSVs from a specific JSON file
airtable-scrape-users --export-csv-from-json output/airtable_users_export.20260123_114935.json
# Skip change comparison
airtable-scrape-users --no-compare
# Slow down requests (default: 1.0 second between bases)
airtable-scrape-users --delay 2
# Debug: show browser and save diagnostic HTML
airtable-scrape-users --no-headless --debugOutput Files
All output is written to output/ in the current working directory:
| File | Contents |
airtable_auth_state.json | Browser cookies — gitignored |
airtable_scraper_config.json | Workspace/base mapping |
airtable_users_export.json | Latest results |
airtable_users_export.YYYYMMDD_HHMMSS.json | Backup of previous run |
{Workspace}_users.csv | One row per user, columns = bases, values = permission level |
{Workspace}_bases.csv | One row per base, columns = users, values = permission level |
Permission Levels
owner— Full admincreate— Create/edit recordsedit— Edit records onlycomment— Comment onlyread— Read-only
Service accounts (AI, Automations, Table Sync) are automatically excluded.
Console Output
Each run prints:
- Per-base progress and user counts
- Change detection: users added/removed, permission changes since last run
- Workspace summary with unique user counts
JSON Structure
{
"scrape_time": "2026-01-23T...",
"total_bases": 17,
"workspace_summary": {
"wspXXXXXXXXXXX": {
"workspace_name": "Operations",
"base_count": 12,
"unique_user_count": 9,
"users": [...]
}
},
"bases": [...]
}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.

