truefoundry-ml-repos
Skill1 starsChanged 8 months agoMITView on GitHub
Browses TrueFoundry ML repositories and model registry. Lists repos, models, and artifacts with FQNs for use in other skills.
- Reads credentials
In this repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/deploy.mdcCursor rule
- .cursor/rules/security.mdcCursor rule
- .cursor/rules/workflow.mdcCursor rule
- truefoundry-access-controlSkill
- truefoundry-access-tokensSkill
- truefoundry-applicationsSkill
- truefoundry-deploySkill
- truefoundry-docsSkill
- truefoundry-gitopsSkill
- truefoundry-helmSkill
- truefoundry-jobsSkill
- truefoundry-llm-deploySkill
- truefoundry-logsSkill
- truefoundry-monitorSkill
- truefoundry-notebooksSkill
- truefoundry-onboardingSkill
- truefoundry-secretsSkill
- truefoundry-service-testSkill
- truefoundry-ssh-serverSkill
- truefoundry-statusSkill
- truefoundry-tracingSkill
- truefoundry-volumesSkill
- truefoundry-workflowsSkill
- truefoundry-workspacesSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 27
Run the status skill first to verify TFY_BASE_URL and TFY_API_KEY are set and valid.
- Very specific: line 29
When using direct API, set TFY_API_SH to the full path of this skill's scripts/tfy-api.sh.
- Very specific: line 113
Preflight: Use status skill to verify TFY_BASE_URL and TFY_API_KEY
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Routing note: For ambiguous user intents, use the shared clarification templates in references/intent-clarification.md.
<objective>ML Repos
Browse TrueFoundry ML repositories and model registry. List ML repos, get repo details, and list models/artifacts within a repo.
Scope
Browse ML repositories, list models and artifacts, and retrieve FQNs for use with other skills (prompts, llm-deploy).
</objective><instructions>Step 1: Preflight
Run the status skill first to verify TFY_BASE_URL and TFY_API_KEY are set and valid.
When using direct API, set TFY_API_SH to the full path of this skill's scripts/tfy-api.sh. See references/tfy-api-setup.md for paths per agent.
Step 2: List ML Repos
Via Tool Call
tfy_ml_repos_list()Via Direct API
TFY_API_SH=~/.claude/skills/truefoundry-ml-repos/scripts/tfy-api.sh
# List all ML repos
$TFY_API_SH GET /api/ml/v1/ml-reposPresent results:
ML Repos:
| Name | ID | FQN |
|---------------|----------|------------------------|
| my-models | mlr-abc | ml-repo:my-models |
| experiment-1 | mlr-def | ml-repo:experiment-1 |Step 3: Get ML Repo Details
Via Tool Call
tfy_ml_repos_get(id="REPO_ID")Via Direct API
# Get ML repo by ID
$TFY_API_SH GET /api/ml/v1/ml-repos/REPO_IDStep 4: List Models in a Repo
Via Tool Call
tfy_models_list(ml_repo_id="REPO_ID")Via Direct API
# List models (filter by ml_repo_id, name, or fqn)
$TFY_API_SH GET "/api/ml/v1/models?ml_repo_id=REPO_ID"
# Search by name
$TFY_API_SH GET "/api/ml/v1/models?name=my-model"
# Search by FQN
$TFY_API_SH GET "/api/ml/v1/models?fqn=model:my-models:my-model"Present results:
Models in "my-models":
| Name | ID | FQN | Versions |
|-------------|----------|-------------------------------|----------|
| my-model | mdl-abc | model:my-models:my-model | 3 |
| classifier | mdl-def | model:my-models:classifier | 1 |</instructions><success_criteria>
Success Criteria
- The user can list all ML repos and see them in a formatted table
- The user can get details for a specific ML repo by ID
- The user can list models within a repo, filtered by repo ID, name, or FQN
- The agent has provided FQN values that can be used with other skills (prompts, llm-deploy)
</success_criteria>
<references>Composability
- Preflight: Use
statusskill to verify TFY_BASE_URL and TFY_API_KEY - Prompts: ML repo FQN is needed when creating prompts (
promptsskill) - Fine-tuning: Fine-tuned model outputs are saved to ML repos
- Deploy: Models from the registry can be deployed using
llm-deployskill
API Endpoints
See references/api-endpoints.md for the full ML Repos and Models API reference.
</references><troubleshooting>Error Handling
ML Repo Not Found
ML repo ID not found. List repos first to find the correct ID.No Models in Repo
This ML repo has no models yet. Models appear after logging artifacts via the SDK or fine-tuning.Permission Denied
Cannot access ML repos. Check your API key permissions.Empty Response
No ML repos found. Create one via the TrueFoundry UI or SDK:
import truefoundry as tfy
client = tfy.TrueFoundryClient()
client.create_ml_repo(name="my-repo")</troubleshooting>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.

