Crossly Automation recipes
Write, validate and import a Crossly automation recipe, the portable JSON format for one automation rule (schemaVersion 1, trigger, optional condition…
от crossly103 установки в других каталогах
Установить Crossly Automation recipes в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Write and validate a Crossly automation recipe
A recipe is one automation rule as a JSON document:
{
"$schema": "https://crossly.net/schemas/automation-recipe-v1.json",
"schemaVersion": 1,
"name": "Nudge stale listings down 5% after 30 days",
"description": "A small cut with a floor, so it keeps moving without you watching it.",
"trigger": { "type": "listing.age_reached", "config": { "ageDays": 30 } },
"condition": { "type": "listing.price_above", "config": { "threshold": 25 } },
"action": { "type": "listing.price_drop", "config": { "mode": "percent", "percent": 5, "floor": 12, "minDaysListed": 30 } }
}
Schema: https://crossly.net/schemas/automation-recipe-v1.json (JSON Schema draft 2020-12). Rules it enforces:
- Required:
schemaVersion(the constant1),name(1-200 characters),trigger,action. Optional:$schema,description,condition,platforms(a platform filter for the whole rule). additionalProperties: falseeverywhere: a misspelt key fails validation.trigger,conditionandactionare each{ "type": "<one of the listed types>", "config": { … } }, andconfigmust match that type's own keys exactly.
Setup
- Create a free Crossly account: https://crossly.net/register
- Create a personal access token at https://crossly.net/settings/api/tokens/new (guide: https://crossly.net/guides/personal-access-tokens). Use a
crossly_pat_test_token against the sandbox while building. - Export it as
CROSSLY_PATand send it asAuthorization: Bearer $CROSSLY_PATtohttps://crossly.net/api/v1/*. Full docs: https://crossly.net/docs
Pick the types from the schema, never guess
Read the schema's oneOf lists for the full set and each config. Examples by category:
- Triggers:
schedule.cron(cron,timezone),schedule.daily(hourUtc),schedule.interval(intervalMinutes),listing.created,listing.sold,listing.liked,listing.age_reached(ageDays),listing.no_views_after(ageDays,maxViews),inbox.offer_received,inbox.message_received,order.shipped,order.delivered,order.ship_by_soon,order.unshipped_after(daysOverdue),inventory.low_stock(threshold),inventory.zero_qty,market.competitor_underprice,platform.disconnected. - Conditions:
listing.platform(platforms),listing.price_range(minPrice,maxPrice),listing.price_above/listing.price_below(threshold),listing.age_range(minDays,maxDays),listing.has_tags(tags,matchAll),listing.has_label(label). - Actions:
listing.price_drop(mode,percent,fixedAmount,floor,minDaysListed),listing.reprice(strategy, …),listing.timed_discount,listing.share_closet,listing.send_offer_to_likers(discountPercent, …),listing.auto_relist,listing.delist,listing.expand_platforms(targetPlatforms),inbox.send_thank_you(template),inbox.offer_auto_respond,notify.slack/notify.discord/notify.webhook(integrationId,template),notify.email_user(subject,body),crm.push_buyer(integrationId),account.toggle_vacation(enabled).
Money in recipes follows the key names: the schema describes fixedAmount and threshold as USD amounts and floor as an absolute price (dollars, like listing prices), while …Cents keys (floorCents, undercutByCents, ceilingCents) are integer cents. Every repeating discount needs a floor, or it walks a price to nothing over a long listing life.
Ids the schema can't know (a Slack integrationId, a cannedId) must be the seller's real ids. Use an obviously invalid placeholder like REPLACE_WITH_SLACK_INTEGRATION_ID in shared recipes so an unedited import fails loudly.
Validate in two steps
- Offline against the schema: any draft 2020-12 validator (for example Ajv's
Ajv2020), the recipe validator at https://crossly-dev.github.io/crossly-playground/, or the Crossly VS Code extension (files named*.crossly-recipe.json). - Online against the server's catalog (
automation:read):POST /v1/automation/rules/validate-recipewith the recipe, or a bundle{ "schemaVersion": 1, "recipes": [ … ] }. It answers{ valid, count, results: [{ name, valid, errors }] }, checking each type id and running the server's own config validators. It does not look up the seller's data, so a wrongintegrationIdpasses here and fails when the rule runs.GET /v1/automation/cataloglists the supportedtriggerType/actionType/conditionTypevalues with eachconfigSchema.
const { valid, results } = await crossly.automation.validateRecipe(recipe) as { valid: boolean; results: unknown[] };
Import
POST /v1/automation/rules/import (automation:write) takes one recipe or a bundle. Imported rules arrive paused; ?activate=true turns them on at once, which you should only do after the seller has read the numbers. A partial import is a success: read both the created rules
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Crossly Automation recipes?
Write, validate and import a Crossly automation recipe, the portable JSON format for one automation rule (schemaVersion 1, trigger, optional condition, action) described by https://crossly.net/schemas/automation-recipe-v1.json. Pick trigger/condition/action types from the published schema, validate offline against it and online with POST /v1/automation/rules/validate-recipe, then import paused with POST /v1/automation/rules/import. The rules endpoints are deprecated (sunset 2027-03-01) in favour of workflows. Use when creating price-drop ladders, offer rules, ship-by reminders, notifications or other single-step Crossly automations as JSON.
Как установить скилл Crossly Automation recipes?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Crossly Automation recipes запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…