Files
antigravity-skills-reference/tools
Abkari Mohammed Sayeem 5f6f94b53f feat: Add skill filtering utility to fix Gemini token truncation (Iss… (#219)
* feat: Add skill filtering utility to fix Gemini token truncation (Issue #215)  Adds skill-filter.js module that provides: - Category-based skill filtering to reduce context overhead - Pre-configured skill bundles (minimal, balanced, complete)  - Support for environments with token limits  This addresses the "could not convert a single message before hitting truncation" error when all 1,200+ skills are loaded with Gemini.  Users can now use the minimal bundle to avoid truncation:   - Minimal bundle: ~5k tokens   - Balanced bundle: ~15k tokens     - Complete bundle: ~50k tokens  Fixes #215

This module filters and manages skills by category to address token limit issues in Gemini, providing various skill bundles to optimize performance.

* Fix: Use catalog-backed categories for skill bundles  Replaces hardcoded categories (core, architecture, etc) with actual categories present in skills_index.json to ensure getSkillsByBundle returns a usable subset instead of empty set.
2026-03-07 10:02:18 +01:00
..