Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

engage

БесплатноБез исполняемых скриптовНе проверен

Manage Treasure Engage email templates, campaigns, workspaces, and DAM media using `tdx engage` commands with YAML+HTML configs. Use when creating, editing…

treasure-dataот treasure-data★ 23 звезды на GitHub

Об этом скилле

tdx Engage

First: What Are You Building?

User says... Write this Reference to read first
"create an email template", "build an email" type: template YAML + HTML references/template-yaml.md
"create a campaign", "set up an email send" type: campaign YAML + HTML references/campaign-yaml.md
"copy", "duplicate", or "clone" an existing template or campaign Nothing new. Read Copying Existing Content first —

Always produce YAML + HTML together. The YAML is what tdx engage template push or tdx engage campaign push consumes — HTML alone can't be pushed. This is the most common mistake: generating beautiful HTML, then realizing there's no YAML to push it with.

After writing YAML+HTML, execute the full pipeline yourself

Do not stop after writing files and tell the user what to run. Immediately proceed: validate → fix errors → push --dry-run → push --yes. If workspace is missing from the YAML, add it yourself before validating.

Commands

# Workspace
tdx engage workspaces
tdx engage workspace show "Name" --full --json  # Shows applicable parent segments
tdx engage workspace use "Name"

# Templates — YAML-based workflow
tdx engage template pull "Workspace" --yes      # Pull to YAML+HTML
tdx engage template validate path/to.yaml       # Local schema check
tdx engage template push path/to.yaml --dry-run # API validation
tdx engage template push path/to.yaml --yes     # Push

# Campaigns — YAML-based workflow
tdx engage campaign pull "Workspace" --yes
tdx engage campaign validate path/to.yaml
tdx engage campaign push path/to.yaml --dry-run
tdx engage campaign push path/to.yaml --yes
tdx engage campaign launch "Name"
tdx engage campaign pause "Name"

# Discovery
tdx engage templates                            # List templates
tdx engage campaigns                            # List campaigns
tdx delivery senders --workspace "Name"          # List email senders

DAM Media Discovery

Use DAM listing before selecting image assets for Engage content. Filter server-side instead of fetching an unbounded directory.

# List a directory or find a recent matching image
# Use --sort=-updatedAt when the sort value begins with a hyphen.
tdx engage media ls campaigns/images --name hero --node-type media_file --date-range last_30_days --sort=-updatedAt

# Page through files uploaded by a specific user
# --limit is global and must be between 1 and 100.
tdx engage media ls --uploaded-by "Admin User" --limit 20 --offset 20 --json
Option Accepted values / behavior
--name <text> Case-insensitive partial name match.
--node-type <type> media_file or media_folder.
--uploaded-by <name> Case-insensitive uploader match; returns files only.
--date-range <range> last_7_days, last_30_days, or all.
--sort <order> updatedAt, -updatedAt, name, or -name.
--limit <number> Global option; integer from 1 through 100.
--offset <number> Non-negative number of matching items to skip.

JSON and JSONL output preserve the API pagination metadata and navigation links with the listed directory data.

Workspace Discovery

tdx engage workspace show "Marketing Team" --full --json

The applicableParentSegments field tells you which parent segments (and therefore which audience attributes) are available:

tdx ps desc <parent_segment> -o   # Output columns + non-null rates

Non-null rates matter because they determine whether template variables need default_value — see the template workflow below.

Template Workflow

Read references/template-yaml.md before writing template YAML.

1. Check parent segment attributes

tdx ps desc <parent_segment> -o

This shows output columns and non-null rates. You need this to write correct variables.

2. Write YAML + HTML

my-template.yaml    # type: template
my-template.html    # HTML content

For new HTML you write, always set editor_type: grapesjs. The beefree editor uses a proprietary JSON format that can't be generated from HTML — grapesjs works directly with the HTML you write. Copies keep their source editor type; see Copying Existing Content.

Variables: every {{profile.<name>}} in HTML or subject needs a variables entry.

  • preview_value: set to the Liquid tag itself ("{{profile.first_name}}")
  • default_value: set this when the attribute's non-null rate is below 100% — without it, recipients with null values see blank text
  • {{sender.email}} is special (comes from workspace sender, not parent segment) and doesn't need a variable entry

3. Validate, preview, push

Execute these yourself immediately after writing the files — don't ask the user to run them:

tdx engage template validate path/to/template.yaml
tdx engage template push path/to/template.yaml --dry-run

Use preview_engage_template (with file_path for local YAML, or

Полный SKILL.md на GitHub

Установить engage в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/campaign-yaml.mdreferences/template-yaml.md

FAQ

Что делает скилл engage?

Manage Treasure Engage email templates, campaigns, workspaces, and DAM media using `tdx engage` commands with YAML+HTML configs. Use when creating, editing, previewing, validating, or deploying email templates, email/push campaigns, managing workspaces, or locating Engage media assets — even if the user only mentions "create an email" or "build an HTML email". Always write YAML definition files alongside HTML — never push raw HTML without a YAML wrapper.

Как установить скилл engage?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл engage запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить engage с