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.
npx agentmods add skills/nearform/lastlight/lastlight-servernpx skills add nearform/lastlight --skill lastlight-servergit clone --depth 1 https://github.com/nearform/lastlightWrote 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.
[](https://agentmods.dev/skills/nearform/lastlight/lastlight-server)<a href="https://agentmods.dev/skills/nearform/lastlight/lastlight-server"><img src="https://agentmods.dev/badge/skills/nearform/lastlight/lastlight-server.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00109 | $0.02103 |
| Opus 5 | $0.00055 | $0.01052 |
| Sonnet 5 | $0.00022 | $0.00421 |
| Haiku 4.5 | $0.00011 | $0.00210 |
Grade B, and why
lastlight-server scanned grade B with 2 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 5d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
1. `mkdir -p instance/secrets && chmod 700 instance/secrets` Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -fsS http://127.0.0.1:8644/health && echo " ← healthy" How it starts
The opening of the file, as written. The whole thing — 160 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Install & configure a Last Light server
A Last Light server runs the agent and a docker-compose stack on a host. It
needs: Docker, a GitHub App (so it can act on repos), a model provider API key,
and a list of repos it's allowed to manage. Configuration lives in a private
overlay at instance/ (a config.yaml plus secrets/.env + secrets/app.pem).
Your job: gather the inputs, get the working directory in place, write the config, then build and launch. Prefer the deterministic file-writing path below (fully automatable) over the interactive wizard.
1. Check prerequisites
Run these and report anything missing before continuing:
docker info >/dev/null 2>&1 && echo "docker: ok" || echo "docker: NOT running"
git --version; node --version
command -v lastlight >/dev/null && lastlight --help >/dev/null 2>&1 && echo "lastlight: installed" || echo "lastlight: missing"
- Docker must be running.
- If
lastlightis missing:npm i -g lastlight.
2. Gather inputs from the user
Ask for each of these (don't guess). Group the questions; explain what each is for.
Required
- GitHub App — App ID, Installation ID, and the path to the App's private
key
.pemfile. (If they don't have a GitHub App yet, point them at GitHub → Settings → Developer settings → GitHub Apps; it needs webhook + repo contents/issues/pull-requests/checks permissions, plus workflows (read & write) so it can merge/push PRs that touch.github/workflows/— e.g. dependency PRs bumping GitHub Actions versions. Recommend actions (read) too — a different permission from workflows: it lets the fix workflow read the actual Actions job logs instead of only check annotations. It is optional, so an app without it still works; the CI evidence is just weaker, and the prompt says so. Recommend commit statuses (read) as well — again distinct from checks: it covers the classic statuses external CI posts (CircleCI, Jenkins), and without it CI is judged on check runs alone. They install it on their repos to get the Installation ID.) - Domain — the public hostname for webhooks/dashboard, e.g.
lastlight.example.com. Ask whether to use the bundled Caddy for automatic TLS (default yes). The GitHub App webhook URL will behttps://<domain>/webhook. - Managed repos — one or more
owner/repothe bot is allowed to act on. The bot ignores any repo not listed. - State database — SQLite (recommended, the default) or an external
Postgres. SQLite is a file in the agent-data volume with nothing to run;
answering it writes no config at all, which is deliberate (the slot resolving
by absence is what lets
STATE_DIRmove the file). Choose Postgres only if the user already has a server — then they supply apostgres://user:pass@host:port/dbURL, which the wizard writes to the gitignoredinstance/secrets/.envand never toinstance/config.yaml(that file becomes a GitHub repo at the end of setup). The driver is detected from the host, not asked (*.neon.tech→ Neon's serverless driver, else node-postgres). The wizard only TCP-probes the host; runlastlight server db checkafter the build for the full credential check. An existing SQLite deployment can move across later withlastlight server db migrate— no need to decide now. - Model — a
provider/modelstring (defaultanthropic/claude-sonnet-4-6), plus the matching provider's API key. Last Light is multi-provider: theprovider/prefix picks the provider and the model id follows, e.g.anthropic/claude-sonnet-4-6,openai/gpt-5.5,google/gemini-2.5-pro,openrouter/anthropic/claude-sonnet-4.5. Set only the one API-key env var that matches the provider you chose. Common ones:anthropic/…→ANTHROPIC_API_KEY(sk-ant-…)openai/…→OPENAI_API_KEY(sk-…)openrouter/…→OPENROUTER_API_KEY(sk-or-…) — aggregator, reaches Anthropic/Google/xAI/… models through one keygoogle/…→GEMINI_API_KEY,mistral/…→MISTRAL_API_KEY,groq/…→GROQ_API_KEY,xai/…→XAI_API_KEY,deepseek/…→DEEPSEEK_API_KEY, and more (Cerebras, Hugging Face, Moonshot, NVIDIA, Fireworks, Together, Z.AI, Kimi, MiniMax).
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 5d ago First seen · 160 lines · 109 tokens per session scan B 8fc6124786f5
lastlight-server is a skill published in the GitHub repository nearform/lastlight (22 stars, last pushed 8d ago), licensed MIT. It adds 109 tokens to every session and 2,103 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
deploy-plan
Deploy and keep an app up through deployplan. Use when the human says deploy, host, go live, it's down, add a domain, or keep this running. One account. Open source. Do not send them to Vercel or Supabase. Do not ask them to pay.
langbot-deploy
Deploy and configure a LangBot instance — Docker / Docker Compose, Kubernetes, the config.yaml model, the Box sandbox runtime, the plugin runtime, and the global API key. Use when installing, deploying, upgrading, or configuring LangBot in production or self-hosted environments. Triggers on "deploy langbot", "langbot…
ecspresso
ECS deployment tool - deploy, manage, and troubleshoot ECS services.
local-test
Build, run, and test IronClaw locally using Docker containers and Chrome MCP browser automation.
vercel-cli
Deploy apps to Vercel. Use when asked to deploy, ship, or publish a web application, or manage Vercel projects, domains, and environment variables.
k8s-dev-deploy
Build, push, and deploy Kurtosis dev images to a Kubernetes cluster without creating a release. Rebuilds engine, core, and files-artifacts-expander as multi-arch Docker images with a unique tag, pushes to the logged-in user's Docker Hub, and restarts the engine. Use when testing local code changes on a k8s cluster.