mvschwarz/openrig / packages/daemon/assets/plugins/openrig-core/skills/openrig-operating-model
openrig-operating-model
VerifiedUse when you do not know WHERE something belongs: you learned a lesson and are unsure which file takes it; you are about to create a new doc, folder, or convention; you are asking "should this be a skill, a note, or a chain file?"; you inherited a seat and want to know what SHOULD exist; or you are about to duplicate knowledge that already has a home. Also the trace-to-root: how a seat orients by reading one filename at each level from where it stands up to the fleet.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 24.4 KB |
| scripts/compose.pyexecutable | script | 28.7 KB |
| scripts/scaffold.shexecutable | script | 2.1 KB |
| scripts/trace-due.shexecutable | script | 1.5 KB |
| scripts/trace-stamp.shexecutable | script | 231 B |
| scripts/trunk-diff.shexecutable | script | 966 B |
| templates/LEARNED.md | markdown | 1.6 KB |
| templates/NOTES.md | markdown | 370 B |
| templates/PLAYBOOK.md | markdown | 184 B |
| templates/SOP.md | markdown | 676 B |
| templates/SPEC.md | markdown | 2.5 KB |
scripts/trace-due.sh
View on GitHub#!/usr/bin/env bash
# trace-due.sh <seat-dir> [work-dir ...]
# Deterministic due-check for the alignment trace. Exit 0 + reason when DUE;
# exit 1 SILENTLY when not (the no-op path is the point: schedulers may fire
# this on cadence; the ACTION stays evidence-gated — fixed-cadence traces were
# empirically falsified; see SKILL.md §4).
set -euo pipefail
SEAT_DIR="${1:?usage: trace-due.sh <seat-dir> [work-dir ...]}"; shift || true
STAMP="$SEAT_DIR/.last-trace"
MIN_HOURS="${TRACE_MIN_HOURS:-6}" # never due more often than this
FORCE_HOURS="${TRACE_FORCE_HOURS:-72}" # due regardless of activity after this
now=$(date +%s)
if [[ ! -f "$STAMP" ]]; then
# never traced: due only if the seat shows any life at all
if [[ -n "$(find "$SEAT_DIR" "$@" -type f -newermt '-7 days' -print -quit 2>/dev/null)" ]]; then
echo "DUE: no trace on record and recent activity exists"; exit 0
fi
exit 1
fi
last=$(stat -f %m "$STAMP" 2>/dev/null || stat -c %Y "$STAMP") # BSD then GNU; date -r means different things on the two OSes
age_h=$(( (now - last) / 3600 ))
(( age_h < MIN_HOURS )) && exit 1
if (( age_h >= FORCE_HOURS )); then
echo "DUE: ${age_h}h since last trace (force threshold ${FORCE_HOURS}h)"; exit 0
fi
# due only if meaningful work accumulated since the stamp
for d in "$SEAT_DIR" "$@"; do
if [[ -n "$(find "$d" -type f -newer "$STAMP" ! -name '.last-trace' -print -quit 2>/dev/null)" ]]; then
echo "DUE: ${age_h}h since last trace and new activity under $d"; exit 0
fi
done
exit 1
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 463k | Updated | Claude CodeCodex | Verified | Install |
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 463k | Updated | Claude CodeCodex | Verified | Install |
| discernment-nudgeanthropics/skillsAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals, or emails, estimates or projections, analysis or interpretation of data, factual claims they may rely on, or a multi-step argument — invoke this skill BEFORE finalizing your reply and then, if it applies, append 2-3 short follow-up questions, each tied to something specific in what you just produced, that help the user check key facts, probe the reasoning or assumptions, and notice missing context. Do this at most once per conversation. Skip it when the user asked a trivial how-to or simple lookup, wants a purely educational explanation, asked you only to format, convert, or assemble a file from content they provided, is writing code they will run, is doing creative writing or casual chat, or already asked you to double-check, cite, or review — the skill file explains these boundaries and the exact output format. | Stars: 195k | Updated | Claude CodeCodex | Verified | Install |
| internal-commsanthropics/skillsA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.). | Stars: 195k | Updated | Claude CodeCodex | Verified | Install |