Repository navigation
Closed
Labels
capability:intakeImport external signal + sync tracker statecapability:resolveClose-out: invalidate, dedupe, CVE allocate, announcementcapability:statsRead-only dashboards, metrics, governance evidencecapability:triageSweep + classify + propose dispositionenhancementNew feature or requestfamily:ci.github workflows, prek, validatorsfamily:docsDocs, MISSION.md, READMEsfamily:issueissue-* skillsfamily:release-managementrelease-* skillsfamily:securitysecurity-* skillsfamily:toolstools/*kind:perfToken / latency / API-call budgetsubstrate:analyticsTool substrate: read-only metrics / dashboards / rendererssubstrate:framework-devTool substrate: build / validate / eval the framework itself
Description
Part of #1342 — apply the setup-family optimization recipe to the security family.
15 skills, 145,121 body tokens in total; 11 over the 200-token always-on budget, 11 over the 5,000-token body budget.
| skill | body tokens (budget 5,000) | always-on tokens, est. (budget 200) | lines (cap 500) |
|---|---|---|---|
security-issue-import |
28,931 ⚠ | ~280 ⚠ | 2181 ⚠ |
security-issue-triage |
13,159 ⚠ | ~278 ⚠ | 1138 ⚠ |
security-issue-invalidate |
12,379 ⚠ | ~251 ⚠ | 1034 ⚠ |
security-issue-fix |
11,910 ⚠ | ~214 ⚠ | 1084 ⚠ |
security-cve-allocate |
11,198 ⚠ | ~203 ⚠ | 910 ⚠ |
security-issue-import-from-pr |
10,050 ⚠ | ~239 ⚠ | 909 ⚠ |
security-issue-import-via-forwarder |
7,955 ⚠ | ~291 ⚠ | 677 ⚠ |
security-model-verify |
5,544 ⚠ | ~293 ⚠ | 457 |
security-model-update |
4,845 | ~323 ⚠ | 355 |
security-issue-import-from-scan |
4,506 | ~237 ⚠ | 334 |
security-model-prepare |
3,658 | ~251 ⚠ | 308 |
security-issue-sync |
9,944 ⚠ | ~185 | 776 ⚠ |
security-issue-import-from-md |
9,172 ⚠ | ~125 | 862 ⚠ |
security-issue-deduplicate |
8,051 ⚠ | ~189 | 733 ⚠ |
security-tracker-stats-dashboard |
3,819 | ~107 | 339 |
Body tokens are from docs/mode-economics.md; always-on figures are a chars ÷ 4 estimate of description + when_to_use. ⚠ marks a budget exceeded. Line counts include the generated pre-flight block.
Order of work (per the umbrella):
- Trim the frontmatter of every skill marked ⚠ in the always-on column.
- Split any over-cap body, moving sub-action-specific rules into sibling files byte-for-byte.
- Wording pass on the rest, with headings, golden-rule headlines, code blocks and the pre-flight block kept byte-identical.
- Run each touched skill's eval suite before and after, outside the sandbox.
Record any inconsistencies found but not fixed (eval-coupled wording, stale headings) in the PR description.
Metadata
Metadata
Assignees
Labels
capability:intakeImport external signal + sync tracker statecapability:resolveClose-out: invalidate, dedupe, CVE allocate, announcementcapability:statsRead-only dashboards, metrics, governance evidencecapability:triageSweep + classify + propose dispositionenhancementNew feature or requestfamily:ci.github workflows, prek, validatorsfamily:docsDocs, MISSION.md, READMEsfamily:issueissue-* skillsfamily:release-managementrelease-* skillsfamily:securitysecurity-* skillsfamily:toolstools/*kind:perfToken / latency / API-call budgetsubstrate:analyticsTool substrate: read-only metrics / dashboards / rendererssubstrate:framework-devTool substrate: build / validate / eval the framework itself
Activity
fix(security): correct defects found while optimizing the security sk…
feat(vetted-ops): tracker rollup and body-field writes through a sand…
fix(security): make the last sandbox-hostile gh calls plain, and fit …
potiuk commentedon Oct 3, 2026
The optimization of the security family is complete. Every pass has merged.
Savings
Measured across all 15 security skills, from just before the first PR (#1435) to the current
main:SKILL.mdbodies, read on every run (measured_tokens)Rows 2–4 are characters ÷ 4.
SKILL.mdbody is what every invocation pays, and that is down 40%.SKILL.md, so a run now pays for them only when it reaches that step. A second wording pass then cut them: about 6k tokens off a full sync run and about 2k off an import run.What was done
vetted-op-tracker(feat(vetted-ops): tracker rollup and body-field writes through a sandbox-exempt entry point #1448), pre-flight skips (perf(security): skip obvious no-ops before any per-item model work #1449), and out-of-context rollup writes (perf(security): write rollups and body fields without loading them into context #1451).SKILL.mdfiles (perf(security-issue-import-from-pr): wording pass, with a vetted-ops PR read #1457–perf(security): wording pass on import-from-md, import-from-scan, the model skills and the stats dashboard #1464), then of the issue-sync and issue-import siblings (perf(security-issue-import): wording pass on the sibling files #1498, perf(security-issue-sync): wording pass on the sibling files, with evals #1500), and the tracker body templates moved into siblings (perf(security-import): move the tracker body templates into siblings #1499).One leftover:
security-issue-import-from-pris still over the 500-line cap at 629 lines. Getting it under would mean splitting whole steps out, which saves no tokens because every run reads those steps.