Fix Slow Endpoint
vpcarlos/profyle
Diagnose and fix a slow endpoint or request in a Python web app (FastAPI, Flask, Django, Tornado, any ASGI/WSGI framework) using real Profyle/VizTracer traces, then prove the fix by replaying the…
Python server SDK for Fishjam — backends that create rooms, mint peer tokens, receive server notifications, and run voice agents.
$ npx skills add software-mansion-labs/skills --skill fishjam-python-server-sdk -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install software-mansion-labs/skills fishjam-python-server-sdk --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/software-mansion-labs/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/fishjam/references/python-server-sdk .claude/skills/fishjam-python-server-sdk && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "fishjam-python-server-sdk" agent skill from https://github.com/software-mansion-labs/skills/tree/main/skills/fishjam/references/python-server-sdk into .claude/skills/fishjam-python-server-sdk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fishjam-python-server-sdk", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/software-mansion-labs/skills/tree/main/skills/fishjam/references/python-server-sdkType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add software-mansion-labs/skills --skill fishjam-python-server-sdk -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install software-mansion-labs/skills fishjam-python-server-sdk --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/software-mansion-labs/skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/fishjam/references/python-server-sdk .agents/skills/fishjam-python-server-sdk && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "fishjam-python-server-sdk" agent skill from https://github.com/software-mansion-labs/skills/tree/main/skills/fishjam/references/python-server-sdk into .agents/skills/fishjam-python-server-sdk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fishjam-python-server-sdk", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add software-mansion-labs/skills --skill fishjam-python-server-sdk -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install software-mansion-labs/skills fishjam-python-server-sdk --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/software-mansion-labs/skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/fishjam/references/python-server-sdk .cursor/skills/fishjam-python-server-sdk && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "fishjam-python-server-sdk" agent skill from https://github.com/software-mansion-labs/skills/tree/main/skills/fishjam/references/python-server-sdk into .cursor/skills/fishjam-python-server-sdk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fishjam-python-server-sdk", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/software-mansion-labs/skills.git --path skills/fishjam/references/python-server-sdk--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add software-mansion-labs/skills --skill fishjam-python-server-sdk -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install software-mansion-labs/skills fishjam-python-server-sdk --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/software-mansion-labs/skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/fishjam/references/python-server-sdk .gemini/skills/fishjam-python-server-sdk && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "fishjam-python-server-sdk" agent skill from https://github.com/software-mansion-labs/skills/tree/main/skills/fishjam/references/python-server-sdk into .gemini/skills/fishjam-python-server-sdk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fishjam-python-server-sdk", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install software-mansion-labs/skills fishjam-python-server-sdkInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add software-mansion-labs/skills --skill fishjam-python-server-sdk -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/software-mansion-labs/skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/fishjam/references/python-server-sdk .github/skills/fishjam-python-server-sdk && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "fishjam-python-server-sdk" agent skill from https://github.com/software-mansion-labs/skills/tree/main/skills/fishjam/references/python-server-sdk into .github/skills/fishjam-python-server-sdk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fishjam-python-server-sdk", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add software-mansion-labs/skills --skill fishjam-python-server-sdk -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install software-mansion-labs/skills fishjam-python-server-sdk --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/software-mansion-labs/skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/fishjam/references/python-server-sdk .opencode/skills/fishjam-python-server-sdk && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "fishjam-python-server-sdk" agent skill from https://github.com/software-mansion-labs/skills/tree/main/skills/fishjam/references/python-server-sdk into .opencode/skills/fishjam-python-server-sdk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fishjam-python-server-sdk", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
fishjam-python-server-sdkPython server SDK for Fishjam — backends that create rooms, mint peer tokens, receive server notifications, and run voice agents.
Fishjam Python Server SDK is an agent skill from software-mansion-labs/skills. Python server SDK for Fishjam — backends that create rooms, mint peer tokens, receive server notifications, and run voice agents. Use when writing a Python backend (FastAPI, Flask, Starlette, aiohttp) that talks to Fishjam, decorates a notification handler, decodes a Fishjam webhook, or builds an AI voice agent in Python. Trigger on: 'fishjam-server-sdk', 'pip install fishjam-server-sdk', 'from fishjam import', 'fishjam.FishjamClient', 'FishjamNotifier', 'onservernotification', 'receivebinary', 'fishjam Agent'…
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files (for example `agent.md`, `client.md` and `fastapi.md`).
It sits in Backend & APIs, covering Speech recognition and synthesis, Backend development and Webhooks. It works with Python, FastAPI and Flask. The repository describes itself as: Software Mansion's set of skills for AI-assisted React Native development. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit e3f00cd. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pipFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
FISHJAM_MANAGEMENT_TOKENFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Fishjam Python Server SDK loads about 1.3k tokens when it runs. Until then it costs about 239 tokens; SKILL.md has 413 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from software-mansion-labs/skills at commit e3f00cd, republished under its Apache-2.0 licence (© software-mansion-labs). 413 words, ~1,330 tokens.
.claude/skills/fishjam-python-server-sdk/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.fishjam-server-sdk on PyPI; import fishjam. Server-side Python SDK for Fishjam.
Read
../platform/SKILL.mdfirst. It defines rooms, peers, tracks, the two-tier token model, and the WS-vs-webhook tradeoff that the Python SDK is built on.
The architecture differs from the JS SDK in one important way:
FishjamClient is synchronous. Methods like create_room, create_peer, delete_peer are plain def, not async def. Call them from sync routes or via run_in_executor from async contexts.FishjamNotifier is async (asyncio + websockets). Use @notifier.on_server_notification and await notifier.connect().Agent is async (async context manager — async with agent.connect() as session: ...).receive_binary(raw_bytes) is sync — call it directly inside an async route handler or a sync one.pip install fishjam-server-sdk
# or: uv add fishjam-server-sdk
# or: poetry add fishjam-server-sdkimport os
from fishjam import FishjamClient, PeerOptions
fishjam_client = FishjamClient(
fishjam_id=os.environ['FISHJAM_ID'],
management_token=os.environ['FISHJAM_MANAGEMENT_TOKEN'],
)
room = fishjam_client.create_room()
peer, peer_token = fishjam_client.create_peer(
room.id,
PeerOptions(metadata={'userId': 'user-123'}),
)
# ship `peer_token` to your client| Component | What it does | Reference |
|---|---|---|
FishjamClient (sync) | REST — rooms, peers, agents, livestream/MoQ tokens, subscribe modes. | client.md |
FishjamNotifier (async) | Persistent WebSocket; one handler via decorator gets every event. | notifier.md |
receive_binary(bytes) (sync) | Decode an HTTP webhook body to a typed event. | webhooks.md |
Agent + AgentSession (async) | Server-side voice agent — async iter over incoming, await track.send_chunk(...). | agent.md |
| Task | Reference |
|---|---|
Any REST method on FishjamClient | client.md |
| Background WS task receiving events | notifier.md |
| HTTP route receiving webhook payloads | webhooks.md |
| Build a voice agent in Python | agent.md |
| Wire Gemini Live to an agent | gemini-integration.md |
| FastAPI / Flask wiring patterns | fastapi.md |
| Issue livestream / MoQ tokens | livestream-and-moq.md |
| Use manual subscribe mode | selective-subscriptions.md |
match, structural typing, PEP 604 unions.FishjamClient is sync. Calling it from async def works (it's a quick HTTP round-trip) but if you're in a hot async path consider await asyncio.to_thread(fishjam_client.create_peer, ...).FishjamNotifier does NOT auto-reconnect. Its connect() coroutine runs until the WS closes. Wrap it in a supervisor loop.@notifier.on_server_notification only stores the last function you decorate. Multi-dispatch in your one handler via match on the message type.await result if inspect.isawaitable(result).receive_binary(await req.body()) is fine inside an async FastAPI route.async with agent.connect() as session: is the only entry point.| File | When to read |
|---|---|
client.md | FishjamClient — every method, dataclass, error type. |
notifier.md | FishjamNotifier, wait_ready, the decorator pattern, pattern-matching on event types. |
webhooks.md | receive_binary, FastAPI / Flask receivers, security patterns. |
agent.md | Agent, AgentSession, OutgoingAudioTrackOptions, receive() async iterator. |
gemini-integration.md | fishjam.integrations.gemini, the GeminiIntegration singleton. |
fastapi.md | FastAPI patterns (Depends-injected client, async webhook route, background notifier). |
livestream-and-moq.md | create_livestream_streamer_token, create_livestream_viewer_token, create_moq_token. |
selective-subscriptions.md | subscribe_peer / subscribe_tracks with subscribe_mode='manual' rooms. |
© software-mansion-labs, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 8 other files in skills/fishjam/references/python-server-sdk of software-mansion-labs/skills.
Open the folder on GitHubat commit e3f00cd
Fishjam Python Server SDK next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Fishjam Python Server SDK this skillsoftware-mansion-labs/skills | 291 | — | ~1.3k | Automated safety check: Pass | Apache-2.0 | |
| Fix Slow Endpointvpcarlos/profyle | 123 | — | ~2.1k | Automated safety check: Pass | MIT | |
| Telegram Development Guide2025Emma/vibe-coding-cn | 23k | 1 repos | ~3.7k | Automated safety check: Pass | MIT | |
| Framework Migration AssistantArabelaTso/Skills-4-SE | 253 | — | ~1.9k | Automated safety check: Pass | Apache-2.0 | |
| Sentry Python SDKgetsentry/sentry-for-ai | 268 | — | ~4.1k | Automated safety check: Pass | Apache-2.0 | |
| E2a Integratetokencanopy/e2a | 192 | — | ~840 | Automated safety check: Pass | Apache-2.0 |
vpcarlos/profyle
Diagnose and fix a slow endpoint or request in a Python web app (FastAPI, Flask, Django, Tornado, any ASGI/WSGI framework) using real Profyle/VizTracer traces, then prove the fix by replaying the…
2025Emma/vibe-coding-cn
Chinese-language guide to building on Telegram: bots through the Bot API, Mini Apps in JavaScript and custom clients through TDLib, with Python examples.
ArabelaTso/Skills-4-SE
Automatically migrate Python web applications between frameworks (Flask → FastAPI, Django → FastAPI).
getsentry/sentry-for-ai
Full Sentry SDK setup for Python. An agent skill from getsentry/sentry-for-ai.
tokencanopy/e2a
A skill your agent uses when adding e2a email capabilities to an application or codebase: outbound sending, inbound signed webhooks, REST polling, or SDK integration.
databricks/databricks-agent-skills
Python backend for Databricks Apps — FastAPI (default), Flask, Dash, Streamlit, Gradio, Reflex.
software-mansion-labs/skills
Complete onboarding guide for developers who are new to Detour, the open-source deferred deep linking SDK by Software Mansion.
software-mansion-labs/skills
TypeGPU is type-safe WebGPU in TypeScript. An agent skill from software-mansion-labs/skills.
software-mansion-labs/skills
Enable react-native-worklets Bundle Mode (imports inside worklets, third party libraries on worklet runtimes) in an Expo, RN CLI or brownfield React Native app, including the mandatory…
software-mansion-labs/skills
Software Mansion's moq-kit — native Swift (iOS) and Kotlin (Android) SDKs for Media over QUIC (moq-lite) live streaming: sub-second-latency playback, camera/microphone/screen publishing, and…
software-mansion-labs/skills
Software Mansion's react-native-moq — Media over QUIC (MoQ) live streaming for React Native: sub-second-latency video/audio playback, camera/mic/screen publishing, and realtime data tracks over a…
software-mansion-labs/skills
Software Mansion's guide for migrating Expo SDK apps to Meta Quest using expo-horizon packages.
Categories
Python server SDK for Fishjam — backends that create rooms, mint peer tokens, receive server notifications, and run voice agents. Fishjam Python Server SDK is an agent skill from software-mansion-labs/skills. Python server SDK for Fishjam — backends that create rooms, mint peer tokens, receive server notifications, and run voice agents.
Fishjam Python Server SDK fits situations like: writing a Python backend (FastAPI; aiohttp) that talks to Fishjam; decorates a notification handler; decodes a Fishjam webhook.
Run `npx skills add software-mansion-labs/skills --skill fishjam-python-server-sdk -a claude-code`. Or copy the skill folder (skills/fishjam/references/python-server-sdk in software-mansion-labs/skills) into .claude/skills/fishjam-python-server-sdk in your project. Claude Code loads it when a task matches its description.
Run `npx skills add software-mansion-labs/skills --skill fishjam-python-server-sdk -a codex`. Or copy the skill folder (skills/fishjam/references/python-server-sdk in software-mansion-labs/skills) into .agents/skills/fishjam-python-server-sdk in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add software-mansion-labs/skills --skill fishjam-python-server-sdk -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fishjam-python-server-sdk, .gemini/skills/fishjam-python-server-sdk, .github/skills/fishjam-python-server-sdk and .opencode/skills/fishjam-python-server-sdk in your project.
Going by SKILL.md and its folder, Fishjam Python Server SDK needs the command-line tools its instructions call (pip) and credentials named FISHJAM_MANAGEMENT_TOKEN. Our summary lists: Python 3; A credential in FISHJAM_MANAGEMENT_TOKEN.
SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Fishjam Python Server SDK is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Fishjam Python Server SDK: Fix Slow Endpoint (vpcarlos/profyle, 123 stars), Telegram Development Guide (2025Emma/vibe-coding-cn, 23k stars), Framework Migration Assistant (ArabelaTso/Skills-4-SE, 253 stars) and Sentry Python SDK (getsentry/sentry-for-ai, 268 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
software-mansion-labs (a GitHub organization) maintains it in software-mansion-labs/skills, which has 291 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on September 28, 2026.
Source: software-mansion-labs/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.