sonichi/sutando/skills/observe/SKILL.md
observe
/observe — natural-language entry to the Policy Interaction Layer: compile an NL request into a structured observation/subscription policy, confirm via effect-card (or standing approval), then subscribe on the events plane.
- Source repository stars
- 359
- Declared platforms
- 0
- Static risk flags
- 0
- Last source update
- 2026-07-28
- Source checked
- 2026-07-28
Decision brief
What it does—and where it fits
The owner (or a scoped user) says what they want watched, in natural language:
Not for
- Tasks that require unconfirmed production actions or broad system permissions.
- Environments where the pinned source and install steps cannot be inspected.
Compatibility matrix
Platform support, with evidence labels
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
Inspect first. Install second.
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/sonichi/sutando --skill "skills/observe"Inspect the Agent Skill "observe" from https://github.com/sonichi/sutando/blob/6a8f0fccd32e5aa620a3572c8885544f144bb6fe/skills/observe/SKILL.md at commit 6a8f0fccd32e5aa620a3572c8885544f144bb6fe. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
What the source asks the agent to do
- 01
Processing convention (core agent, on an /observe owner task)
1. Compile (LLM-side — you): produce a draft dict: {roomid, eventtypes[], mode, costcap?, createdby, sourcetext} - roomid: the task's channelid unless the text names another room. - eventtypes: map the intent to plane types (message.created, reaction.added, artifact.updated, mem…
Compile (LLM-side — you): produce a draft dict:roomid: the task's channelid unless the text names another room.eventtypes: map the intent to plane types (message.created, - 02
Files
Test: python3 tests/observe-policy.test.py (99% module coverage).
observepolicy.py — validation, standing-approval evaluator,Store records: obs.json, states draft → active → cancelled/expired,- observepolicy.py — validation, standing-approval evaluator, SubscriptionStore (/state/observe/), effect-card renderer (plain text always; A2UI choice-group in the real renderer contract behind includea2ui). - Store re…
Permission review
Static risk signals and limitations
No configured static risk pattern was detected
This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.
Evidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 67/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 359 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- sonichi/sutando
- Skill path
- skills/observe/SKILL.md
- Commit
- 6a8f0fccd32e5aa620a3572c8885544f144bb6fe
- License
- MIT
- Collected
- 2026-07-28
- Default branch
- main
View the original SKILL.md
/observe — NL → observation policy (MVP step 1)
The owner (or a scoped user) says what they want watched, in natural language:
/observe watch doc changes in this room and ping me daily
The core agent COMPILES that into a structured draft; everything deterministic
around the compilation lives in observe_policy.py. Design + resolved
decisions: workspace notes/observe-mvp-slice-design.md.
Processing convention (core agent, on an /observe <text> owner task)
- Compile (LLM-side — you): produce a draft dict:
{room_id, event_types[], mode, cost_cap?, created_by, source_text}room_id: the task'schannel_idunless the text names another room.event_types: map the intent to plane types (message.created,reaction.added,artifact.updated,member.joined, …). Unknown intent → ask, don't guess.mode:observe(context only) |record(journal) |notify(ping the owner) |taskify(promote batches to ambient tasks — never standing-approved).
- Validate:
observe_policy.validate_draft(draft)— errors go back to the user verbatim; do not "fix" a draft silently. - Standing approval:
evaluate_standing_approval(rec, owner_mxid=…, owner_rooms=…).owner_rooms= rooms the owner OWNS — created by the owner or where the owner holds PL≥50 (checked via the room state the core already has; when ownership is unknown, the room is NOT in scope). Familiarity — "the owner sent a task from here" — is NOT ownership: a shared room must never enter standing-approval scope (001 review; the server's four-way authz still gates the subscribe, but the standing-approval semantic is stricter by design). True → save +transition(id, "active")+ subscribe + post the AUTO-ACTIVATED card (visibility is mandatory — never activate silently). False → save draft + post the CONFIRM card and wait for the decision. - Decision grammar (same infrastructure as human-action cards):
policy <id> activate | edit <new text> | cancel— typed reply, reaction on the card, or (when custom-event fan-out lands) an A2UI button.editrecompiles with the new text into the SAME policy id. - Subscribe on activate: events client
subscribe(room_id, event_types)— the events plane's four-way authz is the permission evaluator; a subscribe rejection (e.g. PL too low) goes back to the user as the card's failure line, not swallowed. - Enforcement: active
notify/record/taskifypolicies are consumed by the sparrow drain handlers (taskify today; notify/record handlers are the next slice).cost_capshows the CAP on cards; metering is a later slice.
Files
observe_policy.py— validation, standing-approval evaluator, SubscriptionStore (<workspace>/state/observe/), effect-card renderer (plain text always; A2UI choice-group in the real renderer contract behindinclude_a2ui).- Store records:
obs_*.json, statesdraft → active → cancelled/expired, terminal states immutable, every transition audited.
Test: python3 tests/observe-policy.test.py (99% module coverage).