From wordsmith
Launch the visual novel management dashboard (read-only Web Dashboard) to view project status, entity graphs, and chapter content in real time.
How this skill is triggered — by the user, by Claude, or both
Slash command
/wordsmith:webnovel-dashboardThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**You MUST read `../../STYLE_GUIDE_VN.md` before starting any task.**
You MUST read ../../STYLE_GUIDE_VN.md before starting any task.
The STYLE_GUIDE_VN.md contains authoritative Vietnamese writing patterns that MUST be applied:
8 Error Types to Avoid (from user feedback):
Key Patterns from Ta Dung Nhin Vo Lam Toang:
Launch a read-only local web dashboard for visualizing the current novel project:
The dashboard uses watchdog to monitor changes in the .webnovel/ directory and refreshes in real time; it does not modify the project in any way.
export WORKSPACE_ROOT="${CLAUDE_PROJECT_DIR:-$PWD}"
if [ -z "${CLAUDE_PLUGIN_ROOT}" ] || [ ! -d "${CLAUDE_PLUGIN_ROOT}/dashboard" ]; then
echo "ERROR: Dashboard module not found: ${CLAUDE_PLUGIN_ROOT}/dashboard" >&2
exit 1
fi
export DASHBOARD_DIR="${CLAUDE_PLUGIN_ROOT}/dashboard"
python -m pip install -r "${DASHBOARD_DIR}/requirements.txt" --quiet
export SCRIPTS_DIR="${CLAUDE_PLUGIN_ROOT}/scripts"
export PROJECT_ROOT="$(python "${SCRIPTS_DIR}/webnovel.py" --project-root "${WORKSPACE_ROOT}" where)"
echo "Project path: ${PROJECT_ROOT}"
# Ensure `python -m dashboard.server` can locate the plugin module from any working directory
if [ -n "${PYTHONPATH:-}" ]; then
export PYTHONPATH="${CLAUDE_PLUGIN_ROOT}:${PYTHONPATH}"
else
export PYTHONPATH="${CLAUDE_PLUGIN_ROOT}"
fi
# The frontend dist is shipped with the plugin; if missing, the installation package is corrupted
if [ ! -f "${DASHBOARD_DIR}/frontend/dist/index.html" ]; then
echo "ERROR: Missing frontend build artifact ${DASHBOARD_DIR}/frontend/dist/index.html" >&2
echo "Please reinstall the plugin or contact the maintainer to fix the release package." >&2
exit 1
fi
python -m dashboard.server --project-root "${PROJECT_ROOT}"
The browser will open automatically to http://127.0.0.1:8765 after startup.
To launch without opening the browser automatically:
python -m dashboard.server --project-root "${PROJECT_ROOT}" --no-browser
PROJECT_ROOT to prevent path traversal.--port 9000 argument.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub nntrivi2001/wordsmith --plugin wordsmith