From truefoundry
Lists, creates, updates, versions, and tags prompts in the TrueFoundry Prompt Registry via SDK or API. Retrieves prompt FQNs for AI Gateway usage.
How this skill is triggered — by the user, by Claude, or both
Slash command
/truefoundry:promptsThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
<objective>
Manage prompts in the TrueFoundry Prompt Registry.
Use this skill when the user wants to:
production.Do not create or edit agents here. Use truefoundry-agents for Agent Registry UI workflows.
tfy login is complete. If not, use truefoundry-onboard.The predictable UI path is:
TrueFoundry Dashboard -> AI Gateway -> Prompt Management / Prompt Registry
Use the UI when the user wants to visually create, compare, or test prompts.
API fallback:
TFY_API_SH=~/.claude/skills/truefoundry-prompts/scripts/tfy-api.sh
$TFY_API_SH GET /api/ml/v1/prompts
Present:
Prompts
| Name | ID | Versions | Latest | Tags |
Creating a new prompt or adding a new version should be treated as a reviewed change.
Collect:
Show the final prompt content and settings before creating or updating.
SDK shape:
from truefoundry.ml import ChatPromptManifest
client.prompts.create_or_update(
manifest=ChatPromptManifest(
name="my-prompt",
ml_repo="ml-repo-fqn",
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "{{user_input}}"},
],
model_fqn="model-catalog:openai:gpt-4",
temperature=0.7,
max_tokens=1024,
top_p=1.0,
)
)
Prompt edits create versions. Use tags such as production or staging to provide stable references.
SDK shape:
client.prompt_versions.apply_tags(
prompt_version_id="version-id",
tags=["production"],
force=True,
)
Use the UI or SDK to retrieve the FQN:
client.prompt_versions.get_by_fqn(fqn="ml-repo:prompt-name:production")
The FQN is used by Gateway prompt run flows and by TrueFoundry Agents.
Do not delete prompts or prompt versions from the agent. If deletion is requested, direct the user to the Prompt Registry UI.
<success_criteria>
truefoundry-agents.</success_criteria>
npx claudepluginhub truefoundry/skills --plugin truefoundryAuthors, imports, labels, promotes, lists, edits, deletes, and duplicates prompts in Arize Prompt Hub via the `ax prompts` CLI. Use when managing prompt templates with `{variable}` placeholders or production/staging labels.
Guides versioning prompts like code with Git, testing changes via regression/A/B tests, and managing deployments/rollbacks. Useful for prompt engineering workflows to track iterations and avoid regressions.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.