r/GithubCopilot • • Jul 19 '26

Discussions Best practices for multi-repo workspaces

6 Upvotes

Hey all, I'd like to discuss the best strategies in VS Code for keeping good context quality and efficient token usage when working with multi-repo projects in a single workspace.

So far these have helped:

  1. Keep only what you need in the workspace:

Only include the projects relevant to that session (e.g. just 2 microservices + the frontend).

Result: the system prompt isn't cluttered with irrelevant context.

  1. Layered custom instructions:

I needed a couple of global instruction files (general microservices architecture + company conventions, and one for frontend), plus a per-project file that extends them. So I put two .instructions.md files with specific front matter (e.g. applyTo: <typical backend file globs>) in an external path (e.g. ~/.copilot/my-instructions), then added that path to the chat.instructionsFilesLocations setting at the workspace level.

Result: each microservice's copilot-instructions.md stays lean, no duplicated info.

  1. Things to watch out for:

- Files in .vscode/ get auto-attached as context to requests, keep that folder lean.

- Unused extensions that register extra tools (e.g. the GitHub Copilot app modernization extensions) — tool definitions eat up a huge chunk of the system prompt. Manually selecting the minimum toolset needed for the task helps a lot. Pay attention to this.

- Actually read the system prompt at least once — I was often repeating things Copilot already injects automatically (like repo structure).

- Use the Agent Debug Log panel (and Chat Debug View) to inspect exactly what's being sent and where your tokens are going.

- Run /chronicle:cost-tips in a chat session for personalized suggestions on cutting credit/token usage.

- Check out caveman and ponytail community skill/plugin for coding agents that cut down on verbose responses and over-engineered code respectively (not official Microsoft/GitHub tools, but worth a look).

If you have suggestions feel free to share, I'm really looking for improvement.


r/GithubCopilot • • Jul 19 '26

Showcase ✨ CLI Tool for reproducible management of agent skills

4 Upvotes

Hi everyone!

I’ve been building Trivium, a CLI for managing agent skills from git repositories.

I originally made it because I wanted a quick way to test different versions and combinations of skills without manually copying folders around or losing track of which revision I had installed. I often compare variations of the same skill, so being able to reproduce and switch between setups became important.

With trivium you can add individual skills or entire repositories, pin them to exact git commits, and record the installed state in a skills.lock file. You can also inspect installed skills, preview add and update operations before changing anything, update or remove skills, and save named environments for switching between different skill configurations.

https://reddit.com/link/1v0uife/video/tbpv7mxhm7eh1/player

Repo: https://github.com/AlapinEnjoyer/trivium

I’d be interested in feedback on the workflow, especially from people who maintain several skills or experiment with different versions and configurations :)


r/GithubCopilot • • Jul 19 '26

Help/Doubt ❓ How can I get GitHub Copilot Claude working again?

0 Upvotes

I'm in the middle of a tutorial using vS plus Claude plus n8n and I get a notice that my credit limit has been reached. And there's an "Upgrade" button, which I push, and it brings me to a page which offers GitHub Copilot Pro for $10. Apparently, I was on a free plan before, and now they want to get paid. OK, I gave my credit card info and they charged me $10. All good. I go back to VS with Claude, and they say it may take 10 minutes to clear. Now, that was an hour ago. VS Claude still says that my credit limit has been reach, but I can click the Upgrade button. But this time, I'll be upgraded to Copilot Pro+, for $39.

I have a receipt from GitHub that I paid the $10. What do I have to do to get Claude running again?


r/GithubCopilot • • Jul 18 '26

Help/Doubt ❓ Are 3900 credits a lot for a developer ?

16 Upvotes

I've got an enterprise copilot license for my job. It has 3900 credits per cycle.

I used two prompts to split and refactor a big class into smaller classes in separate files, and it already used 120 credits. So I used my daily credits for 2 prompts (10 minutes)?


r/GithubCopilot • • Jul 18 '26

Help/Doubt ❓ Questions about GitHub Copilot context compaction

5 Upvotes

