gaze: Skill for OpenCode

.opencode/skills/system-design/SKILL.md

system-design is a skill for OpenCode from unbound-force/gaze. It costs 9 tokens per session (250 once invoked), scanned A, original, Apache-2.0.

Design guidance for organizing the Replicator codebase into focused modules with simple interfaces that hide complex implementation details. It covers common design rules such as single responsibility, avoiding unnecessary duplication, and dependency injection.

In plain words
What is it for?
Use it when designing packages, interfaces, constructors, abstractions, and integrations in Replicator.
Why use it?
It helps developers keep changes understandable and makes outside dependencies easier to replace in tests.

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/system-design/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 system-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/unbound-force/gaze/system-design.svg)](https://agentmods.dev/skills/unbound-force/gaze/system-design)
Your own site
<a href="https://agentmods.dev/skills/unbound-force/gaze/system-design"><img src="https://agentmods.dev/badge/skills/unbound-force/gaze/system-design.svg" alt="Measured on agentmods" height="20"></a>
Per session 9 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 250 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00009 $0.00250
Opus 5 $0.00005 $0.00125
Sonnet 5 $0.00002 $0.00050
Haiku 4.5 $0.00001 $0.00025

Measured 3d ago against content hash a7b27da39d68, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

system-design 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/system-design/SKILL.md · 41 lines

What it actually says

System Design

Core design principles for the replicator codebase.

Deep Modules

Modules should have simple interfaces and complex implementations. A deep module hides complexity behind a clean API.

Fight Complexity

  • Reduce the number of concepts a developer must hold in mind
  • Make the common case simple, the edge case possible
  • Prefer explicit over implicit behavior

SOLID Principles

  • Single Responsibility: Each package owns one domain concept
  • Open/Closed: Extend via interfaces, not modification
  • Liskov Substitution: Subtypes must be substitutable
  • Interface Segregation: Small, focused interfaces
  • Dependency Inversion: Depend on abstractions, not concretions

DRY

Extract only when there are 3+ duplications. Premature abstraction is worse than duplication.

Dependency Injection

  • Constructor injection: NewFoo(deps) or Options structs
  • No global state or package-level variables
  • External dependencies (filesystem, network, time) behind interfaces
  • Makes testing straightforward with in-memory implementations
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 · 41 lines · 9 tokens per session scan A a7b27da39d68

Subscribe to this mod's changes

system-design is a skill published in the GitHub repository unbound-force/gaze (2 stars, last pushed 2d ago), licensed Apache-2.0. It adds 9 tokens to every session and 250 once invoked, about $0.0000 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-09-03.