← ClaudeAtlas

fast_contextlisted

FastContext Agent — exploration repo déterministe. Parse une requête d'exploration → READ/GLOB/GREP ciblés → rapport compact (fichier:ligne:score). Remplace 56% des appels LLM de type "read/search" par des opérations stdio à ~5ms, 0 token. Use when the agent needs to understand a codebase, find patterns, locate imports, or gather context without an LLM call.
zedarvates/botte-secrete · ★ 1 · AI & Automation · score 70
Install: claude install-skill zedarvates/botte-secrete
# FastContext Agent — exploration repo Un sous-agent d'exploration déterministe qui sépare la **collecte de contexte** du **raisonnement**. Au lieu de laisser l'agent principal dépenser 56% de ses tokens en READ/GLOB/GREP, FastContext gère ��a en **~5ms, 0 token**. Inspiré par **Microsoft FastContext-1.0-4B-SFT** mais 100% déterministe (stdlib Python, pas de LLM, pas de GPU). ## Usage ```bash # Explorer un dossier python -m skills.fast_context.cli explore /path/to/project "find DB connection patterns" # Types de requête supportés python -m skills.fast_context.cli explore . "find all imports in main.py" python -m skills.fast_context.cli explore . "understand function: calibrate()" python -m skills.fast_context.cli explore . "where are the tests?" python -m skills.fast_context.cli explore . "queue usage patterns" python -m skills.fast_context.cli explore . "audit security: eval, exec, shell" # Mode verbeux python -m skills.fast_context.cli explore . "find async patterns" --verbose # Limiter les résultats python -m skills.fast_context.cli explore . "import pathlib" --max-results 10 # Utiliser le cache python -m skills.fast_context.cli explore . "class FastContext" --cache ``` ## API Python ```python from skills.fast_context import explore, cached_explore from skills.fast_context import discover_query_type, QueryType # Exploration simple results = explore(".", "find DB connection patterns") # → [{"file": "src/db.py:15", "snippet": "...", "score": 0.92, "type": "import"