Install
openclaw skills install plaud-unofficialUse when accessing Plaud voice recorder data (recordings, transcripts, AI summaries) - guides credential setup and provides patterns for plaud_client.py
openclaw skills install plaud-unofficialAccess Plaud voice recorder data including recordings, transcripts, and AI-generated summaries.
The Plaud API provides access to:
Core principle: Use plaud_client.py (included in this skill), not raw API calls. The client handles authentication, error handling, and response parsing.
Use this skill when:
Before using the Plaud API, you need to extract credentials from the web app.
Open Chrome and go to: https://web.plaud.ai
Log in with your Plaud account if not already logged in.
Press F12 (or Cmd+Option+I on Mac) to open DevTools.
https://web.plaud.aiFind and copy these two values:
| Key | Description |
|---|---|
tokenstr | Your bearer token (starts with "bearer eyJ...") |
plaud_user_api_domain | API endpoint (e.g., "https://api-euc1.plaud.ai") |
Create or update the .env file in the skill directory (~/.claude/skills/plaud-api/):
# In the skill directory
cd ~/.claude/skills/plaud-api
cp .env.example .env
# Edit .env with your actual credentials
Or create it directly:
cat > ~/.claude/skills/plaud-api/.env << 'EOF'
PLAUD_TOKEN=bearer eyJ...your_full_token_here...
PLAUD_API_DOMAIN=https://api-euc1.plaud.ai
EOF
Important: Include the full token including the "bearer " prefix.
Test that credentials work:
cd ~/.claude/skills/plaud-api
python3 plaud_client.py list
If successful, you'll see a list of your recordings with file IDs, durations, and names.
First-time setup: Install dependencies if needed:
pip install -r ~/.claude/skills/plaud-api/requirements.txt
PLAUD_TOKEN=bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
PLAUD_API_DOMAIN=https://api-euc1.plaud.ai
Notes:
api-euc1, US users may differ)All commands should be run from the skill directory (~/.claude/skills/plaud-api):
| Task | Command |
|---|---|
| List all recordings | python3 plaud_client.py list |
| List as JSON | python3 plaud_client.py list --json |
| Get file details | python3 plaud_client.py details <file_id> |
| Get details as JSON | python3 plaud_client.py details <file_id> --json |
| Download audio | python3 plaud_client.py download <file_id> |
| Download to path | python3 plaud_client.py download <file_id> -o output.mp3 |
| Download all files | python3 plaud_client.py download-all -o ./recordings |
| Get file tags/folders | python3 plaud_client.py tags |
cd ~/.claude/skills/plaud-api
# List files to find IDs
python3 plaud_client.py list
# Get transcript for a specific file
python3 plaud_client.py details <file_id> --json | jq '.data.trans_result'
File IDs are 32-character hex strings. Find them from:
https://web.plaud.ai/file/{file_id}python3 plaud_client.py listpython3 plaud_client.py list --json | jq '.[].id'python3 plaud_client.py details <file_id> --json | jq '.data.ai_content'
# Download all recordings to a folder
python3 plaud_client.py download-all -o ./all_recordings
# Get all file IDs
python3 plaud_client.py list --json | jq -r '.[].id'
# Get plain transcript text (all segments concatenated)
python3 plaud_client.py details <file_id> --json | jq -r '.data.trans_result.segments[].text' | tr '\n' ' '
| Error | Cause | Fix |
|---|---|---|
401 Unauthorized | Token expired or invalid | Re-extract token from localStorage |
Empty response | Invalid file_id format | Verify file_id is 32 hex characters |
Connection error | Wrong API domain | Check PLAUD_API_DOMAIN in .env |
Token required | Missing .env or PLAUD_TOKEN | Follow credential tutorial above |
Plaud tokens are long-lived (~10 months), but when they expire:
tokenstr value.env fileFor detailed API documentation, see PLAUD_API.md included in this skill directory.
Key endpoints used by plaud_client.py:
GET /file/simple/web - List all filesGET /file/detail/{file_id} - Get file details with transcriptGET /file/download/{file_id} - Download MP3 audioGET /filetag/ - Get file tags/folders| File | Purpose |
|---|---|
plaud_client.py | CLI tool for all Plaud API operations |
PLAUD_API.md | Detailed API endpoint documentation |
requirements.txt | Python dependencies |
.env.example | Template for credentials |