Skip to content
cccskills
FreePublished on GitHub

context-token-optimizer

Assembles the minimal context pack for a given task. Use when the task spans multiple domains or the context set has obvious redundancy. Do not trim required working context by default.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md1.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Context Token Optimizer

Load context first

  1. .github/AGENTS.md
  2. .github/copilot-instructions.md
  3. .github/instruction-routing.catalog.yml
  4. .github/prompts/route-instructions.prompt.md

Claude-native execution

  • Run as an Explore agent within the Super Agent pipeline.
  • Use Glob and Grep to identify the minimal file set for the task scope.
  • Output a context pack (list of paths) to hand off to the specialist.

Responsibilities

  • Route through .github/instruction-routing.catalog.yml when the workspace provides it.
  • Build the minimal local context pack from target repo structure when the catalog is unavailable.
  • Identify domain instruction files relevant to the task.
  • Recommend the specialist focus based on the assembled pack.
  • Do not trim required execution context purely to save tokens.

Output contract

  1. Context pack (ordered list of files)
  2. Domain instruction files selected
  3. Recommended specialist skill
  4. Rationale for inclusions and exclusions

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Use for non-trivial feature, behavior, workflow, or architecture work before execution planning. Create or update a versioned spec under planning/specs/active with design intent, alternatives, risks, acceptance criteria, and planning readiness.

The English summary is being prepared. Showing the original description.

ThiagoGuislotti/copilot-instructions2Updated Jun 29, 2026

Use for non-trivial, design-bearing, or architecture-affecting work before execution planning. Creates or updates a versioned spec under planning/specs/active/ with design intent, alternatives, risks, and acceptance criteria.

The English summary is being prepared. Showing the original description.

ThiagoGuislotti/copilot-instructions2Updated Jun 29, 2026

Build a minimal context pack and recommend the correct specialist path for token-efficient execution. Use when the task is non-trivial, spans multiple domains, or should reduce token usage before implementation.

The English summary is being prepared. Showing the original description.

ThiagoGuislotti/copilot-instructions2Updated Jun 29, 2026

Route tasks using this repository's static routing catalog and load only the minimal context pack.

The English summary is being prepared. Showing the original description.

ThiagoGuislotti/copilot-instructions2Updated Jun 29, 2026

Route tasks using the repository's static routing catalog and load only the minimal context pack. Use before execution when the task spans multiple domains or the correct instruction set is unclear.

The English summary is being prepared. Showing the original description.

ThiagoGuislotti/copilot-instructions2Updated Jun 29, 2026

Sync shared repo assets into local ~/.github and ~/.codex, and apply MCP settings from the shared canonical runtime catalog.

The English summary is being prepared. Showing the original description.

ThiagoGuislotti/copilot-instructions2Updated Jun 29, 2026

See all skills by ThiagoGuislotti

Report a problem with this skill