screen-record
Capture screenshots or recordings from windows or displays through the nils-cli `screen-record` command.
- License 许可
- MIT
- 最近更新
- 2026-08-29
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- screen-record
- description
- Capture screenshots or recordings from windows or displays through the nils-cli `screen-record` command.
03 SKILL.md 正文
Screen Record
Contract
Prereqs:
screen-recordis installed from the released nils-cli package and available onPATH.- The host supports the requested capture mode.
- macOS screen-recording permissions or Linux capture prerequisites are available before capture.
Inputs:
- Screenshot or recording mode.
- Window, app, active-window, display, or display-id selector.
- Output path or directory.
- Optional metadata, diagnostics, duration, audio, format, and if-changed settings.
Outputs:
- Screenshot image, recording file, metadata JSON, diagnostics artifacts, or selectable target list.
Failure modes:
- Capture permission is missing.
- The selected window or display cannot be resolved.
- Required recording backend is unavailable.
Outcome Routing
The user requests a screenshot or recording. The workflow selects preflight, target discovery, capture, and diagnostics from the requested claim. When no path is supplied, allocate one project-scoped output directory; evidence metadata and diagnostics are internal bookkeeping and are reported only when they support the result or explain a failure.
Entrypoint
Use the released CLI directly:
screen-record --preflight
screen-record --list-windows
RUN_DIR="$(agent-out project --topic screen-record --repo "$PWD" --mkdir)"
screen-record --screenshot --active-window --path "$RUN_DIR/window.png"
screen-record --display --duration 10 --path "$RUN_DIR/session.mov" --metadata-out "$RUN_DIR/session.json"
Workflow
- Run
--preflightwhen host permissions or capture backend status is uncertain. - Use
--list-windows,--list-displays, or--list-appsbefore selecting a target by id or name. - Prefer explicit
--pathfor evidence artifacts that need to be linked from validation. - Use
--diagnostics-outfor failed or flaky recording checks.
Boundary
screen-record owns capture and metadata mechanics. The caller owns choosing a non-sensitive target and deciding whether artifacts are temporary evidence or durable records.
04 同仓库更多 Skills
removable-skill
暂无简介
removable-skill
暂无简介
removable-project-skill
Fixture project-local skill used to prove remove-project-skill dry-run coverage.
project-sample-skill
Fixture project-local skill used to prove create-project-skill governance coverage.
project-local-skill
Fixture project-local skill used by runtime-kit project-local smoke checks.
topic-radar
Aggregate read-only AI and technology trend signals (Polymarket, Hacker News, GitHub, arXiv, Hugging Face, news search) into source-grounded Markdown or JSON; the lower-level data engine behind `daily-brief`.