Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/fiber-ai/fiber-ai-plugin/sdk-pynpx skills add fiber-ai/fiber-ai-plugin --skill sdk-pygit clone --depth 1 https://github.com/fiber-ai/fiber-ai-pluginWrote 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/fiber-ai/fiber-ai-plugin/sdk-py)<a href="https://agentmods.dev/skills/fiber-ai/fiber-ai-plugin/sdk-py"><img src="https://agentmods.dev/badge/skills/fiber-ai/fiber-ai-plugin/sdk-py.svg" alt="Measured on agentmods" height="20"></a>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.00037 | $0.01242 |
| Opus 5 | $0.00018 | $0.00621 |
| Sonnet 5 | $0.00007 | $0.00248 |
| Haiku 4.5 | $0.00004 | $0.00124 |
Grade A, and why
sdk-py 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 6d 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 — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Fiber AI Python SDK
Help the user write Python code using the fiberai package.
When to Use
- User wants to BUILD something with Fiber AI in Python
- User says "python", "script", "automation", "data pipeline", "backend"
- User wants a custom integration, ETL pipeline, or automation
Do Not Use When
- User just wants to search or enrich via chat — use
/fiber:searchor/fiber:enrichinstead - User wants to write TypeScript code — use
/fiber:sdk-tsinstead
Quick Start
import os
from fiberai import Client
from fiberai.api.search.company_search import sync as company_search_sync
from fiberai.models.company_search_body import CompanySearchBody
client = Client(base_url="https://api.fiber.ai")
result = company_search_sync(
client=client,
body=CompanySearchBody(
api_key=os.environ["FIBER_API_KEY"],
search_params={}, # Check https://api.fiber.ai/docs/ for filter schema
page_size=25,
),
)
Key Concepts
- The SDK provides typed functions for every API endpoint
- API functions are standalone module functions, not methods on the client — import them from
fiberai.api.{domain}.{operation} - Each module exports 4 variants:
sync,sync_detailed,asyncio,asyncio_detailed - Request bodies are typed model classes (not raw dicts) — import from
fiberai.models.{model_name} api_keyis a field on every body model (for POST) or query parameter (for GET) — not a header- Search filters go inside
search_params(notfilters) - Pagination uses
cursor(notpage) - The
ClientandAuthenticatedClientare the two exported client classes
Schema & Type Discovery
Fiber's request/response schemas are large and evolve across versions. The SDK is the best source of truth:
- From the installed package: inspect
fiberai.models.<ModelName>for every field. Usehelp(fiberai.models.CompanySearchBody)or IDE autocomplete to discover available fields forsearch_params,enrichment_type, etc. Model classes enforce correct field names at construction time. - From online docs: per-operation pages at
https://api.fiber.ai/ai-docs/<operationId>.mddescribe every field with examples. Start withhttps://api.fiber.ai/llms.txtfor routing. - From MCP at runtime: call
get_endpoint_details_full("<operationId>")on the Core MCP to get the full current schema. - Open-source examples:
https://github.com/fiber-ai/open-fiberhas working code samples.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 6d ago First seen · 111 lines · 37 tokens per session scan A 5cc4435c2c2d
sdk-py is a skill published in the GitHub repository fiber-ai/fiber-ai-plugin (2 stars, last pushed 2mo ago), licensed MIT. It adds 37 tokens to every session and 1,242 once invoked, about $0.0002 per session on Opus 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-31.
Other skills, from other repositories
django-patterns
Django architecture patterns, REST API design with DRF, ORM best practices, caching, signals, middleware, and production-grade Django apps.
fastapi-patterns
FastAPI patterns for async APIs, dependency injection, Pydantic request and response models, OpenAPI docs, tests, security, and production readiness.
stripe-projects
Use after E2B sandbox/API access has been provisioned through Stripe Projects and the user needs to use the resulting E2B API key with the E2B CLI, JavaScript SDK, Python SDK, or Code Interpreter SDK.
azure-mgmt-botservice-py
Azure Bot Service Management SDK for Python. Use for creating, managing, and configuring Azure Bot Service resources. Triggers: "azure-mgmt-botservice", "AzureBotService", "bot management", "conversational AI", "bot channels".
azure-messaging-webpubsubservice-py
Azure Web PubSub Service SDK for Python. Use for real-time messaging, WebSocket connections, and pub/sub patterns. Triggers: "azure-messaging-webpubsubservice", "WebPubSubServiceClient", "real-time", "WebSocket", "pub/sub".
fastapi-app
Bootstrap a new FastAPI backend with async SQLAlchemy 2.0, asyncpg, Alembic, Pydantic v2, and no deprecated APIs. Use when the user wants to start, scaffold, or set up a new FastAPI service, a Python REST API, an async backend, or asks to "create a new fastapi app" or "new python backend". Handles JWT auth, layered…