Commit Graph

2 Commits

Author SHA1 Message Date
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
sck_0
45844de534 refactor: reorganize repo docs and tooling layout
Consolidate the repository into clearer apps, tools, and layered docs areas so contributors can navigate and maintain it more reliably. Align validation, metadata sync, and CI around the same canonical workflow to reduce drift across local checks and GitHub Actions.
2026-03-06 15:01:38 +01:00