Skip to content

skills: trim the start_dev and /prm mandatory reads (token load) - #597

Merged
Jammy2211 merged 1 commit into
mainfrom
ccr-c113837c-0ulthv
Nov 7, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
ccr-c113837c-0ulthv

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

This is the procedure-length slice of PyAutoMind draft/maintenance/organs/reduce_session_token_load.md (levers 5–6). It shortens what a session must read to run /start_dev and /prm.

Result

scripts/token_load.py counts each procedure as its entry file + body + CONTEXT.md + WORKFLOW.md:

Procedure Before After Target CI budget
start_dev 499 360 350 400 (was failing, now passes)
/prm 456 338 300 450 (was failing, now passes)

Neither target is fully met: start_dev is 10 lines over, /prm 38.

What changed

No gate, refusal or rule is removed; every test-pinned phrase is kept.

  • WORKFLOW.md (181 → 117 lines): the same content, written more compactly. This file counts toward both procedures.
  • CONTEXT.md (68 → 61 lines): written more compactly.
  • start_dev/start_dev.md (234 → 166 lines):
    • The --auto contract and the prompt-path edge cases move word for word to start_dev/reference.md. The body keeps a pointer and a one-line summary of each.
    • The steps are shortened.
  • prm/prm.md (184 → 137 lines):
    • The incident history behind the wait step, and the closing notes, move word for word to prm/reference.md.
    • Step 3 keeps the prohibition and its policy citation. Step 4 keeps the Heart RED override wording, including "the merge grant lasts only for the current turn".

Evidence

  • python3 -m pytest -q -n auto tests: 1638 passed, 1 skipped
  • bin/install.sh --check-agents-surface: clean

Not checked

  • bin/check_skill_line_counts.sh still reports 3 skills over 200 lines (batch 274, cortex 232, Mind's create_issue 203). Making it blocking stays a follow-up.
  • No real /start_dev or /prm run was made against the new text.

Generated by Claude Code

…rs 5-6)

Measured by PyAutoMind scripts/token_load.py (entry + body + CONTEXT.md +
WORKFLOW.md):
- start_dev 499 -> 360 lines (target 350; CI budget 400 now passes)
- /prm      456 -> 338 lines (target 300; CI budget 450 now passes)

No gate, refusal or rule removed. Conditional material moves verbatim into the
reference files the skills already point at: start_dev's --auto contract and
prompt-path edge cases -> start_dev/reference.md; /prm's wait-step incident
history and closing notes -> prm/reference.md. WORKFLOW.md (181 -> 117) and
CONTEXT.md (68 -> 61) are tightened in place, keeping every test-pinned phrase.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016nhQ8MapiJKa7vatHsEsZH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants