truefoundry-status
Skill1 starsChanged 8 months agoMITView on GitHub
Checks TrueFoundry connection status and verifies credentials (TFY_BASE_URL/TFY_HOST, TFY_API_KEY). Used as a preflight check before any TrueFoundry operation.
- 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-ml-reposSkill
- truefoundry-monitorSkill
- truefoundry-notebooksSkill
- truefoundry-onboardingSkill
- truefoundry-secretsSkill
- truefoundry-service-testSkill
- truefoundry-ssh-serverSkill
- truefoundry-tracingSkill
- truefoundry-volumesSkill
- truefoundry-workflowsSkill
- truefoundry-workspacesSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
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
- Distinctive: line 15
Check TrueFoundry connection and verify credentials are configured.
- Distinctive: line 19
Verify TrueFoundry credentials and connectivity, or diagnose authentication issues before performing platform operations.
- Distinctive: line 47
If the TrueFoundry tool server is available, use this tool call:
- Very specific: line 57
Check environment variables and test the connection.
- Very specific: line 72
If env vars are not set, check for a .env file:
- Distinctive: line 150
After status OK: Use any other skill (workspaces, applications, deploy, etc.)
- Very specific: line 152
If using tool calls: Use tfy_config_set to persist credentials
≈ “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>TrueFoundry Status
Check TrueFoundry connection and verify credentials are configured.
When to Use
Verify TrueFoundry credentials and connectivity, or diagnose authentication issues before performing platform operations.
When NOT to Use
- User wants to list workspaces → prefer
workspacesskill; ask if the user wants another valid path - User wants to deploy → prefer
deployskill; ask if the user wants another valid path - User wants to see running apps → prefer
applicationsskill; ask if the user wants another valid path
</objective><context>Required Environment Variables
| Variable | Description | Example |
TFY_BASE_URL | TrueFoundry platform URL | https://your-org.truefoundry.cloud |
TFY_HOST | CLI host alias (recommended when TFY_API_KEY is set for CLI commands) | https://your-org.truefoundry.cloud |
TFY_API_KEY | API key (raw, no Bearer prefix) | tfy-... |
</context><instructions>Check Credentials
Via Tool Call (if tfy-tool-server is configured)
If the TrueFoundry tool server is available, use this tool call:
tfy_config_statusThis returns connection status, configured base URL, and whether an API key is set.
Via Direct API
Check environment variables and test the connection. 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.
# Check env vars are set
echo "TFY_BASE_URL: ${TFY_BASE_URL:-(not set)}"
echo "TFY_HOST: ${TFY_HOST:-(not set)}"
echo "TFY_API_KEY: ${TFY_API_KEY:+(set)}${TFY_API_KEY:-(not set)}"
# Test connection — list workspaces (lightweight call). Use full path shown above.
# Example for Claude Code:
~/.claude/skills/truefoundry-status/scripts/tfy-api.sh GET '/api/svc/v1/workspaces?limit=1'Via .env File
If env vars are not set, check for a .env file:
[ -f .env ] && echo ".env found" || echo "No .env file"Presenting Status
TrueFoundry Status:
- Base URL: https://your-org.truefoundry.cloud ✓
- API Key: configured ✓
- Connection: OK (listed 1 workspace)Or if something is wrong:
TrueFoundry Status:
- Base URL: (not set) ✗
- API Key: (not set) ✗
Set TFY_BASE_URL and TFY_API_KEY in your environment or .env file.
If you do not have a TrueFoundry account yet, run: uv run tfy register
That flow may open a browser for CAPTCHA or human verification before email verification completes.
Get an API key: https://docs.truefoundry.com/docs/generating-truefoundry-api-keys</instructions><success_criteria>
- The user can confirm whether TFY_BASE_URL and TFY_API_KEY are correctly set
- The agent has tested the API connection with a lightweight call and reported the result
- The user can see a clear status summary showing which components are configured and which are missing
- The agent has provided actionable next steps if any credential or connectivity issue was found
- The user knows which skill to use next based on their goal (
deploy, list workspaces, etc.)
</success_criteria>
<troubleshooting>Error Handling
401 Unauthorized
API key is invalid or expired. Generate a new one:
https://docs.truefoundry.com/docs/generating-truefoundry-api-keysConnection Refused / Timeout
Cannot reach TFY_BASE_URL. Check:
- URL is correct (include https://)
- Network/VPN is connectedMissing Variables
TFY_BASE_URL and TFY_API_KEY are required.
Set them via environment variables or add to .env in project root.
If the user is new to TrueFoundry, have them run `uv run tfy register` first,
complete any browser-based CAPTCHA or human verification it requests, verify their email,
open the returned tenant URL, and create a PAT there.CLI Host Missing (TFY_HOST error)
If tfy CLI says: "TFY_HOST env must be set since TFY_API_KEY env is set"
run: export TFY_HOST="${TFY_HOST:-${TFY_BASE_URL%/}}"</troubleshooting><references>Composability
- After status OK: Use any other skill (workspaces, applications, deploy, etc.)
- To set credentials: Export env vars or create .env file
- If using tool calls: Use
tfy_config_setto persist credentials
</references>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.

