Skip to content

feat: add OpenClaw automated setup scripts#40

Open
Daiyimo wants to merge 1 commit intostepfun-ai:mainfrom
Daiyimo:add-openclaw-stepfun-scripts
Open

feat: add OpenClaw automated setup scripts#40
Daiyimo wants to merge 1 commit intostepfun-ai:mainfrom
Daiyimo:add-openclaw-stepfun-scripts

Conversation

@Daiyimo
Copy link

@Daiyimo Daiyimo commented Mar 16, 2026

feat: add automated setup scripts for OpenClaw + Step 3.5 Flash

📦 Added Files

  • cookbooks/openclaw/add_stepfun.sh - Linux/macOS one-line setup
  • cookbooks/openclaw/install_stepfun.ps1 - Windows PowerShell setup (auto-elevate)
  • Updated cookbooks/openclaw/README.md with "Automated Setup Scripts" section

✨ Features

  • Interactive configuration: Choose between OpenRouter Free (50 RPM) or StepFun Official API
  • Automatic backup: Timestamped backup of ~/.openclaw/openclaw.json
  • Cross-platform: Full support for Linux, macOS, and Windows
  • Dependency validation: Checks for jq (Unix) and admin rights (Windows)
  • UTF-8 support: Proper Chinese character handling on Windows
  • Safe operation: Non-destructive, preserves existing configuration

🚀 Usage

Linux / macOS

```bash
curl -fsSL https://raw.githubusercontent.com/stepfun-ai/Step-3.5-Flash/main/cookbooks/openclaw/add_stepfun.sh | sudo bash
```

Windows (PowerShell as Admin)

```powershell
irm "https://raw.githubusercontent.com/stepfun-ai/Step-3.5-Flash/main/cookbooks/openclaw/install_stepfun.ps1" -UseBasicParsing | iex
```

📝 Context

These scripts originate from the openclaw-napcat project, where they have been battle-tested by the community. They provide a convenient alternative to manual WebUI configuration for users who prefer command-line tools.

✅ Checklist

  • Scripts work on all supported platforms
  • README updated with clear usage instructions
  • Backwards compatible (does not break existing manual configs)
  • No breaking changes to existing cookbook structure

Co-authored-by: Claude noreply@anthropic.com

- add_stepfun.sh for Linux/macOS (interactive, with backup)
- install_stepfun.ps1 for Windows (auto-elevation, UTF-8 support)
- Update README.md with "Automated Setup Scripts" section

Scripts provide one-line configuration:
  - Choice of OpenRouter Free (50 RPM) or StepFun Official API
  - Automatic provider and model setup
  - Sets Step 3.5 Flash as primary model
  - Creates timestamped backups of openclaw.json

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant