rw-setup-api-key
Guide users through obtaining and configuring a Runway API key
What this skill does
# Setup API Key
Guide the user through obtaining a Runway API key, installing the SDK, and configuring their project for API access.
> **PREREQUISITE:** Run `+rw-check-compatibility` first to ensure the project has server-side capability.
## Step 1: Create a Runway Developer Account
Direct the user to:
1. Go to **https://dev.runwayml.com/**
2. Create an organization (or use an existing one)
3. Navigate to **Organization Settings → API Keys**
4. Click **Create API Key**
5. **Copy the key immediately** — it is only shown once and cannot be recovered
**Important warnings to tell the user:**
- Lost keys cannot be retrieved. If lost, disable the old key and create a new one.
- API keys are **organization-scoped**, not user-scoped.
- You must **prepay for credits** before the API will work. Minimum purchase is **$10** (1,000 credits at $0.01/credit). Do this at https://dev.runwayml.com/ under billing.
## Step 2: Install the SDK
### Node.js
```bash
npm install @runwayml/sdk
```
Requires **Node.js 18+**. The SDK includes TypeScript type definitions.
### Python
```bash
pip install runwayml
```
Requires **Python 3.8+**. Includes MyPy type annotations.
## Step 3: Configure the Environment Variable
The SDK automatically reads the API key from the `RUNWAYML_API_SECRET` environment variable.
### Option A: `.env` file (recommended for development)
Check if the project already has a `.env` file. If so, append to it. If not, create one.
```
RUNWAYML_API_SECRET=your_api_key_here
```
**For Node.js projects:** Ensure the project loads `.env` files:
- **Next.js, Remix, Vite** — built-in `.env` support, no extra setup needed
- **Express/Fastify/plain Node** — install `dotenv`:
```bash
npm install dotenv
```
Add to the entry point:
```javascript
import 'dotenv/config';
```
**For Python projects:** Ensure `python-dotenv` is installed if not using a framework with built-in support:
```bash
pip install python-dotenv
```
Add to the entry point:
```python
from dotenv import load_dotenv
load_dotenv()
```
### Option B: System environment variable
```bash
export RUNWAYML_API_SECRET=your_api_key_here
```
### Option C: Pass directly to the client (not recommended)
```javascript
// Node.js
const client = new RunwayML({ apiKey: 'your_api_key_here' });
```
```python
# Python
client = RunwayML(api_key='your_api_key_here')
```
**Warn the user:** Never hardcode keys in source code. Use environment variables or a secrets manager.
## Step 4: Update .gitignore
Ensure `.env` is in `.gitignore` to prevent accidentally committing the API key:
```
.env
.env.local
.env.*.local
```
Check the existing `.gitignore` and add the entry if it's missing.
## Step 5: Verify the Setup
Suggest the user run a quick verification:
### Node.js
```javascript
import RunwayML from '@runwayml/sdk';
const client = new RunwayML();
// If no error is thrown, the API key is configured correctly
console.log('Runway SDK initialized successfully');
```
### Python
```python
from runwayml import RunwayML
client = RunwayML()
# If no error is thrown, the API key is configured correctly
print('Runway SDK initialized successfully')
```
## Step 6: Confirm Credit Balance
Remind the user:
- The API requires **prepaid credits** to function
- Minimum purchase: **$10** (1,000 credits)
- Purchase at: **https://dev.runwayml.com/** → Billing
- They can check their balance via the API:
```javascript
// Node.js - check organization info
const response = await fetch('https://api.dev.runwayml.com/v1/organization', {
headers: {
'Authorization': `Bearer ${process.env.RUNWAYML_API_SECRET}`,
'X-Runway-Version': '2024-11-06'
}
});
const org = await response.json();
console.log('Credits:', org.creditBalance);
```
## Security Checklist
Before moving on, verify:
- [ ] API key is stored in an environment variable, not hardcoded
- [ ] `.env` file is in `.gitignore`
- [ ] API calls will only happen server-side (not in browser-executed code)
- [ ] User has purchased credits
## Next Steps
Once the API key is configured, the user can proceed with integration:
- `+rw-integrate-video` — Video generation (text-to-video, image-to-video)
- `+rw-integrate-image` — Image generation
- `+rw-integrate-audio` — Audio generation (TTS, sound effects, voice)
- `+rw-integrate-uploads` — File upload for models that require image/video input
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.