From Last Light
Installs the lastlight CLI and connects it as a client to an existing Last Light server — login, token save, and connection verification.
How this skill is triggered — by the user, by Claude, or both
Slash command
/lastlight:lastlight-clientThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The `lastlight` CLI is a thin HTTP client: it POSTs triggers and reads a running
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
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.
npx claudepluginhub nearform/lastlight --plugin lastlightInstalls and configures a Last Light SERVER — a GitHub maintenance agent with a docker-compose stack. Use when deploying or setting up a Last Light instance for the first time.
Authenticates users with Zeabur via browser-based login or token-based login for CI/CD. Checks auth status and logs out.
Guides users through setting up the redhat-community-ai-tools Slack MCP server for Claude Code using browser session tokens.