minos-configure

minos-configure is a command for Claude Code from FlavioZanoni/minos. It costs 11 tokens per session (1,007 once invoked), scanned A, a copy of configure, Apache-2.0.

A command that changes Minos rules from a plain-language request. Minos is a tool that checks coding-agent actions against configurable project or global rules.

In plain words
What is it for?
Use it to add or change rules for commands, file edits, tools, paths, or matching command text.
Why use it?
It removes the need to edit JSONC configuration files by hand while preserving existing rules and comments.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions OpenCode.

Part of the minos plugin — 8 commands, 2 hooks shipped together

Good fit Use it to add or change rules for commands, file edits, tools, paths, or matching command text.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/flaviozanoni/minos/minos-configure
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.

Clone the repo
git clone --depth 1 https://github.com/FlavioZanoni/minos

Made for: Claude Code.

Or install minos, the plugin that ships this one along with the rest of its 8 commands, 2 hooks.

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 minos-configure

README.md
[![agentmods](https://agentmods.dev/badge/commands/flaviozanoni/minos/minos-configure/github.svg)](https://agentmods.dev/commands/flaviozanoni/minos/minos-configure)
Your own site
<a href="https://agentmods.dev/commands/flaviozanoni/minos/minos-configure"><img src="https://agentmods.dev/badge/commands/flaviozanoni/minos/minos-configure/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 minos-configure

Your own site · 80×15
<a href="https://agentmods.dev/commands/flaviozanoni/minos/minos-configure"><img src="https://agentmods.dev/badge/commands/flaviozanoni/minos/minos-configure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 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,007 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 91% copy Near-identical to another mod 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.00011 $0.01007
Opus 5 $0.00005 $0.00504
Sonnet 5 $0.00002 $0.00201
Haiku 4.5 $0.00001 $0.00101

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

Security

Grade A, and why

minos-configure 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 8d 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.

Origin

This is a copy

91% identical to configure — 9 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

opencode/commands/minos-configure.md · 69 lines

How it starts

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

The user wants Minos configured as follows: $ARGUMENTS

Translate that into config changes and apply them. Everything you need is below - do not guess fields.

Files

  • Global (applies everywhere): ~/.config/minos/rules.jsonc
  • Project (this repo only): .minos/rules.jsonc

Pick the scope the user implied ("everywhere/always" → global; otherwise default to project). Read the target file first (it may not exist - then create it). Files are JSONC: // comments and trailing commas are allowed; when editing, preserve existing entries and comments.

Schema

{
  "rules": [
    {
      "id": "kebab-case-unique-id",          // required
      "summary": "one-line description",      // optional, shown in the config UI
      "enabled": false,                       // optional: keep the rule in config but skip it; omit = active
      "appliesTo": {
        "tools": ["Bash"],                    // which agent tools: Bash for commands, Edit/Write for file changes; omit = all
        "pathGlob": ["src/**/*.ts"],          // content rules only; ** = any depth, * = within segment; omit = all files
        "commandMatch": ["git commit"]        // command rules only; case-insensitive substrings; omit = all commands
      },
      "trigger": {
        // exactly one of these three shapes:
        // { "type": "contains", "patterns": ["push --force"] }        // case-insensitive literal, any match fires
        // { "type": "regex", "patterns": ["rm\\s+-[a-z]*r[a-z]*f"] }  // JS regex, case-SENSITIVE, any match fires
        // { "type": "llm-judge", "promptText": "yes/no question", "context": "tooling", "model": "..." }
        //   promptText = inline judge prompt (preferred); "prompt": "path.md" = prompt file relative to the
        //   config dir; "context": "tooling" additionally sends the project's discovered scripts/CLIs to the judge;
        //   "model" = per-rule judge model override, omit to inherit the config-level default
      },
      "action": "block",                      // "block" denies the action; "warn" lets it through with a notice
      "message": "shown to the agent when the rule fires - say what to do instead"
    }
  ],
  "disable": ["global-rule-id", { "id": "other-id", "reason": "why" }],  // project file only: turn off global rules here
  "judge": { "model": "claude-haiku-4-5-20251001", "timeoutMs": 30000 }  // default model for llm-judge rules
}

Read the full file on GitHub · 69 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. 8d ago First seen · 69 lines · 11 tokens per session scan A 8fb35a349e2b

Subscribe to this mod's changes

minos-configure is a command published in the GitHub repository FlavioZanoni/minos (5 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 11 tokens to every session and 1,007 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to configure, differing in 9 lines, and is treated as a copy.

Related

Other commands, from other repositories

composite-actions

Generate, review, secure, and test composite GitHub Actions following best practices — full repo scaffold, interview-driven generation, PR creation on existing repos, SHA pinning, secrets-as-inputs, job summaries, and actionlint validation.

nitinjain999/platform-skills · 51 tokens

github-actions

Design, review, secure, and debug GitHub Actions workflows — reusable workflows, OIDC federation, SHA pinning, token scoping, promotion orchestration, and CI failure diagnosis.

nitinjain999/platform-skills · 40 tokens

datadog

Set up and troubleshoot Datadog — Agent deployment on Kubernetes, APM instrumentation, Log Management, Monitors, Dashboards, SLOs, Synthetic tests, and live incident investigation using the Datadog MCP server. Covers Terraform-managed Datadog resources.

nitinjain999/platform-skills · 57 tokens

fluxcd

FluxCD entry point — routes to the right workflow based on what you need. Live cluster issue → structured 5-workflow debug trace. Repo health check → 6-phase audit (discovery, validation, API compliance, best practices, security). Helm chart review → helmchart. Starts by asking one question to confirm the right mode.

nitinjain999/platform-skills · 71 tokens

linkerd

Linkerd-specific diagnostics — mTLS verification, proxy injection issues, authorization policy debugging, traffic management, and multi-cluster connectivity problems.

nitinjain999/platform-skills · 30 tokens

ia-verify

Run pre-PR verification chain -- build, types, lint, tests, security scan, diff review.

iliaal/whetstone · 24 tokens