nyx-ui-screenshots

nyx-ui-screenshots is a skill for Cursor from sthamann/nyx-local-ai. It costs 64 tokens per session (513 once invoked), scanned A, original, MIT.

A workflow for recreating README screenshots of nyx-local-ai, using the project's web interface in a browser and saving cropped images in its docs folder. It covers several preset scenes, such as chat, approvals, and machine management.

In plain words
What is it for?
Use it after changing the interface or before releasing the project. It builds the web bundle, serves the test scenes, captures each browser view, crops the results, and checks the images.
Why use it?
It keeps documentation images aligned with visible UI changes and provides a repeatable way to capture the same views before a release.

Skill for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it after changing the interface or before releasing the project. It builds the web bundle, serves the test scenes, captures each browser view, crops the results, and checks the images.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sthamann/nyx-local-ai/nyx-ui-screenshots
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.

Any agent
npx skills add sthamann/nyx-local-ai --skill nyx-ui-screenshots
Clone the repo
git clone --depth 1 https://github.com/sthamann/nyx-local-ai

Made for: Cursor.

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 nyx-ui-screenshots

README.md
[![agentmods](https://agentmods.dev/badge/skills/sthamann/nyx-local-ai/nyx-ui-screenshots/github.svg)](https://agentmods.dev/skills/sthamann/nyx-local-ai/nyx-ui-screenshots)
Your own site
<a href="https://agentmods.dev/skills/sthamann/nyx-local-ai/nyx-ui-screenshots"><img src="https://agentmods.dev/badge/skills/sthamann/nyx-local-ai/nyx-ui-screenshots/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for nyx-ui-screenshots

Your own site · 80×15
<a href="https://agentmods.dev/skills/sthamann/nyx-local-ai/nyx-ui-screenshots"><img src="https://agentmods.dev/badge/skills/sthamann/nyx-local-ai/nyx-ui-screenshots.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 513 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00064 $0.00513
Opus 5 $0.00032 $0.00257
Sonnet 5 $0.00013 $0.00103
Haiku 4.5 $0.00006 $0.00051

Measured 12d ago against content hash 2ffd8522088f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

nyx-ui-screenshots 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 12d 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.

.cursor/skills/nyx-ui-screenshots/SKILL.md · 43 lines

What it actually says

Regenerating the UI screenshots

The README images in docs/ are captured from .harness/index.html, which renders the real webview bundle (media/main.js + main.css) with scripted demo data inside a 430px sidebar frame.

Workflow

  1. Build the current bundle: npm run build
  2. Serve the repo (background): python3 -m http.server 8321 --bind 127.0.0.1
  3. Capture each scene with the IDE browser at http://127.0.0.1:8321/.harness/index.html?scene=<scene>; wait until the page title reads nyx-scene-<scene>-ready, then take a screenshot.
Scene Target file Shows
chat docs/nyx-agent-run.png tool cards, diff card, answer, 1M context meter
approval docs/nyx-approval.png diff-preview approval, Always allow, queue
machines docs/nyx-machines.png machine manager (DGX / Mac Studio)
  1. Center-crop each capture to the frame (screenshots are centered):
sips -c 1839 1062 docs/<file>.png --out docs/<file>.png

(Values assume the default 714×1024 CSS viewport at ~2.22× scale — if the frame looks cut off, recompute: crop ≈ (430+68)×(780+68) CSS px × scale.)

  1. Review the images (read the files) before committing: no debug text, context meter plausible, no real secrets/IPs you don't want public.

Editing the scenes

Demo data lives in .harness/index.html (sceneChat, sceneApproval, sceneMachines) — plain HostToWebview messages. When new UI features ship, extend the relevant scene so the screenshots keep showcasing them.

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. 12d ago First seen · 43 lines · 64 tokens per session scan A 2ffd8522088f

Subscribe to this mod's changes

nyx-ui-screenshots is a skill published in the GitHub repository sthamann/nyx-local-ai (137 stars, last pushed 2mo ago), licensed MIT. It adds 64 tokens to every session and 513 once invoked, about $0.0003 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