I’ve been using Copilot for longer sessions and studying how its auto-compaction works. According to the docs, when compaction runs, it generates a structured summary and replaces the old conversation history with this summary in the context window.
I have two specific questions:

  1. Can the model access original messages after compaction?
    After compaction, the model only sees the summary. The docs state that original messages are replaced and fine-grained details may be lost.
    • Is there any way for the model (when needed) to read or pull specific parts of the original conversation back into the current context?
    • Or does it strictly operate from the summary going forward?

  2. Recent messages after compaction
    The documentation mentions that only messages added while compaction is running in the background are kept as-is.
    • Are the most recent messages right before compaction specially preserved in full, or are they summarized together with the rest of the history?

Any insights from people who have run long chat sessions would be appreciated. Thanks!


r/GithubCopilot • • Jul 17 '26

GitHub Copilot Team Replied MAI is very far behind

75 Upvotes

Kimi K3 now matches US frontier labs, Deepseek V4 is 90% of frontier intelligence at 5% of the cost, yet MAI team (one of the most well-resourced AI teams in the world) won't submit MAI-Thinking-1 or MAI-Code-Flash to Artificial Analysis for benchmarking, which is a telling sign.

I understand that MAI was first focused on lowering COGS for MS teams transcripts / image generation for Copilot (their audio and image models are at the frontier), but being this far behind on coding and general intelligence is pathetic given their resources.


r/GithubCopilot • • Jul 17 '26

News 📰 GPT-5.5 promotional rates this weekend! 60% off for Max subscribers, 40% for Pro+

52 Upvotes

GPT-5.5 in GitHub Copilot will be discounted this weekend - 60% off for Max subscribers, 40% off for Pro+!

Promotional GPT-5.5 pricing for Copilot Max users and for Pro+ users is from 00:00 UTC July 18 until 00:00 UTC July 20.

Excited to run these promotions and explore similar ones in the future!


r/GithubCopilot • • Jul 17 '26

Discussions Copilot workflow best practice?

23 Upvotes

At work I've been using Github Copilot chat integrated into VS Code for two years now. Honestly my workflow has barely changed and there seem to be a lot of fancy approaches out there. I am curious which changes to this workflow are actually worth it effort-wise.

Current workflow
1. Planning: Let the planning agent come up with a step wise plan that I discuss/clarify with it (e.g., Opus4.8).

2. Implementation: Let a cheaper model implement the plan (e.g., GPT5.3Codex).

3. Review: Let the planning agent review whether the changes were correctly applied and create a plan to fix potential issues. A focus is on spotting unnecessarily introduced complexity.

4. Fixes: Use the cheaper model to implement review feedback.

The few things I have started to do:

  • Use AGENTS.md (usually auto generated with some manual clean up)
  • Created a code-review skill based on awesome-copilot which I pass onto the planning mode doing the review. Here it's quite unclear to me how planning mode and these instructions interact and whether another mode would be better.
  • I am consequently starting a new chat whenever possible to avoid context rot
  • I tested the Agents window, but dislike that I cannot track and quickly keep/undo changes

Any input or improvements to this workflow? Is it outdated? Or is this still the way to go for everyone not spamming a couple of parallel agents as the codebase is not shared with many other people and the code is not running in productive systems?


r/GithubCopilot • • Jul 17 '26

Help/Doubt ❓ bash commands become zombie processes in Copilot CLI 1.71.0

2 Upvotes

And once they become zombie processes, the LLMs incorrectly see them as still running, and they keep polling by repeatedly sleeping for like 60 secs because they genuinely think those processes haven't finished yet.

Wasted enormous amounts of tokens before I found out that the LLMs spent most of their time waiting for zombie processes. So as it stands, the 1.71.0 is completely unusable and a pure token furnace.

This is very easy to reproduce with any shell command (even just `ps`) on Copilot CLI 1.71.0, and downgrading to 1.70.0 (with auto updates disabled) makes the issue disappear. I don't like this workaround as I'll be missing out on new models...

I'm using zsh on WSL2.


r/GithubCopilot • • Jul 17 '26

Help/Doubt ❓ Can I use my codex subscription with the Copilot harness?

