status

Checks TrueFoundry connection status and verifies credentials (TFY_BASE_URL/TFY_HOST, TFY_API_KEY). Used as a preflight check before any TrueFoundry operation.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "status" with this command: npx skills add truefoundry/tfy-agent-skills/truefoundry-tfy-agent-skills-status

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 workspaces skill; ask if the user wants another valid path
  • User wants to deploy → prefer deploy skill; ask if the user wants another valid path
  • User wants to see running apps → prefer applications skill; ask if the user wants another valid path
</objective> <context>

Required Environment Variables

VariableDescriptionExample
TFY_BASE_URLTrueFoundry platform URLhttps://your-org.truefoundry.cloud
TFY_HOSTCLI host alias (recommended when TFY_API_KEY is set for CLI commands)https://your-org.truefoundry.cloud
TFY_API_KEYAPI 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_status

This 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.
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-keys

Connection Refused / Timeout

Cannot reach TFY_BASE_URL. Check:
- URL is correct (include https://)
- Network/VPN is connected

Missing Variables

TFY_BASE_URL and TFY_API_KEY are required.
Set them via environment variables or add to .env in project root.

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_set to persist credentials
</references>

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

ssh-server

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

deploy

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

ai-gateway

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

docs

No summary provided by upstream source.

Repository SourceNeeds Review