lastlight-client

lastlight-client is a skill for Claude Code from nearform/lastlight. It costs 101 tokens per session (814 once invoked), scanned A, original, MIT.

A setup guide for the Last Light command-line client, which connects to an already running Last Light server. Last Light is a GitHub maintenance agent that can receive commands through its server.

In plain words
What is it for?
Install the CLI, log in through a browser or password prompt, save the connection details, and check that the client can reach the server.
Why use it?
It helps configure the client with the correct server address and login token, avoiding manual configuration of authentication details.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the lastlight plugin — 7 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/nearform/lastlight/lastlight-client
Any agent
npx skills add nearform/lastlight --skill lastlight-client
Clone the repo
git clone --depth 1 https://github.com/nearform/lastlight

Made for: Claude Code.

Or install lastlight, the plugin that ships this one along with the rest of its 7 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for lastlight-client

README.md
[![agentmods](https://agentmods.dev/badge/skills/nearform/lastlight/lastlight-client.svg)](https://agentmods.dev/skills/nearform/lastlight/lastlight-client)
Your own site
<a href="https://agentmods.dev/skills/nearform/lastlight/lastlight-client"><img src="https://agentmods.dev/badge/skills/nearform/lastlight/lastlight-client.svg" alt="Measured on agentmods" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 814 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00101 $0.00814
Opus 5 $0.00051 $0.00407
Sonnet 5 $0.00020 $0.00163
Haiku 4.5 $0.00010 $0.00081

Measured 6d ago against content hash 63143e558b74, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

lastlight-client scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/lastlight/skills/lastlight-client/SKILL.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Install & configure the Last Light CLI client

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).

1. Install the CLI

command -v lastlight >/dev/null && echo "installed" || npm i -g lastlight

2. Get the server URL

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.

3. Log in

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.

4. Verify

lastlight status

Confirm: Server healthy, Token valid. If the token shows expired/invalid, re-run lastlight login.

Overrides & alternatives

  • Skip the saved file with env vars or flags (precedence: flags → env → saved file → default 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.
  • One-shot wizard: lastlight setup --client is equivalent to lastlight login.

What you can do once connected

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

Read the full file on GitHub · 86 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 86 lines · 101 tokens per session scan A 63143e558b74

Subscribe to this mod's changes

lastlight-client is a skill published in the GitHub repository nearform/lastlight (22 stars, last pushed yesterday), licensed MIT. It adds 101 tokens to every session and 814 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

example-skill

Counts lines, words, and bytes in a text file using the bundled count.sh script. Use when asked to count/measure a file's size in these terms.

sammwyy/clay · 37 tokens

design-taste-frontend

Anti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check.

Leonxlnx/taste-skill · 61 tokens

image-to-code

Elite website image-to-code skill for Codex. For visually important web tasks, it must first generate the design image(s) itself, deeply analyze them, then implement the website to match them as closely as possible. In Codex, it must prefer large, readable, section-specific images instead of tiny compressed boards…

Leonxlnx/taste-skill · 116 tokens

brandkit

Premium brand-kit image generation skill for creating high-end brand-guidelines boards, logo systems, identity decks, and visual-world presentations. Trained for minimalist, cinematic, editorial, dark-tech, luxury, cultural, security, gaming, developer-tool, and consumer-app brand systems. Optimized for intentional…

Leonxlnx/taste-skill · 89 tokens

minimalist-ui

Clean editorial-style interfaces. Warm monochrome palette, typographic contrast, flat bento grids, muted pastels. No gradients, no heavy shadows.

Leonxlnx/taste-skill · 34 tokens

shap

Model interpretability and explainability using SHAP (SHapley Additive exPlanations). Use this skill when explaining machine learning model predictions, computing feature importance, generating SHAP plots (waterfall, beeswarm, bar, scatter, force, heatmap), debugging models, analyzing model bias or fairness, comparing…

synthetic-sciences/openscience · 109 tokens