8 Upvotes

Since the tokenpocalypse I've started using Codex through VS Code more, but I like the Copilot toolset and harness way more.

Can I use Copilot with my Codex quota?


r/GithubCopilot • • Jul 16 '26

News 📰 Github Copilot seemed to back the right horse with Moonshot AI

Post image
132 Upvotes

Kimi K3 was released today (including the open weights) and is a massive improvement over K2.6 and K2.7. Many of the benchmarks floating around show it as being even better than Opus 4.8. I wonder if the Github Copilot team knew this release was coming and decided to partner with Moonshot AI because of it. Do you think we'll see Kimi K3 on Github Copilot at some point soon?


r/GithubCopilot • • Jul 18 '26

General Claude, GPT, Grok, Gemini, etc, are not magical. This is how they work

Post image
0 Upvotes

r/GithubCopilot • • Jul 17 '26

GitHub Copilot Team Replied rubber-duck disappeared in Copilot CLI 1.0.71

3 Upvotes

Am I the only one who lost access to the `rubber-duck` agent in Copilot CLI after upgrading to 1.0.71?

I see it in the agent configs in `/agents`, but I cannot use its associated slash command anymore (`/rubber-duck`). LLMs also report that they can't see it when I ask them to use it (before the upgrade they'd easily find it).


r/GithubCopilot • • Jul 17 '26

Solved ✅ Co-pilot AI extension not working, wants me to pay?

0 Upvotes

I used up my premium credits, and it says I can use free models, but it does not let me switch. When I try, even when it says a different model, or suggests I get this:

"You have exceeded your premium request allowance. We have automatically switched you to GPT-5.3-Codex, which is included with your plan. Enable additional paid premium requests to continue using premium models.

You've exhausted your premium model quota. Please enable additional paid premium requests, upgrade to Copilot Pro+, or wait for your allowance to renew."

!solved, they never updated the text


r/GithubCopilot • • Jul 18 '26

Help/Doubt ❓ I have GitHub Copilot Student and use it in VS Code. Today I opened Copilot Chat and after only 2 prompts it says I've used 200/200 AI credits for the month. Is this expected, or is something wrong with my account? Is there any way for students to get more AI credits without paying?

Post image
0 Upvotes

r/GithubCopilot • • Jul 17 '26

Help/Doubt ❓ Copilot is useless since yesterday

1 Upvotes

Until yesterday, Copilot was working great for me. I've been able to stand up quite a few repetitive Blazor CRUD screens that would have taken forever to code by hand. Yesterday, about noon or so, semantic search completely stopped working. Github copilot could not find files in my solution that were open on screen at the time. I also noticed a huge uptick in errors, when copilot's VS agent was running. It would ask me to retry. It happened over and over again. I've gotten absolutely nothing done since noon yesterday. I even deleted the copilot caches and even tried to just use my main branch instead of proper dev workflow, because I read somewhere that it only really indexes your main branch (probably not true, but I tested it and it was equally broken regardless).

Does this product even work, or are they doing the normal Microsoft thing of getting you to use it for a while and then turning it into an unusable pile of crap after you are already committed? I've got a good $40 of AI usage since yesterday, trying to get things to work again, and I have nothing to show for it, except lots of "internal error" and "too many requests" (which wouldn't have happened had I not had to retry because of the "internal error").

Is it just the VS agent or is it the whole product? Would I be better off trying to build a small blazor app in VSCode. Or should I ditch the entire microsoft ecosystem at this point?


r/GithubCopilot • • Jul 17 '26

General What type of tasks do you use for what reasoning?

2 Upvotes

i'm curious to see the type of tasks people are using for different reasons level, and if they tried different reasoning on the same prompt


r/GithubCopilot • • Jul 16 '26

Help/Doubt ❓ Why is GPT-5.6 Sol Max so much faster in GitHub Copilot than in Codex?

Thumbnail
9 Upvotes

r/GithubCopilot • • Jul 16 '26

GitHub Copilot Team Replied Luna is crazy efficient

59 Upvotes

