compress: convert python-dev-instructions to on-demand skill - #9
Open
Michael J. Jabbour (michaeljabbour) wants to merge 1 commit into
Open
Conversation
- Created skills/python-dev-reference/SKILL.md with full python_check tool reference (7 mentions), pyproject.toml configuration details (3 mentions), and CLI Usage section documenting all invocation patterns. - Registered skill via Option B (tool-skills module) in behaviors/python-dev.yaml, adding the tool-skills module with source pointing to amplifier-module-tool-skills and config referencing '@python-dev:skills' directory. - Trimmed context/python-dev-instructions.md to ~185 tokens (from ~1035 tokens), retaining python_check tool awareness, Auto-checking Hook section explaining post-edit auto-run behaviour, and a load_skill() pointer to the full reference. - Net savings: ~850 tokens per session that do not need the full reference, with full detail available on demand via load_skill('python-dev-reference').
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Converts
python-dev-instructions.mdfrom always-on context (~1,035 tokens) to an on-demand skill. Expert-validated: the python_check tool is self-describing, the auto-checking hook fires mechanically, and the python-dev agent already carries full knowledge as a context sink.Changes
skills/python-dev-reference/SKILL.mdwith full tool referencecontext/python-dev-instructions.mdto ~185 tokens (tool awareness + hook summary + skill pointer)behaviors/python-dev.yamlNot touched
python-lsp.md— lives in a separate bundle (amplifier-bundle-lsp-python) and stays always-on per expert recommendation.Token Impact
~850 tokens saved per session.
Submitted by Joi from ChibaTech.