Skip to main content

Documentation Index

Fetch the complete documentation index at: https://www.truefoundry.com/llms.txt

Use this file to discover all available pages before exploring further.

Author your skill once, publish a versioned bundle to the Skills Registry, and re-use it across surfaces. Pick the publish path that matches your workflow:
PathUse when
From UISingle-file SKILL.md. Quickest, no CLI setup needed.
tfy upload skill (CLI)Multi-file skills (supporting references/, scripts/, assets/) — one-shot imperative upload. Works on a dev machine or in CI.
tfy apply (CLI, GitOps)Multi-file skills defined declaratively as a YAML manifest — best fit for GitOps where the skill lives alongside its source.
UI uploads currently support a single SKILL.md file only. Multi-file support from the UI is on the roadmap — for now, if your skill ships supporting files (references/, scripts/, assets/), use one of the two CLI paths below.
All three paths produce the same artifact: a versioned Skill stored under a Repository and addressable by its FQN (e.g. agent-skill:my-tenant/my-skills/analytics-helper:1).

Prerequisites

  • A Repository with at least one storage integration configured. The skill bundle is stored in this repository’s blob storage. See Repositories for setup.
  • For the CLI / GitOps paths — the TrueFoundry CLI installed and authenticated. See CLI Setup.

Publish

The UI flow is the fastest way to publish a single-file skill. The Gateway uses the SKILL.md content you author here as the entire skill bundle.
The UI flow currently supports a single SKILL.md only — supporting files are not uploaded. Multi-file support from the UI is on the roadmap. If your skill needs references/, scripts/, or assets/, use the tfy upload skill or tfy apply tab instead.
1

Open the Skills Registry

Navigate to Agents → Skills in the left sidebar and click Create New Skill → Create from UI.
Create New Skill menu showing Create from UI and Upload using CLI options
2

Fill in the basic fields

FieldDescription
NameLowercase letters, digits, hyphens. 1–64 chars. Cannot contain anthropic or claude.
RepositoryThe Repository where this skill version is stored.
DescriptionShort, action-oriented description. The agent uses this to decide whether the skill is relevant. 1–1024 chars.
3

Author the SKILL.md body, save the version

The editor is a Markdown editor. The Gateway automatically prepends the YAML frontmatter from the fields above, so you only write the body — the procedure the agent should follow. Click Save to create v1.
# Analytics Helper Skill

## Querying Tables

To run a query against the warehouse, call …
To create a new version later, open the skill and click New Version in the version list.

Use the Skill

Once a skill version exists, you can use it from any of three surfaces. Open the Usage tab on the Skill Detail page in the UI to copy the exact command pre-filled with your skill’s FQN.
Skill Detail drawer showing the Usage tab with Download, Add to Cursor, and Add to Claude options and a copyable tfy download skill command
Mount the skill into a TrueFoundry Agent from the Agent Playground. The Gateway loads the skill alongside the agent’s tools and runs it inside a sandbox.See Mounting Skills in TrueFoundry Agents for the full flow — selector, version pinning, and the Preload SKILL.md toggle.
To pull the bundle to disk for editing, mirroring, or auditing, point --dir at any local path (e.g. ./skills). Edit the files and re-publish a new version with tfy upload skill.

CLI Reference

Publish a new version of an agent skill from a local directory.
tfy upload skill \
  --repository <repository-name> \
  --dir <path-to-skill-root>
FlagRequiredDefaultDescription
--repositoryyesName of the Repository where the skill version will be published. Must already exist.
--dir / -dno.Path to the local skill root directory. Must contain SKILL.md at the root.
Download a committed skill version’s files to disk.
tfy download skill \
  --fqn <skill-version-fqn> \
  --dir <local-destination> \
  [--overwrite] \
  [--progress | --no-progress]
FlagRequiredDefaultDescription
--fqnyesSkill version FQN. Version must be a positive integer; :latest is not supported.
--dir / -dno.Local destination directory. Created if missing. Skill files land inside a sub-directory named after the skill.
--overwritenofalseWhen set, existing files in the destination are overwritten.
--progress / --no-progressnoautoShow a progress bar while downloading.
FieldRequiredDescription
typeyesMust be agent-skill.
nameyesSkill name. Must match the name in SKILL.md frontmatter.
ml_repoyesName of the target Repository. (The field is named ml_repo for consistency with other TrueFoundry manifests.)
metadatayesFree-form key/value metadata. Use {} if you don’t need any.
source.typeyeslocal for GitOps. Other source types exist but are server-managed.
source.skill_diryesPath to the local skill folder, relative to your tfy apply working directory — typically the root of your Git repo. The folder must contain SKILL.md.