pipecat: Skill for Claude Code

.claude/skills/docstring/SKILL.md

docstring is a skill for Claude Code from pipecat-ai/pipecat. It costs 13 tokens per session (1,737 once invoked), scanned A, original, BSD-2-Clause.

A documentation tool for adding Google-style docstrings to Python modules and classes. A docstring is text inside code that explains what it does and how to use it.

In plain words
What is it for?
Use it to document a Python module, a named class, its constructor, public methods, and important data structures.
Why use it?
It makes Python code easier to understand without requiring readers to infer the purpose of every class or public method.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is pipecat-ai/pipecat's own configuration. It tells Claude Code how to work on pipecat itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything pipecat configures →

Part of the pipecat-dev plugin — 11 skills shipped together

About the project

Pipecat is an open-source Python framework for building real-time conversational agents that work with voice, video, images, and other media. It is for creating voice assistants, companions, business agents, and multi-agent systems from modular conversation pipelines.

pipecat-ai/pipecat · 16,618 stars · on GitHub · pipecat.ai

Reuse

Borrowing it

Nothing to install: this file belongs to pipecat-ai/pipecat. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/pipecat-ai/pipecat/main/.claude/skills/docstring/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/pipecat-ai/pipecat

Made for: Claude Code.

Or install pipecat-dev, the plugin that ships this one along with the rest of its 11 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for docstring

README.md
[![agentmods](https://agentmods.dev/badge/skills/pipecat-ai/pipecat/docstring/github.svg)](https://agentmods.dev/skills/pipecat-ai/pipecat/docstring)
Your own site
<a href="https://agentmods.dev/skills/pipecat-ai/pipecat/docstring"><img src="https://agentmods.dev/badge/skills/pipecat-ai/pipecat/docstring/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for docstring

Your own site · 80×15
<a href="https://agentmods.dev/skills/pipecat-ai/pipecat/docstring"><img src="https://agentmods.dev/badge/skills/pipecat-ai/pipecat/docstring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,737 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00013 $0.01737
Opus 5.5 $0.00005 $0.00695
Sonnet 5.5 $0.00003 $0.00347
Haiku 4.5 $0.00001 $0.00174

Measured 1mo ago against content hash 47b935d9881d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

docstring scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/docstring/SKILL.md · 258 lines

How it starts

The opening of the file, as written. The whole thing — 258 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Document a Python module or class using Google-style docstrings following project conventions. The argument can be a class name or a module path.

Instructions

  1. Determine what to document based on the argument:

    If a module path is provided (e.g. src/pipecat/audio/vad/vad_analyzer.py):

    • Use that file directly

    If a class name is provided (e.g. VADAnalyzer):

    • Search for class ClassName in src/pipecat/
    • If multiple files contain that class name, list all matches with their file paths, ask the user which one they want to document, and wait for confirmation
  2. Once the file is identified, read the module to understand its structure:

    • Identify all classes, functions, and important type aliases
    • Understand the purpose of each component
  3. Apply documentation in this order:

    • Module docstring (at top, after imports)
    • Class docstrings
    • __init__ methods (always document constructor parameters)
    • Public methods (not starting with _)
    • Dataclass/config classes with field descriptions
  4. Skip documentation for:

    • Private methods (starting with _)
    • Simple dunder methods (__str__, __repr__, __post_init__)
    • Very simple pass-through properties
    • Already documented code - If a class, method, or function already has a complete docstring that follows the project style, do not modify it. A docstring is complete if it has:
      • A one-line summary
      • Args section (if it has parameters)
      • Returns section (if it returns something meaningful)
    • Only add or improve documentation where it is missing or incomplete

Module Docstring Format

"""[One-line description of module purpose].

[Optional: Longer explanation of functionality, key classes, or use cases.]
"""

Example:

"""Neuphonic text-to-speech service implementations.

This module provides WebSocket and HTTP-based integrations with Neuphonic's
text-to-speech API for real-time audio synthesis.
"""

Read the full file on GitHub · 258 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 258 lines · 13 tokens per session scan A 47b935d9881d

Subscribe to this mod's changes

docstring is a skill published in the GitHub repository pipecat-ai/pipecat (16,618 stars, last pushed today), licensed BSD-2-Clause. It adds 13 tokens to every session and 1,737 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

playwright-cli

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

VoltAgent/voltagent · 52 tokens

Workspace Data Analyst

Analyze CSV files in the workspace and summarize insights.

VoltAgent/voltagent · 14 tokens

choosing-swarm-patterns

Use when coordinating multiple AI agents with Agent Relay's workflow engine and need to pick the right orchestration pattern - covers the 10 core patterns (fan-out, pipeline, hub-spoke, consensus, mesh, handoff, cascade, dag, debate, hierarchical) plus 14 specialized ones, with decision framework and accurate SDK/YAML…

AgentWorkforce/relay · 76 tokens

deploying-to-staging-environment

Use when deploying changes to staging across relay, relay-dashboard, and relay-cloud repos - coordinates multi-repo branch syncing using git worktrees, automatically triggers staging deployments via GitHub Actions.

AgentWorkforce/relay · 44 tokens

using-agent-relay

Use when you are a registered relay agent (a spawned worker, or a lead that called registeragent) coordinating with peers in real time over current Agent Relay MCP tools - messaging, channels, threads, reactions, search, inbox, actions, and worker spawn/release. For role selection and orchestrator startup…

AgentWorkforce/relay · 85 tokens

browser-testing-with-screenshots

Use when testing web applications with visual verification - automates Chrome browser interactions, element selection, and screenshot capture for confirming UI functionality.

AgentWorkforce/relay · 32 tokens