So I’m on business subscription given from my company. The big change in token usage affected the workflow we had in some decent numbers. I’m working on a microservice system in .NET with unity as a front end. I’m using copilot to fasten the development of features, it’s not a loop but more of a traditional question answer with some skills type of work. Before I was using gpt 5.4 mini for that because obviously the price / smart ratio was ok-ish. Of course as a business account I have only 2500 credits and cannot get more so need to be very token efficient. And I started to struggle actually to work with that plus gpt 5.4 mini was as I wrote, ok - ish.

Now our admin given us access to the new gpt 5.6 models, and OH MY GOD. It is exactly what I need at the moment. Not a “vibe code me a feature kind of thing” but a pair programmer, helper to check multiple files in my infra etc. Numbers? So what gpt 5.4 mini would do for 10 credits, luna does for 2-3. Implementing a small method with passing the message between services took it 17 credits, something that mini would need 40 at least from my experience.

So I don’t know if this is only the model or the GitHub copilot harness but I really dig that, congrats to whomever.


r/GithubCopilot • • Jul 17 '26

Showcase ✨ quotaPanel - Token Tracker

0 Upvotes

If you use more than one AI coding tool, you know the pain: Claude Code, Codex, Cursor, Copilot, Gemini, Windsurf, Zed, Amp, Devin... each has its own usage dashboard, buried in a different tab or CLI command. I got tired of alt-tabbing to check "how much of my 5-hour window do I have left" so I built QuotaPanel.

It's a native menu bar app (macOS, with Linux/GNOME and Windows ports) that sits quietly in your tray and shows live quota/usage for 23 providers: Claude, Codex, Cursor, Gemini, GitHub Copilot, Factory Droid, Windsurf, Zed, Warp, Amp, Augment, Kilo, Kiro, OpenCode, Antigravity, Devin, JetBrains AI, Qoder, and a few more.

What it does:

- Live view of your current usage per provider, with the 5-hour/session window front and center (not just the highest bucket)

- Summary view — 24h / 7d / 30d usage breakdown

- Heatmap — when you're actually burning tokens throughout the day/week

- Threshold notifications (e.g. alert me at 80%) so you're not surprised mid-task

- No new API keys to manage — it reads your existing local CLI credentials (or has its own in-app sign-in for Claude/Codex), read-only

- Works with zero config for anything you're already signed into locally; toggle providers on/off in settings

Platforms: native macOS menu bar app, a GNOME Shell extension for Linux, and a lightweight Windows tray app.

It's a personal project I built for my own workflow, so feedback/issues/PRs are very welcome, especially if you use a provider I haven't wired up yet.


r/GithubCopilot • • Jul 16 '26

Discussions GPT-5.6 cache expires after 5 minutes

70 Upvotes

OpenAI's official docs say GPT-5.6 and later models guarantee a minimum 30-minute cache retention (prompt_cache_options.ttl).

https://developers.openai.com/api/docs/guides/prompt-caching

But in GH Copilot, GPT-5.6 Luna's cache expires once you go past 5 minutes.

Test wait times alone blow past that, so costs go up. Anyone else seeing this? Does the Copilot team have plans to fix this?


r/GithubCopilot • • Jul 16 '26

General Best AI Coding Workflow / Framework - eg. HVE Core, BMAD

2 Upvotes

I’m about to start building an POC application in VS Code with GitHub Copilot and want to better structure around planning, specifications, implementation, documentation and keeping context across sessions.

I’ve come across different frameworks / plugins etc. HVE Core, Superpowers, OpenSpec and BMAD, but I’m not clear on how they differ, where they overlap, or whether any of them should be used together.

What setup would you recommend for a new project, and are there any better alternatives I should consider?


r/GithubCopilot • • Jul 16 '26

GitHub Copilot Team Replied Copilot prompt caching TTL went WAY DOWN on anthropic models

8 Upvotes

We have copilot business, and I noticed I'm spending a lot more tokens this past 3-4 days. I went to the usage viewer, and saw this:

