model-selection
Skill910 starsChanged 9 months agoApache-2.0View on GitHub
Selects a base model for the user's use case by querying SageMaker Hub. Use when the user asks which model to use, wants to select or change their base model, mentions a model name or family (e.g., "Llama", "Mistral", "Nova"), or wants to evaluate a base model — always activate even for known model names because the exact Hub model ID must be resolved. Queries available models, presents benchmarks and licenses, and confirms selection.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- AI-Hydro/Skillstheir own version, first seen Oct 2, 2026
- yuanhao667/Skillstheir own version, first seen Sep 26, 2026
- nimadorostkar/Claude-Skills-collectiontheir own version, first seen Jul 14, 2026
- han69611/math-modeling-skillstheir own version, first seen Jul 7, 2026
- github/gh-awtheir own version, first seen May 27, 2026
- Victoriakaey/build-reliable-agentstheir own version, first seen Apr 3, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- github/gh-aw★ 5.3ksame name
- microsoft/Generative-AI-for-beginners-dotnet★ 3.1ksame name
- nimadorostkar/Claude-Skills-collection★ 28same name
- han69611/math-modeling-skills★ 12same name
- yuanhao667/Skills★ 10same name
- AI-Hydro/Skills★ 2same name
- aemerson-commits/shareable-skills★ 1same name
- Victoriakaey/build-reliable-agents★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository36 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- amazon-location-serviceSkill
- amplify-workflowSkill
- api-gatewaySkill
- aws-lambda-durable-functionsSkill
- aws-lambda-managed-instancesSkill
- aws-lambda-microvmsSkill
- aws-lambdaSkill
- aws-serverless-deploymentSkill
- aws-step-functionsSkill
- aws-transformSkill
- document-serviceSkill
- dsqlSkill
- aws-architecture-diagramSkill
- deploySkill
- elastic-beanstalkSkill
- dataset-evaluationSkill
- dataset-transformationSkill
- directory-managementSkill
- finetuningSkill
- finetuning-techniqueSkill
- hyperpod-cluster-debuggerSkill
- hyperpod-issue-reportSkill
- hyperpod-ncclSkill
- hyperpod-node-debuggerSkill
- hyperpod-performance-debuggerSkill
- hyperpod-slurm-debuggerSkill
- hyperpod-ssmSkill
- hyperpod-version-checkerSkill
- model-deploymentSkill
- model-evaluationSkill
- planningSkill
- sdk-getting-startedSkill
- use-case-specificationSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 41
If exactly one eligible hub exists, use it automatically — do not ask the user.
- Distinctive: line 42
If multiple eligible hubs exist, present them to the user and ask which one to use.
- Distinctive: line 59
If you already know the model the user wants to use (from conversation context or planning files), confirm that it's in the list, display …
- Distinctive: line 60
Important: Make sure to remember this list of available models when helping with model selection.
- Distinctive: line 71
Ask if they'd like to proceed with this model.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Model Selection
Guides the user through selecting a base model based on their use case.
When to Use
- User asks which model to use
- User wants to select or change their base model
- User mentions a model name or family (e.g., "Llama", "Mistral", "Nova") — the exact Hub model ID still needs to be resolved
- User wants to evaluate a base model before deciding whether to finetune
Prerequisites
- A
use_case_spec.mdfile exists. If not, activate the use-case-specification skill to generate it first.
Workflow
Step 1: Check Region
Run:
python -c "import boto3; print(boto3.session.Session().region_name)"None→ STOP. Tell user: "Set your region viaexport AWS_DEFAULT_REGION=us-west-2oraws configure."- Set → store REGION in context, continue.
Step 2: Discover Hub
- List all available SageMaker Hubs in the user's region by calling the SageMaker
ListHubsAPI using theaws___call_awstool. - From the results, filter out any hub whose
HubDescriptioncontains "AI Registry" — these do not contain JumpStart models. - The remaining hubs are eligible (e.g.,
SageMakerPublicHuband any private hubs). - If exactly one eligible hub exists, use it automatically — do not ask the user.
If multiple eligible hubs exist, present them to the user and ask which one to use. Example:
I found the following model hubs: - SageMakerPublicHub — SageMaker Public Hub - Private-Hub-XYZ — Private Hub models Which hub would you like to use?- Store the selected hub name for use in subsequent steps.
Step 3: Select Base Model
First, retrieve all available SageMaker Hub model names by running: python model-selection/scripts/get_model_names.py <hub-name>.
Present all available models to the user with their licenses before making any recommendations. Cross-reference the model list with references/model-licenses.md and display each as <model name> - [<license>](<url>). For example: "Qwen3-4B - Apache 2.0"
If you already know the model the user wants to use (from conversation context or planning files), confirm that it's in the list, display its license, and move on. Otherwise, help the user pick a model following the instructions in references/model-selection.md.
Important: Make sure to remember this list of available models when helping with model selection. Don't recommend a model that's not available to the user.
Step 4: Confirm Selection
Present a summary to the user:
Here's what we've selected:
- Base model: [model name]Ask if they'd like to proceed with this model.
References
references/model-selection.md— Model selection instructions and benchmark descriptionsreferences/model-licenses.md— Model license information for display during model selection
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

