anti-defensive

anti-defensive is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 161 tokens per session (1,740 once invoked), scanned A, original, Apache-2.0.

A checker and rewriting guide for defensive academic writing, such as repeated uncertainty, self-deprecation, and vague references to other researchers.

In plain words
What is it for?
Use it on a text passage or file to find over-cautious wording and receive specific rewrite suggestions.
Why use it?
It helps make claims clearer when a draft uses too many hedges such as “may possibly” or weak framing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/anti_defensive.py --file draft_section.md.

Good fit Use it on a text passage or file to find over-cautious wording and receive specific rewrite suggestions.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkit
agentmods
npx agentmods add skills/morningstar202604/awesome-skillkit/anti-defensive

Made for: Claude Code, Codex.

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 anti-defensive

README.md
[![agentmods](https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/anti-defensive/github.svg)](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/anti-defensive)
Your own site
<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.

agentmods 80×15 button for anti-defensive

Your own site · 80×15
<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>
Per session 161 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,740 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.00161 $0.01740
Opus 5.5 $0.00064 $0.00696
Sonnet 5.5 $0.00032 $0.00348
Haiku 4.5 $0.00016 $0.00174

Measured 2mo ago against content hash 1f74b1e70496, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

site/skills/paper/anti-defensive/SKILL.md · 104 lines

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.

Read the full file on GitHub · 104 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. 2mo ago Changed · -11 tokens per session 1f74b1e70496
  2. 2mo ago Changed · +12 lines · +57 tokens per session 9535f07278aa
  3. 2mo ago First seen · 92 lines · 115 tokens per session scan A 3c4ae9733e95

Subscribe to this mod's changes

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.

Related

anti-defensive compared with skills from other repositories

anti-defensive next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
anti-defensiveMorningstar202604/awesome-skillkitSkill02mo agoApache-2.0A161Claude Code, Codex
drug-discoveryNousResearch/hermes-agentSkill267ktodayMITA19Claude Code, Codex
sglang-diffusion-cache-ditsgl-project/sglangSkill39ktodayApache-2.0A161Claude Code
detecting-pv-signalsmaziyarpanahi/openmedSkill5.9kyesterdayApache-2.0A218Claude Code
coding-icd10maziyarpanahi/openmedSkill5.9kyesterdayApache-2.0A209Claude Code
deidentifying-clinical-textmaziyarpanahi/openmedSkill5.9kyesterdayApache-2.0A144Claude Code
extracting-sdohmaziyarpanahi/openmedSkill5.9kyesterdayApache-2.0A163Claude Code