Skip to content

GENERAL: Reduce Token Overhead #886

Closed

Description

@Liamsherwood

Session initialisation hook on every skill invocation pays a ~3000-4,200 token tax before the actual skill content. This makes using gstack more expensive than it should be.

Activity

  1. time-attack commented on Jul 15, 2026

    @time-attack
    Contributor

    @16francej — recommend closing this issue, but it should close only after a corrected #1993 proves user-local terse installation, stable names, repeatable setup and upgrades, byte reduction, and a clean source checkout. Most structural reduction shipped in #1712, while this installation bridge remains incomplete. Preserve the byte-count and install-layout acceptance criteria.

  2. added 2 commits that reference this issue on Jul 23, 2026
  3. capy-ai commented on Oct 11, 2026

    @capy-ai
    Contributor

    Thanks. A lot has changed since this was filed: v1.71 moved the preamble into a script render (about 4.8K fewer tokens per invocation for the smallest skills) and halved /review's eager load. To act on what's left, we need a specific target: which skill feels heavy for you, on which host, and how you measured it (for example /context before and after invoking it). Otherwise we'll fold this into the measured context-bill work tracked in TODOS.md.

  4. capy-ai commented on Oct 17, 2026

    @capy-ai
    Contributor

    Hi @Liamsherwood, a follow-up on this one. The preamble moved into a script (v1.71) and the biggest skills were split into lazily loaded sections, which cut the per-invocation load a lot, and v1.91.117.0 dropped the plan-mode sections on hosts without plan mode. To do more we need a concrete target: if a specific skill feels heavy, tell us which skill, on which host, and what /context shows before and after invoking it.

    Without that, we'll close this on 2026-10-31 and track the remaining work in the context-bill items in TODOS.md (reopening is always welcome).

  5. added
    S3
    enhancement
    on Oct 31, 2026
  6. capy-ai commented on Oct 31, 2026

    @capy-ai
    Contributor

    Closing because there was no reply to the earlier confirmation request. If this still happens on the latest gstack, reopen it with your version, OS and the command output and we will pick it up.

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

    S3enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions