zjs105910/workbuddy-market / bundled/novel-writing-suite/skills/story-setup
story-setup
Flagged网文写作工具集基础设施部署与检查。为 Claude Code / OpenCode / Codex / Google Antigravity / ZCode / OpenClaw / Reasonix 提供内置适配;Web AI / 通用 Agent 可走 skills + AGENTS.md 文件模式。触发方式:/story-setup、$story-setup、「准备写书」「帮我搭一下环境」「配置写作项目」「检查写作环境」。
references/codex/hooks/run-story-hook.cmd
View on GitHub@echo off
setlocal
set "EVENT=%~1"
if /I "%EVENT%"=="session-start" goto event_ok
if /I "%EVENT%"=="pre-tool-prose-guard" goto event_ok
if /I "%EVENT%"=="pre-tool-commit-advisory" goto event_ok
if /I "%EVENT%"=="pre-compact" goto event_ok
if /I "%EVENT%"=="post-compact" goto event_ok
if /I "%EVENT%"=="stop" goto event_ok
exit /b 2
:event_ok
set "HOOK=%~dp0story_codex_hook.py"
if not exist "%HOOK%" exit /b 0
for %%I in ("%~dp0..\..") do set "CODEX_PROJECT_DIR=%%~fI"
set "PYBIN="
for %%P in (python3 python py) do (
if not defined PYBIN (
%%P -c "" >nul 2>&1
if not errorlevel 1 set "PYBIN=%%P"
)
)
if not defined PYBIN exit /b 0
"%PYBIN%" "%HOOK%" "%EVENT%"
exit /b %ERRORLEVEL%
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse 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 | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |