sqlew-decision-format

sqlew-decision-format is a skill for Claude Code from sqlew-io/sqlew-plugin. It costs 49 tokens per session (1,129 once invoked), scanned A, original, Apache-2.0.

A plan-mode skill that records decisions and constraints using specific markers: πŸ“Œ Decision and 🚫 Constraint. These markers can be extracted automatically when a plan is approved or completed.

In plain words
What is it for?
Use it when writing implementation plans that need recorded decisions or constraints. It supports plan workflows in Codex, Claude Code, and Grok Build.
Why use it?
It keeps important choices and outside requirements visible in plans instead of leaving them only in conversation. This helps preserve why decisions were made and what limits the work.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the ExitPlanMode tool; mentions Claude Code; mentions Codex.

Part of the sqlew plugin β€” 3 skills, 6 hooks, 1 MCP server shipped together

Good fit Use it when writing implementation plans that need recorded decisions or constraints. It supports plan workflows in Codex, Claude Code, and Grok Build.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sqlew-io/sqlew-plugin/sqlew-decision-format
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.

Any agent
npx skills add sqlew-io/sqlew-plugin --skill sqlew-decision-format
Clone the repo
git clone --depth 1 https://github.com/sqlew-io/sqlew-plugin

Made for: Claude Code.

Or install sqlew, the plugin that ships this one along with the rest of its 3 skills, 6 hooks, 1 MCP server.

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 sqlew-decision-format

README.md
[![agentmods](https://agentmods.dev/badge/skills/sqlew-io/sqlew-plugin/sqlew-decision-format/github.svg)](https://agentmods.dev/skills/sqlew-io/sqlew-plugin/sqlew-decision-format)
Your own site
<a href="https://agentmods.dev/skills/sqlew-io/sqlew-plugin/sqlew-decision-format"><img src="https://agentmods.dev/badge/skills/sqlew-io/sqlew-plugin/sqlew-decision-format/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 sqlew-decision-format

Your own site Β· 80Γ—15
<a href="https://agentmods.dev/skills/sqlew-io/sqlew-plugin/sqlew-decision-format"><img src="https://agentmods.dev/badge/skills/sqlew-io/sqlew-plugin/sqlew-decision-format.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,129 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.00049 $0.01129
Opus 5 $0.00024 $0.00564
Sonnet 5 $0.00010 $0.00226
Haiku 4.5 $0.00005 $0.00113

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

Security

Grade A, and why

sqlew-decision-format 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 10d 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.

.hermes-plugin/skills/sqlew-decision-format/SKILL.md Β· 128 lines

How it starts

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

Plan Mode: Decision & Constraint Recording

When including decisions or constraints in your plan, use the following format. They will be auto-detected on ExitPlanMode (Claude Code), exit_plan_mode approval (Grok Build), or Codex Plan mode session stop, and registered via the hook queue in sqlew.

Grok Build: Write these blocks directly in plan.md. Hook stdout injection is not available; sqlew seeds a template section on plan.md via file side-effects (enter plan / prompt / post-edit). Approving the plan without filled blocks is denied by default (hooks.grok_require_patterns). This skill remains the reference for field meanings and what to record.

Codex: Write these blocks in the plan output during collaboration Plan mode. Extraction runs from the session transcript on Stop.


What to Record (and What NOT to Record)

sqlew stores facts that cannot be re-derived from the code. Before writing a πŸ“Œ Decision or 🚫 Constraint block, apply this filter:

Record:

  • Choices where alternatives were considered and rejected β€” and WHY they lost
  • Constraints imposed from outside the code: business rules, compliance, customer commitments, team agreements
  • Non-obvious tradeoffs: workarounds for upstream bugs, deliberate deviations from the idiomatic approach (performance, past incidents)
  • Anything a future agent might "helpfully" undo because the reason is invisible in the code

Do NOT record:

  • Facts derivable from the code itself (dependencies, file structure, framework or library in use)
  • Implementation details that can change freely without consequence
  • Temporary or experimental choices that are not yet settled
  • Restatements of what the code already says

Rule of thumb: if a future AI agent reading only the code would reach the same conclusion, skip it. If it would guess the reason wrong β€” record it with the WHY.


πŸ“Œ Decision: [hierarchical/key]

Record decisions using this format:

### πŸ“Œ Decision: [key/path]
- **Value**: Description of the decision
- **Layer**: presentation | business | data | infrastructure | cross-cutting
- **Tags**: tag1, tag2 (optional)
- **Rationale**: Why this decision was made (strongly recommended β€” the WHY is the part future agents cannot infer from code)
- **Alternatives**: Option A, Option B (comma-separated; record what was rejected)
- **Tradeoffs**: Pros and cons description (optional)

Read the full file on GitHub Β· 128 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. 10d ago First seen Β· 128 lines Β· 49 tokens per session scan A 783be8b144bd

Subscribe to this mod's changes

sqlew-decision-format is a skill published in the GitHub repository sqlew-io/sqlew-plugin (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 49 tokens to every session and 1,129 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

stuck

Diagnose frozen, stuck, or slow Qwen Code sessions on this machine. Scans for problematic processes, high CPU/memory usage, hung subprocesses, and debug logs. Use /stuck or /stuck to focus on a specific process.

QwenLM/qwen-code Β· 57 tokens

e2e-testing

Guide for running end-to-end tests of the Qwen Code CLI, including headless mode, MCP server testing, and API traffic inspection. Use this skill whenever you need to verify CLI behavior with real model calls, reproduce user-reported bugs end-to-end, test MCP tool integrations, or inspect raw API request/response…

QwenLM/qwen-code Β· 94 tokens

structured-debugging

Hypothesis-driven debugging methodology for hard bugs. Use this skill whenever you're investigating non-trivial bugs, unexpected behavior, flaky tests, or tracing issues through complex systems. Activate proactively when debugging requires more than a quick glance β€” especially when the first attempt at a fix didn't…

QwenLM/qwen-code Β· 85 tokens

terminal-capture

Automates terminal UI screenshot testing for CLI commands. Applies when reviewing PRs that affect CLI output, testing slash commands (/about, /context, /auth, /export), generating visual documentation, or when 'terminal screenshot', 'CLI test', 'visual test', or 'terminal-capture' is mentioned.

QwenLM/qwen-code Β· 66 tokens

batch

Execute batch operations on multiple files in parallel. Automatically discovers files, splits into chunks, and processes with parallel worker agents. Use /batch followed by operation and file pattern.

QwenLM/qwen-code Β· 37 tokens

computer-use

Control local desktop applications through Computer Use for tasks that require reading or operating app UI. Prefer purpose-built connectors, APIs, or CLIs when available.

QwenLM/qwen-code Β· 33 tokens