gaze: Skill for OpenCode

.opencode/skills/determinism-first/SKILL.md

determinism-first is a skill for OpenCode from unbound-force/gaze. It costs 34 tokens per session (1,462 once invoked), scanned A, original, Apache-2.0.

A writing check for agent instructions that separates fixed procedures from decisions requiring judgement. Fixed procedures are directed to tools, while judgement-based work remains in written guidance.

In plain words
What is it for?
Use it when authoring or changing commands, skills, agents, or other instruction text. It helps decide which steps belong in scripts or tools and which need explanation or human interaction.
Why use it?
It reduces repeated instructions for mechanical tasks and helps keep tool execution consistent. It also prevents deterministic work from being improvised in prose.

Skill for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: mentions AGENTS.md; mentions OpenCode.

This is unbound-force/gaze's own configuration. It tells OpenCode how to work on gaze itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gaze configures →

Reuse

Borrowing it

Nothing to install: this file belongs to unbound-force/gaze. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/unbound-force/gaze/main/.opencode/skills/determinism-first/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/unbound-force/gaze

Made for: OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for determinism-first

README.md
[![agentmods](https://agentmods.dev/badge/skills/unbound-force/gaze/determinism-first/github.svg)](https://agentmods.dev/skills/unbound-force/gaze/determinism-first)
Your own site
<a href="https://agentmods.dev/skills/unbound-force/gaze/determinism-first"><img src="https://agentmods.dev/badge/skills/unbound-force/gaze/determinism-first/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for determinism-first

Your own site · 80×15
<a href="https://agentmods.dev/skills/unbound-force/gaze/determinism-first"><img src="https://agentmods.dev/badge/skills/unbound-force/gaze/determinism-first.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,462 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.01462
Opus 5.5 $0.00014 $0.00585
Sonnet 5.5 $0.00007 $0.00292
Haiku 4.5 $0.00003 $0.00146

Measured 3d ago against content hash 43dcbab78eea, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

determinism-first scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.opencode/skills/determinism-first/SKILL.md · 150 lines

How it starts

The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Determinism First

Agent context is a scarce shared resource (Constitution Principle VI, "Deterministic Execution"). Deterministic procedures MUST execute in tools rather than be re-reasoned from prose on every run. This skill is the authoring-time check that keeps mechanical work out of instruction text.

Classify Before Writing

Before writing or modifying a command, agent, skill, or any instruction text, classify every step of the work:

  • Deterministic — fixed procedure, same output every time. It belongs in a tool call (script, CLI command, or plugin), not improvised output.
  • Judgment-based — a decision, an evaluation, or human interaction. It belongs in prose.

The test: if a competent agent follows the step twice, does it produce the same result both times? If yes, the step is deterministic and belongs in a tool. When classification is uncertain, look at the concrete examples below before defaulting to prose. The same test applies one level up: a fixed sequence of tool calls with no judgment between steps is itself deterministic.

Deterministic Steps Belong in Tools

Mechanical procedures that MUST be tool calls, not instructed prose:

  • Parsing structured input (YAML, JSON, diffs, frontmatter)
  • Existence and state checks (file present, branch current, tool available)
  • Git choreography (worktrees, staging, merge-base diffs)
  • Prescribed terminal output rendered from templates
  • Enumeration loops over directories, files, or checks
  • Orchestration of tool chains (ordering, batching, retry, failure-stop)
  • Branching on structured results via lookup tables (verdict mapping, severity sorting)

When a deterministic step is needed:

  1. Find an existing tool that performs it and call it.
  2. If none exists, extract the procedure to an executable script or command with tests — do not restate the procedure in prose for the agent to re-derive.
  3. Prescribed output MUST be tool-rendered, not reconstructed by the agent from a template embedded in instructions.
  4. If the tool now sits in a judgment-free chain of calls, collapse the chain into a single intent-level tool; pass judgment products (composed text, gate decisions) as parameters.

Read the full file on GitHub · 150 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 150 lines · 34 tokens per session scan A 43dcbab78eea

Subscribe to this mod's changes

determinism-first is a skill published in the GitHub repository unbound-force/gaze (4 stars, last pushed yesterday), licensed Apache-2.0. It adds 34 tokens to every session and 1,462 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-03.

Related

determinism-first compared with skills from other repositories

determinism-first next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
determinism-firstunbound-force/gazeSkill4yesterdayApache-2.0A34OpenCode
harbor-daytonaav/harborSkill3.3k6d agoApache-2.0A67Claude Code
boost-modulesav/harborSkill3.3k6d agoApache-2.0A0Claude Code, Codex
skill-authoringmateaix/mateclawSkill1.2kyesterdayApache-2.0A18Claude Code, Codex
author-skillericrisco/rsc-harnessSkill5032d agoMITA79Claude Code, Codex
coding-agents-hooks-authoringgriddynamics/rosettaSkill370todayApache-2.0A31Claude Code
authoringautomagik-dev/genieSkill351yesterdayMITA30Codex