Imported from aijadugar/skyboy (
skills/model-providers/stepfun/SKILL.md). Install upstream withnpx skills add aijadugar/skyboy --skill stepfun. Copyright stays with the author (MIT).
Command
Install this skill with:
skyboy add stepfun
Or preview it first with skyboy info stepfun.
StepFun
Use this skill when integrating with StepFun as a model provider. Covers API setup, authentication, model selection, and best practices for production use.
When it applies
- Setting up StepFun API credentials and SDK
- Choosing the right model from StepFun's offerings
- Handling rate limits, retries, and error responses
- Optimizing cost and latency with StepFun
- Streaming responses and tool use with StepFun
Quick start
# Install the SDK (example — adapt to the provider's actual package)
npm install @stepfun/sdk
import { StepFunClient } from "@stepfun/sdk";
const client = new StepFunClient({
apiKey: process.env.STEPFUN_API_KEY,
});
Model selection
StepFun offers models across capability tiers. Choose based on your use case:
| Use case | Recommended model |
|---|---|
| General chat | Check StepFun's latest flagship model |
| Code generation | Look for code-tuned variants |
| Fast inference | Use smaller/distilled models |
| Long context | Check context window limits |
Best practices
- Rate limits: Respect StepFun's published RPM/TPM limits; implement exponential backoff.
- Streaming: Use streaming for interactive UIs to reduce time-to-first-token.
- Cost control: Cache responses where possible; use shorter prompts with system instructions.
- Error handling: Map StepFun's error codes to user-friendly messages; never leak API keys client-side.
References
- StepFun official documentation
- StepFun API reference
StepFun Skills
StepFun's public skills ecosystem (skills/ in this folder; no dedicated plugin repositories published to date):
| Skill | Repository | Description | Language | License |
|---|---|---|---|---|
| stepaudio-skills | stepfun-ai/StepAudio-Skills | Audio skills for Claw — speech and audio agent capabilities | Python | Apache-2.0 |