Skip to content

context: measure startup under plugin profiles and review which skills must stay model-invocable #17278

Closed
2 of 2 issues completed

Description

@kyle-sexton

Context

A handoff audit on 2026-11-18 measured a fresh session's startup context in this repository at 92,503 tokens (exact, headless, Claude Code 2.1.327, Opus 5.5). The skill listing was 51,314 of them, across 295 skills; memory files 12,486; the first message with hook output 11,153; MCP tools 9,417 (five firecrawl tools load upfront, the rest are deferred); custom agents 5,798; MCP server instructions 2,193. The owner chose plugin profiles as the fix for the skill listing, and asked for a review of which skills must stay model-invocable (lanes and autonomous workflows need it) and which can be user-only. This work was kept separate from the handoff rework (interview Q12, Q44).

Proposed work

  • Measure startup under the shipped build and planning profiles, headless to rank them, then on real interactive sessions as the result.
  • Review each skill for whether Claude, another skill or a lane must invoke it; candidates that only a person runs can take disable-model-invocation: true, and low-use ones can list by name only through skillOverrides.
  • Check whether the five always-loaded firecrawl tools need to load at startup.

Acceptance criteria

  • A table gives the startup tokens per source under each measured profile, beside the default.
  • Every skill changed to user-only is confirmed to have no caller among other skills, lanes or workflows.
  • The skill listing budget stays at 6% unless the owner approves a change after seeing the measurements.

References

Sub-issues

Sub-issues

2 of 2 Issues completed
Loading 2 sub-issues

Activity

  1. added theissue type on Nov 18, 2026
  2. added
    needs-triage
    on Nov 18, 2026
  3. github-actions commented on Nov 18, 2026

    @github-actions
    Contributor

    Size: Large
    Complexity: Medium
    Uncertainty: Knowable
    Flags: none
    Blocked by: none
    Blast radius: skill frontmatter (disable-model-invocation, skillOverrides) across many plugins, the MCP tool-loading config, and a measurement table. Every session in this repository reads the result, as do the lanes and workflows that invoke skills.
    Reversible: yes; revert the frontmatter and config edits.
    Open questions: none
    I understood this as three pieces of work. The first is a startup-token table per source under the build and planning profiles, beside the default. The second is a review of about 295 skills for which can become user-only, with each change checked for callers among other skills, lanes and workflows. The third is a check on whether the five firecrawl tools need to load at startup. It is Large, so it needs splitting into sub-issues. An earlier lane comment says that split is pending (owner Q93). Interactive-session measurement can't be done by an unattended run. I found no open duplicate or merged fix.

    Automated triage. A maintainer reviews it.

  4. removed
    needs-triage
    on Nov 18, 2026
  5. melodic-automation-lanes commented on Nov 18, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane: Size large: every sub-issue is closed, but it is still open, so an item no sub-issue covers or a sub-issue's close keeps it from closing as a finished split (owner Q93). Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).

  6. melodic-automation-lanes commented on Nov 22, 2026

    @melodic-automation-lanes
    Contributor

    Split at intake (owner Q93). This issue is Size Large, so its done-when is split into 2 sub-issues, each holding its task-list lines as written.

    Automated split by the lanes App. Admission waits on this issue while a sub-issue is open; work-unblock closes it as completed once every sub-issue is closed as completed by a merge or a listed human and its done-when is covered.

  7. kyle-sexton commented on Nov 22, 2026

    @kyle-sexton
    MemberAuthor

    All three acceptance criteria are met by the two closed sub-issues, so this closes as completed.

    1. A table gives the startup tokens per source under each measured profile, beside the default. Met by #18142 (closed completed 2026-11-22). The table is in this comment: all 8 shipped profiles beside the default, median of 3 headless claude -p /context runs each, Claude Code 2.1.330. Skills take 51.7k (5.2% of the window) in the default and 6.3k to 38.2k (0.6% to 3.8%) under the profiles. Interactive-session figures were not measured; the comment records why and leaves them for anyone who wants them.
    2. Every skill changed to user-only is confirmed to have no caller among other skills, lanes or workflows. Met by #18143 (closed completed 2026-11-22 by run 45005379906). The review changed no skill to user-only: docs/contracts/invocation-mode/README.md rejects listing cost as a reason for disable-model-invocation: true, and skillOverrides does not reach plugin skills. The set is empty, so the criterion holds. The run also searched the 16 existing non-setup user-only skills and found no Skill-tool caller among skills, lanes or workflows.
    3. The skill listing budget stays at 6% unless the owner approves a change after seeing the measurements. Met. .claude/settings.json:49 on main still reads "skillListingBudgetFraction": 0.06. The file last changed in 9d0d2b6 on 2026-11-21, before the measurements, and that commit did not touch the budget. The measurements are on context: measure startup under plugin profiles and review which skills must stay model-invocable - part 1 of 2 #18142 if the owner wants to revisit it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Work status

    confirmed

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions