openstoryline-use
Use this skill when OpenStoryline is already installed and the user wants to start the local MCP/Web services, create or continue a session, send editing…
Install, configure, and start FireRed-OpenStoryline from source on a local machine. Use when a user asks to set up OpenStoryline, troubleshoot installation, download required resources, fill config.toml API keys, or launch the MCP and web services, as well as Chinese requests
$ npx -y skills add fireredteam/firered-openstoryline --skill openstoryline-install --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/openstoryline-installContext preview
The summary Claude sees to decide when to auto-load this skill.
Install, configure, and start FireRed-OpenStoryline from source on a local machine. Use when a user asks to set up OpenStoryline, troubleshoot installation, download required resources, fill config.toml API keys, or launch the MCP and web services, as well as Chinese requests
name: openstoryline-install description: Install, configure, and start FireRed-OpenStoryline from source on a local machine. Use when a user asks to set up OpenStoryline, troubleshoot installation, download required resources, fill config.toml API keys, or launch the MCP and web services, as well as Chinese requests like “安装 OpenStoryline”, “配置 OpenStoryline”, “启动 OpenStoryline”, “把 OpenStoryline 跑起来”, “修复 OpenStoryline 安装问题”, or “排查 OpenStoryline 启动失败”.
Use this skill when the task is to install or repair a local source checkout of FireRed-OpenStoryline.
Keep the workflow deterministic:
1. Confirm the repo path and read the current README.md and config.toml. 2. Detect local prerequisites before changing anything. 3. Prefer a local `venv` install unless the user explicitly asks for Docker or `conda`. 4. Download resources only after Python dependencies succeed. 5. Validate imports and config loading before claiming success. 6. This skill assumes macOS, Linux, or WSL with a POSIX shell.
Check these first:
Optional:
If `ffmpeg`, `wget`, or `unzip` are missing, install them through the OS package manager before continuing.
Examples:
brew install ffmpeg wget unzip
sudo apt-get update sudo apt-get install -y ffmpeg wget unzip
If no supported package manager or permission is available, stop and report the missing system dependency clearly.
First prefer any interpreter that already exists and passes version checks:
1. A system Python `>= 3.11` 2. An already available conda Python `>= 3.11` 3. An already available pyenv Python `>= 3.11`, but only if basic stdlib modules work
Validate candidate interpreters before using them:
/path/to/python -c "import ssl, sqlite3, venv; print('stdlib_ok')"If no supported interpreter already exists, peferr conda fallback:
conda create -y -n openstoryline-py311 python=3.11 conda run -n openstoryline-py311 python --version conda run -n openstoryline-py311 python -m venv .venv
After a supported interpreter is found, always create a repo-local .venv and continue using .venv/bin/python for install, config validation, and service startup.
Do not duplicate the rest of the workflow for pyenv or conda unless the user explicitly asks to stay inside a conda environment.
From the repo root:
/path/to/python -m venv .venv .venv/bin/python -m pip install --upgrade pip .venv/bin/python -m pip install -r requirements.txt bash download.sh
Notes:
Before starting the app, update config.toml.
You can use scripts/update_config.py.
At minimum, fill:
.venv/bin/python scripts/update_config.py --config ./config.toml --set llm.model=REPLACE_WITH_REAL_MODEL .venv/bin/python scripts/update_config.py --config ./config.toml --set llm.base_url=REPLACE_WITH_REAL_URL .venv/bin/python scripts/update_config.py --config ./config.toml --set llm.api_key=sk-REPLACE_WITH_REAL_KEY .venv/bin/python scripts/update_config.py --config ./config.toml --set vlm.model=REPLACE_WITH_REAL_MODEL .venv/bin/python scripts/update_config.py --config ./config.toml --set vlm.base_url=REPLACE_WITH_REAL_URL .venv/bin/python scripts/update_config.py --config ./config.toml --set vlm.api_key=sk-REPLACE_WITH_REAL_KEY
Optional but common:
Run these checks before saying installation is complete:
.venv/bin/pip check
PYTHONPATH=src .venv/bin/python -c "from open_storyline.config import load_settings; load_settings('config.toml'); print('config_ok')"Also confirm key resources exist:
test -f .storyline/models/transnetv2-pytorch-weights.pth test -d resource/bgms
There are two common paths. These are long-running processes. Do not wait for them to exit normally. Treat successful startup log lines or confirmed listening ports as success, and keep the services running in separate shells/sessions as needed.
Manual start:
PYTHONPATH=src .venv/bin/python -m open_storyline.mcp.server
In a second shell:
PYTHONPATH=src .venv/bin/python -m uvicorn agent_fastapi:app --host 127.0.0.1 --port 8005
After a successful install:
Symptom:
Fix:
Symptom:
Fix:
When reporting status to the user, separate:
Do not say "installation complete" if only the Pytho
FireRed-OpenStoryline is an AI video editing agent that transforms manual editing into intention-driven directing through natural language interaction, LLM-powered planning, and precise tool orchestration. It facilitates transparent, human-in-the-loop creation with reusable Style Skills for consistent, professional storytelling.
Use this skill when OpenStoryline is already installed and the user wants to start the local MCP/Web services, create or continue a session, send editing…