-
Couldn't load subscription status.
- Fork 1.2k
Add model-recommendation prompt to suggest optimal Copilot models for chatmodes/prompts #356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Introduces a detailed prompt for recommending optimal AI models based on `.chatmode.md` or `.prompt.md` file analysis. The prompt outlines a workflow for task evaluation, model selection criteria, and cost-efficiency considerations. It includes support for subscription tiers, deprecated model migration, and advanced features like Context7 integration. This addition enhances the ability to automate and optimize AI model recommendations, improving alignment with task complexity, user priorities, and available tools.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a new AI model recommendation prompt that helps users analyze .chatmode.md or .prompt.md files to determine the optimal AI model for their specific use case. The prompt provides comprehensive guidance on model selection based on task complexity, required capabilities, cost-efficiency, and subscription tier constraints.
Key Changes
- Introduces a comprehensive model recommendation system with detailed decision trees and capability matrices for GitHub Copilot's available AI models
- Adds structured workflow for analyzing chat modes and prompts, including task categorization, model evaluation, and integration recommendations
- Includes up-to-date model information (as of October 2025) with deprecation notices and subscription tier considerations
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| prompts/model-recommendation.prompt.md | New 677-line prompt file providing AI model recommendation capabilities with extensive documentation on model selection criteria, decision trees, and implementation guidance |
| docs/README.prompts.md | Updated prompts index to include entry for the new model recommendation prompt with installation badges and description |
| - "search/codebase" | ||
| - "fetch" | ||
| - "context7/*" | ||
| model: Auto (copilot) |
Copilot
AI
Oct 28, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The model field value should not include parenthetical explanations. Based on the coding guidelines and other prompt files, this should be either a specific model name (e.g., 'Claude Sonnet 4') or 'Auto' without additional text. The value 'Auto (copilot)' appears to be mixing the model selection with an explanation.
|
@copilot open a new pull request to apply changes based on the comments in this thread |
|
@difegam just so I'm understanding the intent - the prompt is designed to give the user an insight into why a certain model would (potentially) be selected if they use Auto, or a model that they should specify (and why) if they want to define a model in the |
|
Hi @aaronpowell, the prompt will analyze the chat mode or prompt file to identify which of the available models might perform best based on criteria defined in the model comparison documentation at the GitHub Copilot reference.
In other words, if you want to specify a model in the model property or compare the results generated by different models, you can use this prompt to receive suggestions for a model that, based on the prompt/chat mode task, could offer the best performance and the reasons behind it. |
Introduces a detailed prompt for recommending optimal AI models based on
.chatmode.mdor.prompt.mdfile analysis. The prompt outlines a workflow for task evaluation, model selection criteria, and cost-efficiency considerations. It includes support for subscription tiers, deprecated model migration, and advanced features like Context7 integration.This addition enhances the ability to automate and optimize AI model recommendations, improving alignment with task complexity, user priorities, and available tools.
Pull Request Checklist
npm startand verified thatREADME.mdis up to date.Description
This PR adds
prompts/model-recommendation.prompt.md, a reusable agent prompt that analyzes a.chatmode.mdor.prompt.mdfile and recommends the best GitHub Copilot model(s) based on task complexity, reasoning depth, context needs, tool usage, and subscription tier. It produces a structured “AI Model Recommendation Report” with a primary pick, alternatives, cost implications, auto-selection guidance, deprecation warnings, and frontmatter update suggestions. When needed, it can verify current capabilities and deprecations via Context7.Context & Usage Notes
prompts/model-recommendation.prompt.mdfilePath→ path to the.chatmode.mdor.prompt.mdto analyzesubscriptionTier→ Free | Pro | Pro+ (default: Pro)priorityFactor→ Speed | Cost | Quality | Balanced (default: Balanced)search/codebase,fetch,context7/*Type of Contribution
Additional Notes
model: Auto (copilot)by default; the report explains when to keep Auto vs. manually choosing a specific model.README.mdas required by CONTRIBUTING.By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.