skills$openclaw/plaud-api
leonardsellem8.8k

by leonardsellem

plaud-api – OpenClaw Skill

plaud-api is an OpenClaw Skills integration for writing workflows. Use when accessing Plaud voice recorder data (recordings, transcripts, AI summaries) - guides credential setup and provides patterns for plaud_client.py

8.8k stars7.8k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026writing

Skill Snapshot

nameplaud-api
descriptionUse when accessing Plaud voice recorder data (recordings, transcripts, AI summaries) - guides credential setup and provides patterns for plaud_client.py OpenClaw Skills integration.
ownerleonardsellem
repositoryleonardsellem/plaud-unofficial
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @leonardsellem/plaud-unofficial
last updatedFeb 7, 2026

Maintainer

leonardsellem

leonardsellem

Maintains plaud-api in the OpenClaw Skills directory.

View GitHub profile
File Explorer
6 files
.
_meta.json
475 B
PLAUD_API.md
4.1 KB
plaud_client.py
10.2 KB
README.md
1.4 KB
requirements.txt
38 B
SKILL.md
5.7 KB
SKILL.md

name: plaud-api description: Use when accessing Plaud voice recorder data (recordings, transcripts, AI summaries) - guides credential setup and provides patterns for plaud_client.py aliases:

  • plaud
  • plaud-recordings

Plaud API Skill

Access Plaud voice recorder data including recordings, transcripts, and AI-generated summaries.

Overview

The Plaud API provides access to:

  • Audio files: MP3 recordings from your Plaud device
  • Transcripts: Full text transcriptions with speaker diarization
  • AI summaries: Auto-generated notes and summaries

Core principle: Use plaud_client.py (included in this skill), not raw API calls. The client handles authentication, error handling, and response parsing.

When to Use This Skill

Use this skill when:

  • User mentions "Plaud", "Plaud recording", or "transcript from Plaud"
  • Need to access voice recorder data
  • Working with recordings, transcripts, or AI notes from a Plaud device

Interactive Credential Tutorial

Before using the Plaud API, you need to extract credentials from the web app.

Step 1: Navigate to Plaud Web App

Open Chrome and go to: https://web.plaud.ai

Log in with your Plaud account if not already logged in.

Step 2: Open Chrome DevTools

Press F12 (or Cmd+Option+I on Mac) to open DevTools.

Step 3: Find localStorage Values

  1. Click the Application tab in DevTools
  2. In the left sidebar, expand Local Storage
  3. Click on https://web.plaud.ai

Step 4: Copy Required Values

Find and copy these two values:

KeyDescription
tokenstrYour bearer token (starts with "bearer eyJ...")
plaud_user_api_domainAPI endpoint (e.g., "https://api-euc1.plaud.ai")

Step 5: Create .env File

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.

Step 6: Verify Setup

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

.env File Format

PLAUD_TOKEN=bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
PLAUD_API_DOMAIN=https://api-euc1.plaud.ai

Notes:

  • The token includes the "bearer " prefix
  • API domain is region-specific (EU users: api-euc1, US users may differ)

Quick Reference

All commands should be run from the skill directory (~/.claude/skills/plaud-api):

TaskCommand
List all recordingspython3 plaud_client.py list
List as JSONpython3 plaud_client.py list --json
Get file detailspython3 plaud_client.py details <file_id>
Get details as JSONpython3 plaud_client.py details <file_id> --json
Download audiopython3 plaud_client.py download <file_id>
Download to pathpython3 plaud_client.py download <file_id> -o output.mp3
Download all filespython3 plaud_client.py download-all -o ./recordings
Get file tags/folderspython3 plaud_client.py tags

Common Patterns

Fetch Recent Transcripts

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 ID Discovery

File IDs are 32-character hex strings. Find them from:

  1. URLs: https://web.plaud.ai/file/{file_id}
  2. List output: First column in python3 plaud_client.py list
  3. JSON output: python3 plaud_client.py list --json | jq '.[].id'

Get AI Summary

python3 plaud_client.py details <file_id> --json | jq '.data.ai_content'

Batch Operations

# 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'

Extract Transcript Text Only

# 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 Handling

ErrorCauseFix
401 UnauthorizedToken expired or invalidRe-extract token from localStorage
Empty responseInvalid file_id formatVerify file_id is 32 hex characters
Connection errorWrong API domainCheck PLAUD_API_DOMAIN in .env
Token requiredMissing .env or PLAUD_TOKENFollow credential tutorial above

Token Refresh

Plaud tokens are long-lived (~10 months), but when they expire:

  1. Log into https://web.plaud.ai
  2. Open DevTools > Application > Local Storage
  3. Copy the new tokenstr value
  4. Update your .env file

API Reference

For 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 files
  • GET /file/detail/{file_id} - Get file details with transcript
  • GET /file/download/{file_id} - Download MP3 audio
  • GET /filetag/ - Get file tags/folders

Included Files

FilePurpose
plaud_client.pyCLI tool for all Plaud API operations
PLAUD_API.mdDetailed API endpoint documentation
requirements.txtPython dependencies
.env.exampleTemplate for credentials
README.md

Plaud API Claude Skill

A self-contained Claude Code skill for accessing Plaud voice recorder data (recordings, transcripts, AI summaries).

Contents

FilePurpose
SKILL.mdMain skill document with credential tutorial
plaud_client.pyCLI tool for Plaud API access
PLAUD_API.mdDetailed API documentation
requirements.txtPython dependencies
.env.exampleTemplate for credentials

Installation

Option 1: Symlink (Recommended for Development)

ln -s /path/to/plaud-api ~/.claude/skills/plaud-api

Option 2: Copy

cp -r /path/to/plaud-api ~/.claude/skills/

Quick Setup

  1. Install Python dependencies:

    pip install -r ~/.claude/skills/plaud-api/requirements.txt
    
  2. Copy the example environment file:

    cd ~/.claude/skills/plaud-api
    cp .env.example .env
    
  3. Follow the credential tutorial in SKILL.md to obtain your Plaud API token

  4. Update .env with your actual credentials

  5. Test with:

    cd ~/.claude/skills/plaud-api
    python3 plaud_client.py list
    

Usage

In Claude Code, invoke with:

  • /plaud-api - Full skill with setup tutorial
  • /plaud - Alias
  • /plaud-recordings - Alias

Requirements

  • Python 3.x
  • requests and python-dotenv packages (see requirements.txt)
  • Plaud account with web access at https://web.plaud.ai

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install plaud-api?

Run openclaw add @leonardsellem/plaud-unofficial in your terminal. This installs plaud-api into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/leonardsellem/plaud-unofficial. Review commits and README documentation before installing.