Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkitnpx agentmods add skills/morningstar202604/awesome-skillkit/anti-defensiveWrote 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.
[](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/anti-defensive)<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/anti-defensive"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/anti-defensive/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.
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/anti-defensive"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/anti-defensive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00161 | $0.01740 |
| Opus 5.5 | $0.00064 | $0.00696 |
| Sonnet 5.5 | $0.00032 | $0.00348 |
| Haiku 4.5 | $0.00016 | $0.00174 |
Grade A, and why
anti-defensive 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Anti-Defensive (SOTA)
Detect defensive/hedged phrasing in academic text and distinguish what to tighten from what to retain — the old version treated "every qualifier as a problem", which would wrongly rewrite statistical conclusions into bare assertions.
Honest Disclosure: only hits with
action == "tighten"are deducted;action == "retain"means the qualifier appears near a statistical-uncertainty context (confidence interval / p-value / variance / sample size / distribution shift / estimator) and is a reasonable statistical qualifier — deleting it is an academic error, not a style improvement.
Input Checklist
| Input | Required | Notes |
|---|---|---|
| text to process | yes | Pass directly with --text "...", or read a file with --file draft.md; if --file doesn't exist, rc=1 |
| context window | no | --context-window 80 (default 80 chars): scan this many chars before/after a hit to find statistical context |
| output path | no | --output report.json saves JSON; default prints to stdout |
When missing, ask everything at once: "Please provide: ① the text to process (paste directly or give a file path) ② whether to save to disk (--output path). Otherwise defaults: JSON to stdout."
Pre-flight Checks
python3 --version # expect >= 3.8, else error and STOP
test -f scripts/anti_defensive.py && echo OK # expect OK printed, else script missing STOP
test -f "$FILE" && echo FILE_OK # only when using --file; if missing rc=1, STOP first
If python3 is missing -> prompt to install Python >=3.8; if the script is missing -> say this skill's directory is incomplete and don't continue.
Workflow
Step 1: Load and Detect the Text
python3 scripts/anti_defensive.py --file draft_section.md
python3 scripts/anti_defensive.py --text "Our results suggest that the method may possibly improve"
Expected: JSON output containing score, status, method (pattern+context-classifier), issues[], n_flags (number of categories to tighten), n_retained_only, hedge_density_per_100w, hedges_total, words, tighten_hits, retain_hits, note. Each issues[] item has type/issue/fix/severity/count/action (tighten/retain)/retained/tightened/positions/examples.
If it fails: Need --text or --file -> no input given; return to the input checklist; rc=1 -> the --file path doesn't exist.
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.
- 2mo ago Changed · -11 tokens per session 1f74b1e70496
- 2mo ago Changed · +12 lines · +57 tokens per session 9535f07278aa
- 2mo ago First seen · 92 lines · 115 tokens per session scan A 3c4ae9733e95
anti-defensive is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 161 tokens to every session and 1,740 once invoked, about $0.0006 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-09-19.
anti-defensive compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| anti-defensiveMorningstar202604/awesome-skillkit | Skill | 0 | 2mo ago | Apache-2.0 | A | 161 | Claude Code, Codex |
| drug-discoveryNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 19 | Claude Code, Codex |
| sglang-diffusion-cache-ditsgl-project/sglang | Skill | 39k | today | Apache-2.0 | A | 161 | Claude Code |
| detecting-pv-signalsmaziyarpanahi/openmed | Skill | 5.9k | yesterday | Apache-2.0 | A | 218 | Claude Code |
| coding-icd10maziyarpanahi/openmed | Skill | 5.9k | yesterday | Apache-2.0 | A | 209 | Claude Code |
| deidentifying-clinical-textmaziyarpanahi/openmed | Skill | 5.9k | yesterday | Apache-2.0 | A | 144 | Claude Code |
| extracting-sdohmaziyarpanahi/openmed | Skill | 5.9k | yesterday | Apache-2.0 | A | 163 | Claude Code |