gaze: Skill for OpenCode

.opencode/skills/always-on-guidance/SKILL.md

always-on-guidance is a skill for OpenCode from unbound-force/gaze. It costs 12 tokens per session (398 once invoked), scanned A, original, Apache-2.0.

A set of general coding-session rules covering file reading, tool use, code quality, testing, error handling, and Git practices. It is intended to guide every coding session.

In plain words
What is it for?
Use it as a baseline for repository work, including tests, filesystem and database test setup, error reporting, commits, and collaboration tools.
Why use it?
It establishes consistent safeguards and conventions, such as writing tests, handling errors, and avoiding edits based on guesses.

Skill for OpenCode

Written for OpenCode: installed under .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/always-on-guidance/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 always-on-guidance

README.md
[![agentmods](https://agentmods.dev/badge/skills/unbound-force/gaze/always-on-guidance/github.svg)](https://agentmods.dev/skills/unbound-force/gaze/always-on-guidance)
Your own site
<a href="https://agentmods.dev/skills/unbound-force/gaze/always-on-guidance"><img src="https://agentmods.dev/badge/skills/unbound-force/gaze/always-on-guidance/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 always-on-guidance

Your own site · 80×15
<a href="https://agentmods.dev/skills/unbound-force/gaze/always-on-guidance"><img src="https://agentmods.dev/badge/skills/unbound-force/gaze/always-on-guidance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 398 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.00012 $0.00398
Opus 5 $0.00006 $0.00199
Sonnet 5 $0.00002 $0.00080
Haiku 4.5 $0.00001 $0.00040

Measured 7d ago against content hash 990655c57c24, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

always-on-guidance 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 7d 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/always-on-guidance/SKILL.md · 59 lines

What it actually says

Always-On Guidance

Rules that apply to every coding session.

Tool Usage Discipline

  • Read files before editing — never guess at content
  • Use replicator_org_* tools for work item management
  • Use replicator_comms_* tools for agent messaging and file reservations
  • Use replicator_forge_* tools for multi-agent coordination
  • Use dewey_store_learning / dewey_semantic_search for learning storage and retrieval
  • Check dewey_semantic_search before solving problems from scratch

Code Quality

  • Functions do one thing well
  • Names reveal intent — no abbreviations
  • Comments explain why, not what
  • No dead code or unused imports
  • Error messages include context

Testing

  • Write tests for all new code
  • Use db.OpenMemory() for database tests
  • Use t.TempDir() for filesystem tests
  • Standard library testing package only — no testify
  • Test names: TestXxx_Description

Error Handling

  • Return errors, don't panic
  • Wrap errors with context: fmt.Errorf("operation: %w", err)
  • Handle all error paths — no ignored returns
  • Use errors.Is for sentinel error checks

Command Template Fidelity

  • When a command template prescribes a fixed exit or output format, re-read that section from the template file before emitting — especially after context compression
  • After compression, the template file is the sole authority for prescribed output format — never reconstruct it from memory or compressed summaries

Git Discipline

  • Conventional commits: type: description
  • Never force push to main
  • Commit early, commit often
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. 7d ago Changed · +11 lines 990655c57c24
  2. 10d ago First seen · 48 lines · 12 tokens per session scan A a9e72a1be9b6

Subscribe to this mod's changes

always-on-guidance is a skill published in the GitHub repository unbound-force/gaze (2 stars, last pushed 6d ago), licensed Apache-2.0. It adds 12 tokens to every session and 398 once invoked, about $0.0001 per session on Opus 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-08-31.