feat(tokens): compress the 10 fattest personal skill descriptions

6,416 → 4,243 chars (≈ −540 tokens/session, catalog loaded every
session). Kept per BDR-014/LRN-043: 'Use when' pattern, discriminating
FR+EN triggers, all 'For X → /Y' disambiguation lines. Cut: redundant
trigger synonyms, header/engine enumerations, prose the model derives.
find-docs excluded (ctx7-owned, regen clobbers — LRN-086); doc + geo
taken instead. All ≤ ~505 chars body (BDR-014 aspirational ceiling).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016zA3Qh2Q1QpcGXzXxKeDHR
This commit is contained in:
Bastien Chanot
2026-07-02 14:31:38 +02:00
co-authored by Claude Fable 5
parent 56bd5ff0c2
commit 1aa9afe669
10 changed files with 65 additions and 93 deletions
+7 -15
View File
@@ -1,21 +1,13 @@
---
name: harden
description: |
Web hardening audit — transport (HTTPS/TLS, HTTP→HTTPS redirect, HSTS),
security headers (CSP, X-Frame-Options, X-Content-Type-Options,
Referrer-Policy, Permissions-Policy), cookie flags (Secure, HttpOnly,
SameSite), canonical URLs, custom 404, and server config hardening
(.htaccess, nginx.conf, netlify.toml, vercel.json, _headers, _redirects,
wrangler.toml). Dispatches the seo-analyzer agent with a STRICT scope
filter — no meta/OG/JSON-LD/sitemap/CWV/headings/alt/i18n noise.
Produces .claude/audits/HARDEN.md.
Trigger: "harden", "web hardening", "ssl audit", "https audit",
"hsts", "csp", "security headers", "http to https", "redirect audit",
"htaccess audit", "404 page", "canonical audit", "transport security",
"durcissement web", "audit sécurité web", "entêtes sécurité".
For full SEO audit (meta/OG/JSON-LD/sitemap/CWV) → use /seo.
For AI search / llms.txt / AI crawlers → use /geo.
For secrets / dependency CVEs / OWASP code-level → use /cso.
Web hardening audit — HTTPS/TLS, HSTS, security headers (CSP,
X-Frame-Options…), cookie flags, canonical, custom 404, server config
(.htaccess, nginx, netlify, vercel…). Strict scope: no
meta/OG/JSON-LD/sitemap noise. Report: .claude/audits/HARDEN.md.
Triggers: "harden", "security headers", "csp", "hsts", "https/ssl
audit", "redirect audit", "durcissement web", "entêtes sécurité".
Meta/sitemap/CWV → /seo. llms.txt/AI → /geo. Secrets/CVE/OWASP → /cso.
argument-hint: [URL] [--fix] [--local|--full] [--no-external]
allowed-tools:
- Read