/lastlight:lastlight-clientfrom Last Light
Installs the lastlight CLI and connects it as a client to an existing Last Light server, handling login, token storage, and connection verification.
Ships in Last Light. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The lastlight CLI is a thin HTTP client: it POSTs triggers and reads a running
instance's admin API. As a client it needs only the instance URL and an auth
token, saved to ~/.lastlight/config.json (mode 0600).
command -v lastlight >/dev/null && echo "installed" || npm i -g lastlight
Ask the user for the instance URL (e.g. https://lastlight.example.com). If they
don't know it, they need it from whoever runs the server.
Two paths — pick based on environment:
Browser handoff (default, interactive desktop):
lastlight login https://lastlight.example.com
Opens the dashboard; the user authenticates with whatever method the server has (password / Slack / GitHub OAuth) and the token is captured automatically.
Headless / no browser (SSH, CI, server box):
lastlight login https://lastlight.example.com --password
Prompts for the admin password and POSTs it to /admin/api/login. Requires the
server to have ADMIN_PASSWORD set.
The token (≈7-day TTL) is saved to ~/.lastlight/config.json.
lastlight status
Confirm: Server healthy, Token valid. If the token shows
expired/invalid, re-run lastlight login.
http://localhost:8644):
LASTLIGHT_URL=https://ll.example.com LASTLIGHT_TOKEN=... lastlight status
lastlight status --url https://ll.example.com --token ...
lastlight logout clears the saved config.lastlight setup --client is equivalent to lastlight login.lastlight chat "hello" # chat with the bot (REPL if no message)
lastlight owner/repo#123 # triage an issue (default, cheap)
lastlight build owner/repo#123 # full build cycle
lastlight triage|review owner/repo[#N] # repo scan or single issue/PR
lastlight health|security owner/repo # repo-level report
lastlight workflow list|log <id> # inspect runs
lastlight session list|log <id> -f # tail a sandbox session
lastlight logs search "<text>" # search errors / transcripts
lastlight approvals list|approve|reject
For a full debugging runbook (find a failed/stuck run, tail sessions, read
server/docker logs, crons, stats) use lastlight-debug.
lastlight status reports the server healthy and the token valid. Report the
connected instance URL and a couple of commands the user can run next.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub nearform/lastlight --plugin lastlight7 skills in this plugin
/lastlight-debugDebug a running Last Light instance over its admin API with the `lastlight` CLI — no SSH. Use when the user wants to "look at / debug a failed or stuck workflow", "why didn't the bot do X", "check a bad agent run / phase error on <instance>", "tail a session", "search the logs", "read the server/docker logs", "list/trigger a cron", "resolve an approval", or "check stats/cost" against a deployed server. Needs a CLI already connected (see lastlight-client to log in). For standing up the server use lastlight-server; for editing config/workflows use lastlight-overlay./lastlight-evalsScaffold, configure and run a Last Light EVALS workspace — the harness that runs Last Light's real workflows against a mocked GitHub and grades them deterministically. Use when the user wants to "set up / scaffold Last Light Evals", "create an evals workspace or instance", "run evals", "compare models", or author new eval cases — including "create an eval dataset/case from this PR/issue <github url>" and "create a PR-review eval dataset from these gold PRs" (triage / code-fix / pr-review instances, via `add-case --pr <url> --review|--code-fix` / `--issue`). GitHub is mocked when running, so no real GitHub token is needed — only a model provider API key (the one exception is `add-case`, which reads real PRs/issues via `gh`)./lastlight-evals-loopDrive a Last Light EVAL toward a target score with a disciplined, anti-gaming improvement loop — run → mine failures → propose candidate fix(es) → re-measure → keep the best or revert → repeat. Use when the user wants to "improve / raise the pr-review F1", "make the reviewer better against the eval", "close the loop on evals", "iterate on prompts/skills to pass more cases", or "tune the workflow to hit a score target". The loop diagnoses on a TRAIN split and validates on a BLIND held-out split so fixes must generalize, not overfit; it prefers generic overlay prompt/skill edits, and stops for human sign-off before editing any gold answer. For a one-off run/compare use lastlight-evals; to hand-fork a workflow/prompt use lastlight-overlay. Needs an already-scaffolded evals workspace (lastlight-evals) with a pr-review dataset./lastlight-guideOrientation & router for the Last Light skills. Use ONLY when the user has NOT named a concrete Last Light task — i.e. they're unsure which skill/flow they need, ask "what can Last Light do / where do I start", say "help me with Last Light" with no specific goal, or want a guided tour across server / client / overlay / debug / evals. Do NOT use when the ask already names a task — "set up/deploy a server" → lastlight-server, "connect/log in my CLI" → lastlight-client, "customize a workflow/prompt/persona/config" → lastlight-overlay, "debug a failed/stuck workflow or run on an instance" → lastlight-debug, "run evals / compare models / author a case / build a PR-review dataset" → lastlight-evals, "iteratively improve an eval toward a target score" → lastlight-evals-loop: invoke that skill directly. This skill only routes and, when the goal is ambiguous, asks. Also invocable as /lastlight-guide./lastlight-overlayCreate or customize a Last Light deployment OVERLAY (the private instance/ repo) — scaffold it, then fork built-in workflows, prompts, skills, or the agent persona (agent-context) so a deployment can override them. Use when the user wants to "create a Last Light overlay / instance repo", "customize / fork a workflow", "override a prompt or skill", "change the agent's persona/soul/rules", or tune a deployment's config without forking the whole codebase. For first-time server install use lastlight-server./lastlight-serverInstall and configure a Last Light SERVER — the GitHub maintenance agent plus its docker-compose stack — on a host. Use when the user wants to "set up / install / deploy / stand up a Last Light server or instance", configure its GitHub App, models, managed repos, or domain, or get the agent running for the first time. Drives the `lastlight` CLI; for connecting an existing CLI to a server use lastlight-client instead, and for editing a running deployment's config use lastlight-overlay.Other plugins' skills for the same job