From narnia
Start, stop, restart, and check status of the Narnia web UI server. Handles locating the Narnia source (local checkout or clone from GitHub), building, and running the Blazor web application on http://localhost:5244.
How this skill is triggered — by the user, by Claude, or both
Slash command
/narnia:narnia-web-serverThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Manage the lifecycle of the Narnia web UI — a Blazor Server application that lets
Manage the lifecycle of the Narnia web UI — a Blazor Server application that lets you browse, search, and visualize your GitHub Copilot CLI session history.
open_narnia_ui MCP tool failed or is unavailable| Action | What happens |
|---|---|
| Start | Locate source → dotnet build → dotnet run --no-build (detached) → health-check |
| Stop | Find process listening on port 5244 → terminate it |
| Restart | Stop → Start |
| Status | HTTP GET http://localhost:5244 — report up/down |
| Update | git pull in source dir → rebuild → restart if was running |
The source is needed for Start, Update, and Restart (if rebuild is needed).
<repo-root>/src/NexusLabs.Narnia.Web/NexusLabs.Narnia.Web.csprojC:\dev\nexus-labs\narnia, ~/dev/nexus-labs/narnia, ~/source/narnia# Choose a cache location
CACHE_DIR="$HOME/.copilot/cache/narnia" # Unix
CACHE_DIR="$env:USERPROFILE\.copilot\cache\narnia" # Windows
# Clone if not already cached
git clone https://github.com/ncosentino/narnia.git "$CACHE_DIR"
$NARNIA_ROOT for subsequent steps.dotnet build "$NARNIA_ROOT/src/NexusLabs.Narnia.Web" --configuration Release
If this fails, show the full error output to the user and stop.# The project's launchSettings.json binds to http://localhost:5244
dotnet run --project "$NARNIA_ROOT/src/NexusLabs.Narnia.Web" --no-build --configuration Release
Launch this as a detached async shell (mode="async", detach=true).http://localhost:5244 every 2 seconds for up to 30 seconds:
# PowerShell
Invoke-WebRequest -Uri http://localhost:5244 -UseBasicParsing -TimeoutSec 2
# Bash
curl -sf --max-time 2 http://localhost:5244
# PowerShell
Start-Process "http://localhost:5244"
# Bash / macOS
open "http://localhost:5244"
# Windows PowerShell
$conn = Get-NetTCPConnection -LocalPort 5244 -State Listen -ErrorAction SilentlyContinue
$conn.OwningProcess
# Unix
lsof -ti :5244
Stop-Process -Id <PID>
kill <PID>
http://localhost:5244:
git -C "$NARNIA_ROOT" pull
http://localhost:5244 (configured in src/NexusLabs.Narnia.Web/Properties/launchSettings.json).~/.copilot/session-store.db by default. No special config needed.dotnet is not found, tell the user to install it from https://dot.net/download.Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
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 ncosentino/narnia --plugin narnia