executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
windsurf-install-authInstall and configure Windsurf SDK/CLI authentication. Use when setting up a new Windsurf integration, configuring API keys, or initializing Windsurf in your project. Trigger with phrases like "install windsurf", "setup windsurf", "windsurf auth", "configure windsurf API key".
Independent GitHub snapshot · Automated classification · Original documentation governs
Set up Windsurf SDK/CLI and configure authentication credentials.
# Node.js
npm install @windsurf/sdk
# Python
pip install windsurf
# Set environment variable
export WINDSURF_API_KEY="your-api-key"
# Or create .env file
echo 'WINDSURF_API_KEY=your-api-key' >> .env
// Test connection code here
| Error | Cause | Solution |
|---|---|---|
| Invalid API Key | Incorrect or expired key | Verify key in Windsurf dashboard |
| Rate Limited | Exceeded quota | Check quota at https://docs.windsurf.com |
| Network Error | Firewall blocking | Ensure outbound HTTPS allowed |
| Module Not Found | Installation failed | Run npm install or pip install again |
import { WindsurfClient } from '@windsurf/sdk';
const client = new WindsurfClient({
apiKey: process.env.WINDSURF_API_KEY,
});
from windsurf import WindsurfClient
client = WindsurfClient(
api_key=os.environ.get('WINDSURF_API_KEY')
)
After successful auth, proceed to windsurf-hello-world for your first API call.