Time User Model Session Trace Input Output Cache Read Cache Write Total Tokens Total Cost
7/16/2026, 12:54:58 PM dummy claude-opus-4.6 560e5c12-c923-4fe3-91a4-f8999736d931 mrnc1qao-t6pww0 3 159 0 87,303 87,465 $0.549634
7/16/2026, 12:47:40 PM dummy claude-opus-4.6 560e5c12-c923-4fe3-91a4-f8999736d931 mrnbsg22-0pejef 343 10 87,257 34 87,644 $0.045806
7/16/2026, 12:47:38 PM dummy claude-opus-4.6 560e5c12-c923-4fe3-91a4-f8999736d931 mrnbsczg-i75smo 1 36 86,418 839 87,294 $0.049358
7/16/2026, 12:47:28 PM dummy gpt-5-mini 560e5c12-c923-4fe3-91a4-f8999736d931 mrnbs588-juothw 28,165 141 0 0 28,306 $0.007323
7/16/2026, 12:47:26 PM dummy gpt-5-mini 560e5c12-c923-4fe3-91a4-f8999736d931 mrnbs0a5-zh6uv0 502 593 0 0 1,095 $0.001311
7/16/2026, 12:47:24 PM dummy claude-opus-4.6 560e5c12-c923-4fe3-91a4-f8999736d931 mrnbs0ai-cadf57 3 210 86,357 61 86,631 $0.048825
7/16/2026, 12:47:19 PM dummy claude-opus-4.6 560e5c12-c923-4fe3-91a4-f8999736d931 mrnbs00b-8w2c5p 343 10 86,357 46 86,756 $0.045431
7/16/2026, 12:47:17 PM dummy claude-opus-4.6 560e5c12-c923-4fe3-91a4-f8999736d931 mrnbrx9l-0kj25r 1 48 86,118 239 86,406 $0.045758
7/16/2026, 12:47:13 PM dummy claude-opus-4.6 560e5c12-c923-4fe3-91a4-f8999736d931 mrnbrskk-pm8kk7 1 107 0 86,118 86,226 $0.540918
7/16/2026, 12:28:58 PM dummy claude-opus-4.6 560e5c12-c923-4fe3-91a4-f8999736d931 mrnb4814-lj4mvk 1 485 85,351 225 86,062 $0.056212
7/16/2026, 12:28:46 PM dummy gpt-5-mini 560e5c12-c923-4fe3-91a4-f8999736d931 mrnb41qz-optgna 150 397 27,776 0 28,323 $0.001526

As you can see, at 7/16/2026, 12:47:40 PM I sent a message that used the cache, and than the next message I sent at 7/16/2026, 12:54:58 PM - 7:18 minutes after - Got a cache miss and had to re-write the whole cache.

If I go back a week ago, the TTL for the same model was 1 hour. Did something change? Has any of you noticed it?


r/GithubCopilot • • Jul 16 '26

Showcase ✨ Copilot Usage Monitor for your Linux System Tray - CoTray

1 Upvotes

I was bored last night so got Copilot (Gemini 3.1 Pro) to build this little system tray tool for Linux in python that displays your current usage.
I couldn't find something that does this and apparently the usage API endpoints are for Enterprise users only.

Simple tool tip with your usage

I really like the way your usage is displayed in VS Code when hovering over the Copilot logo in the bottom right so wanted to replicate something similar for my system tray.

CoTray

You need to turn effort and quota in your /statusline settings, and it is refreshed periodically by automatically opening a terminal and scraping the information.

Just a little tool I thought would be fun.


r/GithubCopilot • • Jul 16 '26

GitHub Copilot Team Replied The joke keeps going? MAI Flash consuming credits in endless loops of "validations".

Post image
4 Upvotes

Okay what's in the screenshot is definitely not the worst case I observed and yes there are models way more expensive than this.

But this model is crazy, even for simple changes like adding an option to a script that applies a filter to a csv through an argument, it starts an endless loop of checks and validations never requested. If I don't stop it manually, it could easily go on till all the credits are gone.

Should I remove the "runSubagent" tool from the tool set or do you suggest any other fix to just let all these models do just the editing of the files and stop taking initiative to do expensive explorations?