opsx-propose

opsx-propose is a command for coding agents from unbound-force/gaze. It costs 15 tokens per session (1,505 once invoked), scanned A, original, Apache-2.0.

A command that turns a requested software change into a named work folder containing a summary, a technical design, and implementation steps.

In plain words
What is it for?
Use it to start a new feature or fix from a description, creating planning documents that can later guide implementation.
Why use it?
It organizes an idea before coding, so the purpose, approach, and work to do are recorded in one place.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/unbound-force/gaze/opsx-propose
Clone the repo
git clone --depth 1 https://github.com/unbound-force/gaze

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 opsx-propose

README.md
[![agentmods](https://agentmods.dev/badge/commands/unbound-force/gaze/opsx-propose.svg)](https://agentmods.dev/commands/unbound-force/gaze/opsx-propose)
Your own site
<a href="https://agentmods.dev/commands/unbound-force/gaze/opsx-propose"><img src="https://agentmods.dev/badge/commands/unbound-force/gaze/opsx-propose.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,505 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 $0.00015 $0.01505
Opus 5 $0.00008 $0.00753
Sonnet 5 $0.00003 $0.00301
Haiku 4.5 $0.00002 $0.00151

Measured 3d ago against content hash 626108f68697, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

opsx-propose 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/commands/opsx-propose.md · 161 lines

How it starts

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

Propose a new change - create the change and generate all artifacts in one step.

I'll create a change with artifacts:

  • proposal.md (what & why)
  • design.md (how)
  • tasks.md (implementation steps)

When ready to implement, run /opsx-apply


Input: The argument after /opsx-propose is the change name (kebab-case), OR a description of what the user wants to build.

Steps

  1. If no input provided, ask what they want to build

    Use the AskUserQuestion tool (open-ended, no preset options) to ask:

    "What change do you want to work on? Describe what you want to build or fix."

    From their description, derive a kebab-case name (e.g., "add user authentication" → add-user-auth).

    IMPORTANT: Do NOT proceed without understanding what the user wants to build.

  2. Create the change directory

    openspec new change "<name>"
    

    This creates a scaffolded change at openspec/changes/<name>/ with .openspec.yaml.

2a. Check for uncommitted changes

Before creating or switching branches, run git status --short. If there are uncommitted changes (staged, unstaged, or untracked files that appear related to work):

  • STOP and ask the user for confirmation before switching branches. Show what uncommitted changes exist and warn that switching branches with a dirty working tree may cause changes to be applied to the wrong branch.
  • If the user confirms, proceed. If not, abort.
  • Exception: if the user explicitly requested a new change, this still requires confirmation -- never silently switch branches with uncommitted work.

2b. Create and checkout a branch

git checkout -b opsx/<name>

Guard: Before creating the branch, check the current branch:

  • If already on opsx/<name> (exact match): skip branch creation, proceed.
  • If on a different opsx/* branch: STOP with error: "Already on branch opsx/<other> -- finish or archive that change first."
  • If on main or any non-opsx branch: create and checkout opsx/<name>.

2c. Retrieve context from Dewey

Before drafting the proposal, query Dewey for relevant context:

  • dewey_semantic_search with the change description to find related specs, past proposals, and similar changes
  • dewey_semantic_search_filtered with source_type: "github" to find related issues across the organization
  • dewey_traverse on any discovered related specs to understand dependencies

Use the retrieved context to inform the proposal's scope, identify potential conflicts with existing work, and reference relevant prior decisions.

If Dewey is unavailable, proceed without cross-repo context -- use direct file reads of local specs and backlog items instead.

  1. Get the artifact build order

    openspec status --change "<name>" --json
    

    Parse the JSON to get:

    • applyRequires: array of artifact IDs needed before implementation (e.g., ["tasks"])
    • artifacts: list of all artifacts with their status and dependencies
  2. Create artifacts in sequence until apply-ready

    Use the TodoWrite tool to track progress through the artifacts.

    Loop through artifacts in dependency order (artifacts with no pending dependencies first):

    a. For each artifact that is ready (dependencies satisfied):

    • Get instructions:
      openspec instructions <artifact-id> --change "<name>" --json
      
    • The instructions JSON includes:
      • context: Project background (constraints for you - do NOT include in output)
      • rules: Artifact-specific rules (constraints for you - do NOT include in output)
      • template: The structure to use for your output file
      • instruction: Schema-specific guidance for this artifact type
      • outputPath: Where to write the artifact
      • dependencies: Completed artifacts to read for context
    • Read any completed dependency files for context
    • Create the artifact file using template as the structure
    • Apply context and rules as constraints - but do NOT copy them into the file
    • Show brief progress: "Created "

Read the full file on GitHub · 161 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 · 161 lines · 15 tokens per session scan A 626108f68697

Subscribe to this mod's changes

opsx-propose is a command published in the GitHub repository unbound-force/gaze (2 stars, last pushed today), licensed Apache-2.0. It adds 15 tokens to every session and 1,505 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.