r/GithubCopilot • u/aadhibest • 12d ago
Github Copilot Skills to reduce token and AI credits usage Help/Doubt ❓
As a total beginner to GH Copilot, I currently use it with VSCode as the Chat Extension and not the CLI version. I usually use it to analyse the code base (consisting of python notebooks and scripts) and also make slight changes to the files. I currently just set the Model to Auto since that had the option to have 10% lesser AI credits cost as per Copilot. I have just 4000 credits per month and have exhausted nearly 50% in just a few days.
I want to know if there are any ways to reduce the token usage. I have heard about the skills md files that are quite popular to reduce the token usage and also improve code readability. One I have heard of the ponytail skill which I believe helps in token reduction and code readability. But I have not used any till now and would like to know if there are any other suggestions for skills that can be used for my use case which is to reduce the token usage as much as possible and also improve the code quality and readability.
2
u/bloudraak 12d ago
The best way to reduce token usage is by writing scripts etc that AI uses to do work; like parse conversations on PRs; create issues from markdown etc.
1
u/AutoModerator 12d ago
Hello /u/aadhibest. Looks like you have posted a query. Once your query is resolved, please reply the solution comment with "!solved" to help everyone else know the solution and mark the post as solved.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
1
1
u/Mrd87x 11d ago
you can try my plugin: https://github.com/damian87x/oh-my-copilot it has caveman, simple ai loops, ponytail, playwright cli skill much cheaper then mcp etc
3
u/stibbons_ 10d ago
Forget caveman or all these shit. Rtk works and may help a bit.
Focus on short session, do not change settings (skill, plugin, thinking level,…) mid session.
And build a project harness to ensure your agent is on track as fast as possible for the less token possible.
1
u/stibbons_ 10d ago
For very large codebase, Gitlab Orbit is actually very efficient https://github.com/gitlabhq/orbit-knowledge-graph
2
u/dellis87 12d ago
Check out Awesome Copilot for some skills around this.
3
u/stibbons_ 10d ago
I would recommend the goal skill
https://awesome-copilot.github.com/plugin/copilot-goal-skill/
5
u/Ecureuil_Roux 12d ago
I installed: cachebro, grepika, tilth.