sdk-py

sdk-py is a skill for Claude Code from fiber-ai/fiber-ai-plugin. It costs 37 tokens per session (1,242 once invoked), scanned A, original, MIT.

Guidance for writing Python applications, scripts, automations, and data pipelines that call Fiber AI through its fiberai package. The package provides typed functions for Fiber AI API endpoints.

In plain words
What is it for?
Use it to build Python integrations that search Fiber AI, create automations, or connect its APIs to back-end and data-processing workflows.
Why use it?
It gives developers the package structure and usage patterns needed to connect Python code to Fiber AI without guessing how its API functions are organized.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the fiber plugin — 16 skills, 4 commands, 7 agents, 3 MCP servers shipped together

Install

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.

agentmods
npx agentmods add skills/fiber-ai/fiber-ai-plugin/sdk-py
Any agent
npx skills add fiber-ai/fiber-ai-plugin --skill sdk-py
Clone the repo
git clone --depth 1 https://github.com/fiber-ai/fiber-ai-plugin

Made for: Claude Code.

Or install fiber, the plugin that ships this one along with the rest of its 16 skills, 4 commands, 7 agents, 3 MCP servers.

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 sdk-py

README.md
[![agentmods](https://agentmods.dev/badge/skills/fiber-ai/fiber-ai-plugin/sdk-py.svg)](https://agentmods.dev/skills/fiber-ai/fiber-ai-plugin/sdk-py)
Your own site
<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>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,242 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00037 $0.01242
Opus 5 $0.00018 $0.00621
Sonnet 5 $0.00007 $0.00248
Haiku 4.5 $0.00004 $0.00124

Measured 6d ago against content hash 5cc4435c2c2d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

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.

skills/sdk-py/SKILL.md · 111 lines

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:search or /fiber:enrich instead
  • User wants to write TypeScript code — use /fiber:sdk-ts instead

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_key is a field on every body model (for POST) or query parameter (for GET) — not a header
  • Search filters go inside search_params (not filters)
  • Pagination uses cursor (not page)
  • The Client and AuthenticatedClient are 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:

  1. From the installed package: inspect fiberai.models.<ModelName> for every field. Use help(fiberai.models.CompanySearchBody) or IDE autocomplete to discover available fields for search_params, enrichment_type, etc. Model classes enforce correct field names at construction time.
  2. From online docs: per-operation pages at https://api.fiber.ai/ai-docs/<operationId>.md describe every field with examples. Start with https://api.fiber.ai/llms.txt for routing.
  3. From MCP at runtime: call get_endpoint_details_full("<operationId>") on the Core MCP to get the full current schema.
  4. Open-source examples: https://github.com/fiber-ai/open-fiber has working code samples.

Read the full file on GitHub · 111 lines

Files

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.

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. 6d ago First seen · 111 lines · 37 tokens per session scan A 5cc4435c2c2d

Subscribe to this mod's changes

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.

Related

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.

affaan-m/ECC · 32 tokens

fastapi-patterns

FastAPI patterns for async APIs, dependency injection, Pydantic request and response models, OpenAPI docs, tests, security, and production readiness.

affaan-m/ECC · 35 tokens

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.

e2b-dev/E2B · 51 tokens

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".

microsoft/skills · 59 tokens

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".

microsoft/skills · 64 tokens

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…

ccplugins/awesome-claude-code-plugins · 103 tokens