agentleFS
RynaroRynaro/lararium/.claude/skills/gilgamesh-gauge/SKILL.md

gilgamesh-gauge

Skill2 starsChanged 5 months agoMITView on GitHub

Phase G (Gauge) mission-intake gate — verifies the mission-contract, decides KEEP vs REFUSE at generalist scale (specialist-fit, over-authority, underspecified), and instantiates the six-row capability-authority table. Use once per mission at the start of every GILGAMESH cycle, after the inbound envelope is verified. Do NOT use during Inventory/Lock/Grind/Attest.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If the mission requires authority above the ceiling — most importantly deploy, or a secret the table cannot broker — REFUSE{OVER_AUTHORITY}.

    line 70
  2. Distinctive:

    Structural, not verbal: KEEP iff the contract validates, fits no specialist, and stays within the grantable ceiling.

    line 96
  3. Very specific:

    Specialist-preferring by construction: When in doubt between KEEP and SPECIALIST_FIT, prefer the specialist — the orchestrator can always …

    line 98
  4. Distinctive:

    Deploy is a wall, not a slope: No mission, no escalation, no operator override reachable from within Gilgamesh grants deploy.

    line 100

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Gauge Skill — Gilgamesh (Phase G intake)

When to use

Load during Phase G (Gauge). Runs once per mission, immediately after skills/verify-incoming.md passes. Triage cost ≈ 1 step. Do not load during Inventory, Lock, Grind, or Attest.

Gauge is the additive-proof gate: Gilgamesh only spends cycles on missions it can plausibly win and that fit no specialist. Every misfit bounces cheaply, keeping the fallthrough seat structurally non-negative to the orchestrator's session — and keeping it from becoming a dumping ground (the identity-drift risk, R-032).


Decision Tree (run in order — first failure exits)

Step 1 — Validate the mission-contract

Validate the inbound payload against schemas/mission-contract.v1.json. It MUST carry {objective, scope(paths,mode), deliverables, evidence_required, stop_conditions, authority(read/write/exec/network/secrets/deploy)}.

  • Valid → continue to Step 2.
  • Malformed / missing fields → REFUSE{SCHEMA_INVALID}.

Step 2 — Specialist-fit check (keep-or-kick at generalist scale)

Does the mission map cleanly to a roster specialist? Gilgamesh never outranks a specialist and never enters Step-1 of dispatch (R-019) — it lives only in the fallthrough branch.

If the mission is…REFUSE and suggest
a read-only discovery / scoutatlas
a plan / spec authoring campaignramza
a loop-native coding campaign (implement feature end-to-end)vivi
a localized ≤2-file verifier-backed micro-editkupo
a root-cause / defect huntvigil
a decision record / trade-off adjudicationforge
a document / long-form artefactidg
  • Clean specialist fit → REFUSE{SPECIALIST_FIT, suggested_specialist: <name>}.
  • Underspecified / ambiguous target → REFUSE{UNDERSPECIFIED} (the orchestrator emits a clarification_request).
  • Actionable and fits no specialist → continue to Step 3.

Step 3 — Instantiate the capability-authority table

Instantiate schemas/capability-authority.v1.json from the contract's authority grant. Six rows × two columns (default / escalation):

RowDefaultEscalation ceiling
readscoped repo + tool outputbroaden scope.paths (approved)
writesandbox onlynone — PROPOSE-only is constitutional
execnamed oracle commands in sandboxmore oracle commands (approved, sandboxed)
networknoneproxied read via broker (approved)
secretsnonebroker-issued, single-use, mission-scoped
deploynonenever-grantable
  • If the mission requires authority above the ceiling — most importantly deploy, or a secret the table cannot broker — REFUSE{OVER_AUTHORITY}.
  • Otherwise freeze the instantiated table into TaskState.authority and KEEP.

Output format

Emit exactly one of:

KEEP{authority: <instantiated capability-authority table>}
REFUSE{code: "<SCHEMA_INVALID|SPECIALIST_FIT|UNDERSPECIFIED|OVER_AUTHORITY|NOT_ROUTER|NO_ORACLE>", suggested_specialist: "<name|null>", note: "<one sentence for the orchestrator>"}

On KEEP, control passes to Phase I (Inventory). No other state from Gauge enters Inventory except the frozen authority table; Gauge is a one-shot gate.


Notes

  • Triage cost ≈ 1 step. Gauge must be cheap; do not invoke atlas-aci here — gather happens in Inventory.
  • Structural, not verbal. KEEP iff the contract validates, fits no specialist, and stays within the grantable ceiling. "It looks doable" is not a KEEP predicate.
  • Specialist-preferring by construction. When in doubt between KEEP and SPECIALIST_FIT, prefer the specialist — the orchestrator can always re-route back.
  • Deploy is a wall, not a slope. No mission, no escalation, no operator override reachable from within Gilgamesh grants deploy. Route it upward if it is truly needed.
  • REFUSE is cheap and correct. A fast REFUSE with a suggested specialist is more valuable than a slow, out-of-scope grind.

Gauge Skill — Gilgamesh Phase G intake, refusal, and authority instantiation

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.