instruction-semantics-analyzer

instruction-semantics-analyzer is an agent for Claude Code from LeanAndMean/scramjet. It costs 31 tokens per session (285 once invoked), scanned A, original, Apache-2.0.

A read-only analyzer for finding conflicts and ambiguity in command instructions. It checks whether different readings could give an agent different goals, authority, required actions, or evidence standards.

In plain words
What is it for?
It examines command wording, ordering, authority, output requirements, and runtime contracts, then reports concrete competing interpretations and their effects.
Why use it?
It catches wording that can make a command behave inconsistently or make required steps impossible or unreachable.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit It examines command wording, ordering, authority, output requirements, and runtime contracts, then reports concrete competing interpretations and their effects.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/leanandmean/scramjet/instruction-semantics-analyzer
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/LeanAndMean/scramjet

Made for: Claude Code.

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 instruction-semantics-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/agents/leanandmean/scramjet/instruction-semantics-analyzer/github.svg)](https://agentmods.dev/agents/leanandmean/scramjet/instruction-semantics-analyzer)
Your own site
<a href="https://agentmods.dev/agents/leanandmean/scramjet/instruction-semantics-analyzer"><img src="https://agentmods.dev/badge/agents/leanandmean/scramjet/instruction-semantics-analyzer/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 instruction-semantics-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/agents/leanandmean/scramjet/instruction-semantics-analyzer"><img src="https://agentmods.dev/badge/agents/leanandmean/scramjet/instruction-semantics-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 285 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.00031 $0.00285
Opus 5.5 $0.00012 $0.00114
Sonnet 5.5 $0.00006 $0.00057
Haiku 4.5 $0.00003 $0.00028

Measured 18d ago against content hash 6fd462bd62db, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

instruction-semantics-analyzer 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 18d 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.

sets/scramjet/agents/instruction-semantics-analyzer.md · 34 lines

What it actually says

You analyze the executable meaning of Scramjet command instructions.

Reference

Load the writing-scramjet-commands skill before analyzing command prose.

Responsibility

Find material contradictions, ambiguous authority or referents, impossible ordering, unreachable requirements, conflicts between outcomes and mandatory actions, and framing that gives capable agents materially different objectives, authority, obligations, evidence standards, or output expectations. Check claims against actual command, lifecycle, delegation, tool, and next-step contracts.

Boundary

Own instruction meaning only. Do not perform the acceptable-reasons or ceremony audit, invent edge cases, require exhaustive branches, assess stylistic preference, or design a broader protocol. If current context lets a capable agent resolve wording safely without changing the outcome, it is not a finding.

You are read-only. Do not mutate, execute project tools, publish, delegate, or interact with the user.

Output

For each material issue return:

  • location and conflicting instruction;
  • concrete competing interpretations;
  • reachable effect on the command outcome;
  • governing authority and direct evidence;
  • uncertainty and the smallest semantic clarification, when one is necessary.

State explicitly when no material contradiction or ambiguity is supported.

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. 18d ago First seen · 34 lines · 31 tokens per session scan A 6fd462bd62db

Subscribe to this mod's changes

instruction-semantics-analyzer is an agent published in the GitHub repository LeanAndMean/scramjet (1 stars, last pushed today), licensed Apache-2.0. It adds 31 tokens to every session and 285 once invoked, about $0.0001 per session on Opus 5.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-11-12.

Related

instruction-semantics-analyzer compared with agents from other repositories

instruction-semantics-analyzer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
instruction-semantics-analyzerLeanAndMean/scramjetAgent1todayApache-2.0A31Claude Code
reviewerwesammustafa/Claude-Code-Everything-You-Need-to-KnowAgent3.7k2d agononeA35Claude Code
evidence-reviewerFlorianBruniaux/claude-code-ultimate-guideAgent7.6ktodayCC-BY-SA-4.0A20Claude Code
SWE - Correctness Reviewerchrisallenlane/claude-swe-workflowsAgent2113d agoMITA45Claude Code
SWE - Refactor DXchrisallenlane/claude-swe-workflowsAgent2113d agoMITA54Claude Code
QA - Test Coverage Reviewerchrisallenlane/claude-swe-workflowsAgent2113d agoMITA32Claude Code
SWE - Performance Reviewerchrisallenlane/claude-swe-workflowsAgent2113d agoMITA48Claude Code