What problem does it solve? Setting up an AI-assisted web-novel writing environment requires manually installing hooks, rules, agent definitions, and configuration files across different AI coding tools, which is error-prone and risks overwriting existing user configuration. ## Core Features & Use Cases - Multi-CLI Deployment: Detects or prompts for the target CLI (Claude Code, OpenCode, Codex, OpenClaw) and deploys the matching hooks, agents, commands, and AGENTS.md/CLAUDE.md templates. - Non-Destructive Merging: Merges CLAUDE.md, AGENTS.md, settings.local.json, opencode.json, and Codex hooks.json by marker/section or command deduplication instead of overwriting user configuration. - Agent Model Configuration: Detects available OpenCode models via opencode models --verbose, tiers them by cost or keyword heuristics, and writes per-agent model: fields after interactive selection. - Versioned Upgrades: Tracks deployment state in a .story-deployed sentinel file and guides re-deployment through UPGRADING.md version history. - Use Case: A novelist starting a new long-form project runs the setup once to install outline guards, prose-quality hooks, and seven writing agents, then opens a new session and begins writing with /story-long-write. ## Quick Start Ask the AI to run /story-setup in your writing project directory and choose your target CLI when prompted.