zedarvates/botte-secrete/fast-context
Claude Code and agent skill by zedarvates/botte-secrete
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install zedarvates/botte-secrete/fast-contextSKILL.md
The same SKILL.md was published earlier as zedarvates/botte-secrete/fast-context.
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
API Python
Types de requête
| Type | Mots-clés | Action | |
|---|---|---|---|
IMPORTS | import, dependency, require | grep imports + suggest files | |
FUNCTION | function, method, def, understand | grep def → contexte fichier | |
TESTS | test, spec, unittest | glob test_* + grep | |
PATTERN | pattern, usage, find, where | grep générique | |
SECURITY | security, audit, eval, malicious | grep dangereux |
Architecture
Économie tokens estimée
| Type requête | Avant (LLM) | Après (FastContext) | Économie | |
|---|---|---|---|---|
| Imports | ~800 tokens | 0 token | -100% | |
| Comprendre fonction | ~1200 tokens | 0 token | -100% | |
| Trouver tests | ~400 tokens | 0 token | -100% | |
| Pattern search | ~600 tokens | 0 token | -100% | |
| Audit sécurité | ~2000 tokens | 0 token | -100% |
~5000 tokens/session économisés (estimé sur 5 explorations par session).
Pitfalls
- Ne remplace pas LLM pour compréhension complexe — FastContext livre du
contexte brut (fichier:ligne:snippet). Le LLM principal doit encore raisonner dessus. C'est le but : le LLM ne fait QUE raisonner.
- Cache TTL — Le cache LRU évite de rescanner 30 fois le même fichier dans
la même session. TTL par défaut: 30s. Passer --no-cache pour forcer.
- Gros repos — Pour les repos >1000 fichiers,
fast_greputilise
subprocess.run("grep -rl ...") plutôt qu'un glob Python (10x plus rapide).
- Binaire/symlinks — Skip automatiquement les fichiers binaires, .git/,
node_modules/, __pycache__/, .venv/.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/fast_context/SKILL.md
Popularity
- Repository stars
- 2
- 7-day trend score
- 5
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/zedarvates/botte-secrete/fast-context)