Skip to content

perf(security): trim the always-on descriptions of the security-model skills - #1438

Merged
potiuk merged 1 commit into
optimize/security-3-shared-tracker-creationfrom
optimize/security-4-model-descriptions
Sep 27, 2026
Merged

potiuk merged 1 commit into
optimize/security-3-shared-tracker-creationfrom
optimize/security-4-model-descriptions

Conversation

@potiuk

@potiuk potiuk commented Sep 27, 2026

Copy link
Copy Markdown
Member

Fourth of a four-PR stack for the security family (#1344).

Summary

  • description + when_to_use load in every session, for every installed skill. The three security-model-* skills spent ~250–323 tokens there, against the 200-token budget. Most of it was rationale the body already covers: the Alpha-Omega delegation, the draft-first reasoning, the regression-check motive, and routing clauses repeated across all three skills.
  • Each skill keeps its purpose, its main trigger phrases, and the one neighbouring skill to route to instead.
skill always-on (chars ÷ 4)
security-model-update ~323 → ~122
security-model-verify ~293 → ~125
security-model-prepare ~251 → ~110

docs/setup/marketplace.md's always-on figure for magpie-security is updated from ~1.9k to ~1.6k, as measured by check-doc-sync.

Other security skills are still over the always-on budget: issue-import-via-forwarder (~291), issue-import (~280), issue-triage (~278), issue-invalidate (~251), issue-import-from-pr (~239), issue-import-from-scan (~237), issue-fix (~214) and cve-allocate (~203). They go in a follow-up wording pass.

Type of change

  • Skill change: frontmatter only
  • Documentation: docs/setup/marketplace.md

Test plan

  • prek run --all-files passes
  • skill-and-tool-validate green
  • Frontmatter is not part of any eval's extracted step section, so eval inputs are unchanged

Stack

  1. drop Snapshot drift
  2. split into siblings
  3. one safe-create recipe, board-recipe pointers
  4. this PR: trim the security-model-* always-on descriptions

Part of #1344.

Generated-by: Claude Code (Opus 5.5)

🤖 Generated with Claude Code

…odel skills

A skill's description and when_to_use load in every session, whether or
not the skill runs. The three security-model skills spent 250-323 tokens
each there, against a 200-token target, mostly on rationale the body
already covers: the Alpha-Omega delegation, the draft-first reasoning,
the regression-check motive, and routing clauses repeated across all
three skills.

The rewritten text keeps each skill's purpose, its key trigger phrases,
and the one neighbouring skill to route to instead.

Generated-by: Claude Code (Opus 5.5)
@potiuk
potiuk force-pushed the optimize/security-4-model-descriptions branch from b96e129 to 1458378 Compare September 27, 2026 23:32
@potiuk
potiuk merged commit 10bde49 into main Sep 27, 2026
10 checks passed
@potiuk
potiuk deleted the optimize/security-4-model-descriptions branch September 27, 2026 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

family:security security-* skills

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant