piyushbuildsai/skilldotmd-library/stepfun
Claude Code and agent skill by piyushbuildsai/skilldotmd-library
- community
Checking that the SKILL.md file is still in the repository.
Use this skill when working with Stepfun LLMs (Step-1, Step-2). Triggers when user mentions Stepfun or uses the Stepfun API endpoint.
Install
npx vskill@latest install piyushbuildsai/skilldotmd-library/stepfunSKILL.md
The same SKILL.md was published earlier as piyushbuildsai/skilldotmd-library/stepfun.
Stepfun
What this is
Stepfun provides a suite of large-scale language models including Step-1 (text), Step-1V (multimodal/vision), and Step-2. It offers an OpenAI-compatible API interface, allowing developers to integrate high-performance Chinese-centric LLMs with context windows up to 256k.
Installation
Stepfun uses the standard OpenAI SDK for integration:
Key concepts
- API Compatibility: Uses the OpenAI client but requires a custom
base_url. - Model Tiers: Models are categorized by context window size (e.g.,
step-1-8k,step-1-32k,step-1-128k,step-1-256k). - Step-1V: A multimodal model capable of understanding images and text simultaneously.
- Step-2: Next-generation model with improved reasoning and knowledge capabilities.
Correct usage patterns
Basic Chat Completion
Always set the base_url to https://api.stepfun.com/v1.
Vision Input (Step-1V)
Use the step-1v-32k model for image-related tasks.
Common mistakes to avoid
- Incorrect Base URL: Forgetting to set
base_url="https://api.stepfun.com/v1"will cause the SDK to default to OpenAI's servers. - Model Naming: Using OpenAI model names (like
gpt-4) instead of Stepfun names (likestep-1-256k). - Context Overload: Choosing a model with a context window too small for the input (e.g., using
8kfor a100kdocument). - Vision Model Selection: Trying to perform image analysis with
step-1-8kinstead of the multimodalstep-1vseries.
File and folder conventions
- Environment Variables: Store the API key in
.envasSTEPFUN_API_KEY. - Configuration: Centralize client creation in a
client.pyorconfig.pyfile to ensure thebase_urlis consistently applied.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinggenerated/stepfun/SKILL.md
Popularity
- Repository forks
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/piyushbuildsai/skilldotmd-library/stepfun)