---
title: "context-optimizer"
description: "Generate compact, read-only context snapshots for Microsoft, Python and JavaScript projects."
canonical: https://agentpluginsdirectory.com/plugins/context-optimizer
last-updated: 2026-10-25
---

# context-optimizer
Generate compact, read-only context snapshots for Microsoft, Python and JavaScript projects.
- Slug: context-optimizer
- Publisher: Yansahka
- Repository: https://github.com/Yansahka/ai_plugins
- Manifest: plugins/context-optimizer/plugin.json
- Version: 0.2.0
- Category (editorial): other
- Skills: 4 (javascript-context, microsoft-context, optimize-context, python-context)
- MCP servers: 0
- Stars: 0
- Repository created: 2026-10-24
- Repository last pushed: 2026-10-24
- Publisher type: User
- Listing: https://agentpluginsdirectory.com/plugins/context-optimizer
- Schema: https://agent-plugins.org/schemas/1.0.0/plugin.schema.json

## What context-optimizer does, in the publisher's words

Un filtre local de contexte, en lecture seule sur le projet. Il capture les fichiers compatibles, extrait les structures et formules utiles puis produit un unique Context_Ready.txt en Markdown compact dans un dossier externe.

Node.js 20+ requis. L'extracteur Python nécessite Python 3.9+; préciser --python /chemin/python ou CONTEXT_OPTIMIZER_PYTHON au besoin. Le scanner ne lance jamais le code du projet.

Les compétences agent sont des SKILL.md courts; les extracteurs sont des modules de code indépendants. Aucun serveur MCP supplémentaire, aucune clé API et aucun LLM ne sont nécessaires au moteur local.

- Le moteur ouvre les fichiers du projet en lecture et écrit exclusivement hors de leur racine.
- Toute sortie existante est refusée, y compris les liens physiques; les liens symboliques dans le projet sont ignorés.

From the project README, punctuation lightly normalized. Full text: https://raw.githubusercontent.com/Yansahka/ai_plugins/HEAD/plugins/context-optimizer/README.md

## Skills

- javascript-context: Produce compact JS, TS, React, Vue or Node API context using TypeScript AST declarations, types, interfaces and literal endpoints, without changing source files.
- microsoft-context: Compress local Canvas YAML, Power Fx, Power Automate JSON or Microsoft deployment configuration into a read-only context snapshot. Also use when the user requests such a snapshot from an open Canvas Authoring session.
- optimize-context: Generate a compact Context_Ready.txt from a local project to reduce the source context read by an AI agent. Use for explicit context compression or snapshot requests, not routine code edits.
- python-context: Produce a compact map of Python API or web projects using AST signatures, model fields, decorators and Django urlpatterns, without changing source files.

Descriptions come from the frontmatter of each SKILL.md, punctuation lightly normalized.
