compare

compare is a command for Claude Code from jaskaranhundal/usap-skills. It costs 36 tokens per session (562 once invoked), scanned A, original, Apache-2.0.

A command that compares an older and newer version of a zero-day response skill using the same FortiGate security incident scenario.

In plain words
What is it for?
Use it to inspect differences in handling attack paths, stolen Okta sessions, logging, traffic controls, and vendor-specific commands.
Why use it?
It makes it easier to see which known response problems were fixed and how the results changed.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Part of the usap-skills plugin — 87 skills, 7 commands, 1 plugin shipped together

Good fit Use it to inspect differences in handling attack paths, stolen Okta sessions, logging, traffic controls, and vendor-specific commands.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jaskaranhundal/usap-skills/compare
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/jaskaranhundal/usap-skills

Made for: Claude Code.

Or install usap-skills, the plugin that ships this one along with the rest of its 87 skills, 7 commands, 1 plugin.

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 compare

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/jaskaranhundal/usap-skills/compare"><img src="https://agentmods.dev/badge/commands/jaskaranhundal/usap-skills/compare.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 562 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.00036 $0.00562
Opus 5 $0.00018 $0.00281
Sonnet 5 $0.00007 $0.00112
Haiku 4.5 $0.00004 $0.00056

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

Security

Grade A, and why

compare 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 9d 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.

.claude/commands/usap/compare.md · 63 lines

How it starts

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

You are running a before/after comparison for zero-day-response.


Phase 1 — v1 Baseline (pre-fix)

  1. Read tests/fixtures/zero-day-response-v1.md in full.
  2. Read tests/scenarios/fortigate-zero-day.json in full.
  3. Apply the scenario using only v1's reasoning procedure — do not import knowledge from v2.
  4. Produce abbreviated output covering only the sections relevant to the 6 known problems:
    • How actions are expressed (intent blocks vs raw CLI)
    • AWS lateral movement attack path
    • Okta session theft handling
    • Logging change recommendations
    • Immediate traffic control options
    • Any vendor-specific syntax used
  5. For each of the 6 problems, identify and quote the specific v1 text that demonstrates the failure (or note its absence).

Phase 2 — v2 Fixed (current)

  1. Read response/zero-day-response/SKILL.md in full.
  2. Apply the same FortiGate scenario using v2's reasoning procedure.
  3. Produce equivalent abbreviated output sections for direct comparison with Phase 1.
  4. For each of the 6 problems, quote the specific v2 text that demonstrates the fix.

Phase 3 — Scorecard Table

Output the following comparison table:

Before/After Scorecard — zero-day-response
==========================================

| Problem                              | v1 (pre-fix)  | v2 (fixed)    |
|--------------------------------------|---------------|---------------|
| P1: Raw CLI commands in output       | FAIL          | PASS          |
| P2: AWS IAM prerequisite missing     | FAIL          | PASS          |
| P3: Okta theft without TLS check     | FAIL          | PASS          |
| P4: No logging pre-flight            | FAIL          | PASS          |
| P5: No immediate traffic controls    | FAIL          | PASS          |
| P6: Incorrect vendor syntax          | FAIL          | PASS          |
|--------------------------------------|---------------|---------------|
| TOTAL                                | 0/6           | 6/6           |

Read the full file on GitHub · 63 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. 9d ago First seen · 63 lines · 36 tokens per session scan A 24c7240a4d3f

Subscribe to this mod's changes

compare is a command published in the GitHub repository jaskaranhundal/usap-skills (4 stars, last pushed 3d ago), licensed Apache-2.0. It adds 36 tokens to every session and 562 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.