sitrep
Skill1 starsChanged 5 months agoMITView on GitHub
Connect computer-side work to Sitrep on iPhone and Mac. Use when the user asks to show a long-running task's progress, monitor a changing metric, receive a notification when an event or condition occurs, create, inspect, replace, or remove a Sitrep automation, or manage its phone-side run, pause, and schedule controls. Choose and validate a local script, installed Agent, or explicit hybrid executor; register ongoing work through the Sitrep CLI without exposing pairing credentials.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- skyf0xx/gambittheir own version, first seen Sep 30, 2026
- 0n1-Studios/sitreptheir own version, first seen Aug 25, 2026
- jpantsjoha/ai-native-developer-experiencetheir own version, first seen Aug 7, 2026
- silouone/skillstheir own version, first seen Jul 29, 2026
- armenr/modelmuxtheir own version, first seen Jul 6, 2026
- iamneilroberts/claude-skillstheir own version, first seen Jul 3, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- iamneilroberts/claude-skills★ 26same name
- skyf0xx/gambit★ 25same name
- jpantsjoha/ai-native-developer-experience★ 12same name
- silouone/skills★ 4same name
- armenr/modelmux★ 2same name
- 0n1-Studios/sitrep★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
Show its rules and text
We split this skill into the rules it gives an agent
24 rules. 0 are common, 16 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
16
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 25
Treat an ongoing condition as an automation that produces a metric and/or a message.
- Very specific: line 33
Run sitrep automation list to verify that the computer is paired and the service is reachable.
- Very specific: line 35
If neither CLI exists or pairing fails, stop and tell the user to install or connect Sitrep.
- Distinctive: line 45
Use a task for a run the user waits to finish: build, training, deploy, download, or an interactive Agent session.
- Distinctive: line 47
Use a metric for a value the user wants to glance at repeatedly: CPU, price, odds, stars, queue depth, or latest version.
- Distinctive: line 49
Use a message only when something happened.
- Distinctive: line 54
Keep ownership explicit: thresholds and display settings belong to a metric.
- Distinctive: line 62
Script — default: Use a local command, API, feed, or deterministic parser for system values and structured data.
- Distinctive: line 66
Agent — use when necessary: Use an Agent for login-gated pages, unstructured content, browser/app interaction, search, or judgment.
- Distinctive: line 69
Do not silently fall back from a broken script to an Agent at runtime.
- Distinctive: line 81
Use conservative intervals and state the expected token/session cost.
- Distinctive: line 94
Use a project-owned script only when the automation is intentionally tied to that project.
- Distinctive: line 102
Keep secrets out of commands, stdout, automation names, and protocol lines.
- Distinctive: line 103
Use the source application's existing credential store or a purpose-built secret mechanism.
- Very specific: line 119
Use sitrep run for bounded work.
- Very specific: line 126
Use task.step instead of inventing progress.
- Very specific: line 136
Use progress|timer|plain for task templates and number|gauge|bar|spark for metrics.
- Distinctive: line 144
Follow this sequence for every ongoing request:
- Distinctive: line 146
Run the producer once locally.
- Distinctive: line 148
Check that values are real, labels are clear, IDs are stable, and no secrets appear in output.
- Very specific: line 150
Run sitrep automation list and check for the same intent/name.
- Distinctive: line 151
Do not create a duplicate.
- Very specific: line 163
Verify the resulting value/message in Sitrep when the surface is available.
- Very specific: line 172
Use scripts/macos-cpu-usage.sh instead of rewriting CPU parsing.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Sitrep
Turn a user's monitoring request into one or more of exactly three product objects:
| Need | Emit | Primary surface |
| A bounded process with a beginning and end | task.* | Dynamic Island, lock screen, 现在 |
| A continuously changing value | metric.update | widgets, 指标, menu bar |
| A point-in-time event that already happened | message.send | notification, 消息 |
Treat an ongoing condition as an automation that produces a metric and/or a message. Do not invent a fourth product object.
Resolve Sitrep safely
- Resolve the CLI with
command -v sitrep. - On macOS, if it is not on
PATH, use/Applications/Sitrep Menu Bar.app/Contents/Resources/sitrepwhen executable. - Run
sitrep automation listto verify that the computer is paired and the service is reachable. - If neither CLI exists or pairing fails, stop and tell the user to install or connect Sitrep. Do not fabricate a local-only monitor.
Let the CLI load credentials. Never print, return, copy, or ask an Agent to
read ~/.config/sitrep/config.json, SITREP_TOKEN, or Keychain values.
Classify before implementing
Map the request by user intent, not by its data source:
- Use a task for a run the user waits to finish: build, training, deploy, download, or an interactive Agent session.
- Use a metric for a value the user wants to glance at repeatedly: CPU, price, odds, stars, queue depth, or latest version.
- Use a message only when something happened. A pending rule is not a message.
- Combine a metric and message when the user wants both visibility and a crossing/change notification.
Keep ownership explicit: thresholds and display settings belong to a metric; schedules and executors belong to an automation. Never emit or create a global parameter.
Choose the executor at authoring time
Choose the cheapest reliable executor, then keep that choice stable:
- Script — default. Use a local command, API, feed, or deterministic parser for system values and structured data.
- Hybrid — explicit optimization. Fetch and diff with a script; invoke an installed Agent only when new material needs interpretation.
- Agent — use when necessary. Use an Agent for login-gated pages, unstructured content, browser/app interaction, search, or judgment.
Do not silently fall back from a broken script to an Agent at runtime. A stale metric is an honest failure signal; an invisible fallback hides breakage and creates unpredictable cost.
For Agent executors:
- Discover what is installed and already logged in. Do not hardcode Claude, Codex, Chrome, or a particular computer-use implementation.
- Inspect the chosen Agent's supported non-interactive invocation before registering it. Do not guess flags.
- Confirm one unattended test run can access the required browser/app state and prints valid Sitrep lines without explanatory prose around them.
- Use conservative intervals and state the expected token/session cost.
- Limit the initial product to reading and reminding. Do not register purchase, posting, destructive, or open-ended computer-control actions.
Implement persistent producers
For ongoing monitoring, write a small executable into a stable user-owned path, for example:
~/.local/share/sitrep/automations/<slug>/run.shUse a project-owned script only when the automation is intentionally tied to that project. Never schedule a temporary file or a working-tree path likely to move.
For semantic change detection, persist only the minimum comparison state under
~/.local/state/sitrep/<slug>/. On the first run, establish a baseline without
sending a historical "new" message unless the user explicitly wants one.
Keep secrets out of commands, stdout, automation names, and protocol lines. Use the source application's existing credential store or a purpose-built secret mechanism.
Emit the protocol
Print protocol lines to stdout. Leave all other output as normal logs.
::sitrep task.progress <0-100> [current step]
::sitrep task.step <current step>
::sitrep task.done [message]
::sitrep task.fail [message]
::sitrep metric.update [hints] <id> <value> [label]
::sitrep message.send [--level=info|warn|error] <text>Use sitrep run for bounded work; it emits task start and final state
automatically:
sitrep run --title "train model" -- python train.pyUse task.step instead of inventing progress. Keep percentages monotonic and
honest. Scheduled automations ignore task lifecycle lines; they should emit
metrics and messages.
Apply hints directly after the verb:
- Presentation:
--icon,--tint,--template. - Metric geometry:
--target,--min,--max. - Metric thresholds:
--alert-above,--alert-below.
Use progress|timer|plain for task templates and
number|gauge|bar|spark for metrics. Use stable metric IDs matching
[a-z0-9_.-]{1,64} so later samples update the same card. A target is not a
denominator; never present a value as current/target unless that ratio is the
actual metric.
Validate before registering
Follow this sequence for every ongoing request:
- Run the producer once locally.
- Confirm it exits successfully and emits the expected metric/message lines.
- Check that values are real, labels are clear, IDs are stable, and no secrets appear in output.
- Run
sitrep automation listand check for the same intent/name. - Do not create a duplicate. Reuse the existing automation when it already matches. Remove and recreate it only when the user asked to replace its executor or command.
- Register the validated command:
sitrep automation add --name "<name>" --executor script --every 5m -- /absolute/path/to/run.sh- Allow the resident Agent up to its discovery interval, then run
sitrep automation listagain. Confirm the automation is active andlast runis no longernever. - Verify the resulting value/message in Sitrep when the surface is available.
- Report the automation ID, executor, interval, script location, latest real value, notification rule, and how to pause/delete it.
The iPhone may run now, pause, reschedule, or delete an automation. It must not replace the computer-side command or Agent prompt.
Standard macOS CPU monitor
Use scripts/macos-cpu-usage.sh instead of rewriting CPU parsing. Copy it to a
stable path, test it, then register it. Pass an optional numeric argument to
set an alert-above threshold:
mkdir -p "$HOME/.local/share/sitrep/automations/macos-cpu"
install -m 0755 scripts/macos-cpu-usage.sh \
"$HOME/.local/share/sitrep/automations/macos-cpu/run.sh"
"$HOME/.local/share/sitrep/automations/macos-cpu/run.sh" 80
sitrep automation add --name "Mac CPU 使用率" --executor script --every 15s -- \
"$HOME/.local/share/sitrep/automations/macos-cpu/run.sh" 80This updates system.cpu with a real whole-machine percentage and sends a
message only when it crosses above 80%, re-arming after it drops below.
Finish with an operational handoff
Tell the user what is running and where. Distinguish app polling from Apple-controlled widget refresh latency. If verification fails, leave no duplicate automation behind, report the exact failed boundary, and keep the producer available for repair.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

