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.
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.
curl -O https://raw.githubusercontent.com/pipecat-ai/pipecat/main/.claude/skills/docstring/SKILL.mdgit clone --depth 1 https://github.com/pipecat-ai/pipecatWrote 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.
[](https://agentmods.dev/skills/pipecat-ai/pipecat/docstring)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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 3mo 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.
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
-
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 ClassNameinsrc/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
-
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
-
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
-
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
- Private methods (starting with
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.
"""
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.
- 3mo ago First seen · 258 lines · 13 tokens per session scan A 47b935d9881d
docstring is a skill published in the GitHub repository pipecat-ai/pipecat (17,588 stars, last pushed yesterday), 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.
docstring compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| docstringpipecat-ai/pipecat | Skill | 18k | yesterday | BSD-2-Clause | A | 13 | Claude Code |
| choosing-swarm-patternsAgentWorkforce/relay | Skill | 1.2k | today | Apache-2.0 | A | 76 | Claude Code, Codex |
| deploying-to-staging-environmentAgentWorkforce/relay | Skill | 1.2k | today | Apache-2.0 | A | 44 | Claude Code |
| writing-relayflowsAgentWorkforce/relay | Skill | 1.2k | today | Apache-2.0 | A | 184 | Claude Code, Codex |
| using-agent-relayAgentWorkforce/relay | Skill | 1.2k | today | Apache-2.0 | A | 85 | Claude Code, Codex |
| Workspace Data AnalystVoltAgent/voltagent | Skill | 11k | 28d ago | MIT | A | 14 | Claude Code, Codex |
| moqmoq-dev/moq | Skill | 1.7k | today | Apache-2.0 | A | 106 | Claude Code, Codex |