Skip to content

Commit 431c342

Browse files
committed
chore(skills): three token ratchet rows follow their files down
The checked action examples lost their `locations` key, so three published skill files are shorter: 6799 to 6791, 2264 to 2256 and 3890 to 3844 tokens. Each row is pinned at its file's measurement. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibztwLPZEpzDMBn2GM6
1 parent b36d92b commit 431c342

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

‎scripts/check-skills-token-ratchet.mjs‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,9 @@ export const CEILINGS = new Map([
443443
// Modify All cast no field vote). 27230 -> 27225 bytes; the row follows the measurement down.
444444
// 6800 -> 6799 (card #37304): the `supportKb` example's two renamed keys add
445445
// two bytes and its comment gives back six; the row follows the measurement down.
446-
['skills/objectstack-ai/SKILL.md', 6799], // -18 (was 6824), then -5 A2′ (was 6806)
446+
// 6799 -> 6791: the Ask AI example drops its `locations` line (32 bytes), so it compiles
447+
// under both action location vocabularies; the row follows the measurement down.
448+
['skills/objectstack-ai/SKILL.md', 6791], // -18 (was 6824), then -5 A2′ (was 6806)
447449
// -12 (was 6331): the `http.server` decision-table row dropped a trailing
448450
// clause that taught `contributes.routes` as a key that "parses but serves
449451
// nothing". The key is retired — an authored entry is now REFUSED, carrying
@@ -1083,7 +1085,9 @@ export const CEILINGS = new Map([
10831085
// (-41 bytes). Net shrink, so no raise: the ceiling follows the file down to the
10841086
// measurement, 9133 bytes (9113 priced) -> 9107 (9087 priced) -> 2272 tokens.
10851087
// ceil(($(wc -c < skills/objectstack-ui/SKILL.md) - 20) / 4) == ceil(9087 / 4)
1086-
['skills/objectstack-ui/SKILL.md', 2264], // -8 to the measurement (was 2272)
1088+
// 2264 -> 2256: the Actions JSON fence drops its `locations` key (32 bytes), so it parses
1089+
// under both action location vocabularies; the row follows the measurement down.
1090+
['skills/objectstack-ui/SKILL.md', 2256], // -8 to the measurement (was 2264)
10871091
// 8333 -> 6193: RE-LOCK at the landed count after the #19715 split (decision
10881092
// batch #213 item 1, maintainer 「1 2 4 同意」): the worked R1, the report
10891093
// template and the v17-canonical shapes block moved VERBATIM into
@@ -1652,7 +1656,10 @@ export const CEILINGS = new Map([
16521656
// measured remainder only. Same ruling (2026-10-27, tap A): 「A:先削重复,余额按实测提高」
16531657
// (ruling record 6513306068, letter B).
16541658
// ceil($(wc -c < skills/objectstack-ui/rules/actions.md) / 4) == ceil(15559 / 4)
1655-
['skills/objectstack-ui/rules/actions.md', 3890],
1659+
// 3890 -> 3844: five checked examples drop their `locations` line (186 bytes), so each
1660+
// compiles under both action location vocabularies; the row follows the measurement down.
1661+
// ceil($(wc -c < skills/objectstack-ui/rules/actions.md) / 4) == ceil(15373 / 4)
1662+
['skills/objectstack-ui/rules/actions.md', 3844],
16561663
// 6090 -> 6252 (#19715, card item 4): a 5-line table of contents at the top,
16571664
// anchors to the file's existing headings, nothing else changed. +162 tokens,
16581665
// zero headroom to absorb any of it, ceiling +162. Maintainer ruling

0 commit comments

Comments
 (0)