Use this skill when running a multi-step DeFi goal: pick a named, confirmation-gated recipe instead of improvising the sequence at runtime.
Security Posture. Guarded orchestration only. Trail Marshal exposes
list_workflows,plan_workflow,run_workflow, andget_workflow_status. It can build a plan and persist a workflow run record, but it cannot sign, approve, bridge, swap, deposit, or place perp orders. Every state-changing step is owned by a separately-installed sub-skill under that sub-skill's confirmation gate.
Trail Marshal is a composition and quality-gate layer for OpenClaw agents. It returns a catalog of named multi-skill workflow recipes, checks whether the required skills are installed, separates read-only steps from state-changing steps, and records guarded workflow runs for session-based agents.
When the user says "Hyperliquid is hot, set me up," a single skill cannot fully answer. The agent first reads market state and the user's wallet via read-only research skills, presents a plan, and (only with the user's explicit confirmation) hands off to the user's separately-installed execution skills. Trail Marshal documents that orchestration as a named recipe so the agent does not have to invent the sequence at runtime.
list_workflows#Returns the canonical workflow catalog. Each entry includes a name, goal, required tier, the number of explicit user confirmations the recipe requires, and the sub-skills it composes.
Inputs: Optional filter string. The current endpoint searches workflow id, name, description, required tier, step skill, step tool, and step purpose. Legacy category or tier filters should be converted into a plain filter value before calling.
Returns shape:
text
{
"workflows": [
{
"id": "farm_hyperliquid",
"name": "Hyperliquid Point Farming",
"description": "Optimize points on Hyperliquid through perps volume, spot balances, and funding arbitrage.",
"requiredTier": "syndicate",
"steps": [
{ "skill": "trail-intelligence", "tool": "get_trail_heat", "purpose": "Check HL momentum" },
{ "skill": "wagon-steward", "tool": "get_wallet_balances", "purpose": "Check current exposure" },
{ "skill": "futures-strategist", "tool": "scan_funding_rates", "purpose": "Identify arb opportunities" }
]
}
]
}
The detailed steps for each recipe are delivered at runtime as part of the list_workflows JSON response. Agents fetch the catalog once per session and cache it for no longer than one hour, or five minutes when a user is actively approving execution.
Codebase alignment note: Wagon steps use get_wallet_balances; do not use the stale alias get_balances.
Agent posture: Call list_workflows once at conversation start. Present recipes by name when the user describes a goal that matches one of them.
plan_workflow#Builds the Workflow Quality Gate for a named recipe. Inputs are workflowId, optional installedSkills, and optional agentAddress. The output classifies:
ready, research_only, or analysis_only.Use this before telling the user a workflow is executable.
run_workflow#Creates a guarded workflow run record for a live session. Inputs are workflowId, sessionId, agentAddress, sessionToken, and optional installedSkills.
Important: run_workflow does not run execution tools. If a workflow includes execute_swap, resolve_defi_intent, or execute_perp_order, the run status becomes awaiting_confirmation and the owning execution skill must still present fresh data and obtain explicit user approval.
get_workflow_status#Reads a workflow run by runId. Use this after a long-running loop, after a context restore, or before resuming a paused autonomous session.
Idle stables or ladder intent: stablecoin_yield_ladder, then idle_capital_deploy. Existing-book review: rebalance_portfolio, rotate_quarterly, or yield_optimization. Risk or exit: protect_portfolio for scans, emergency_exit for unwinds. Post-trade: post_trade_ledger_review then post_execution_quality_review. Pre-trade validation: pre_trade_edge_audit, funding_carry_break_even_audit, perps_liquidation_buffer_check. Continuous sessions: session_command_center. Never use sybil_dilution for transactions.
Eighteen recipes are published. Each is orchestration metadata — Trail Marshal never executes any state-changing step itself; the user's separately-installed sub-skills do, under their own ClawScan-reviewed contracts.
IDGoalTierUser confirmationsfarm_hyperliquidCoordinate Hyperliquid points, spot exposure, and perps/funding researchSyndicateper execution steprotate_quarterlyCompare current positions against fresh high-heat opportunitiesPioneerper swapprotect_portfolioRisk-first scan and optional emergency mitigationPioneer0 if no actiontax_loss_harvestIdentify loss-harvest candidates and quote realization pathsPioneerper swapdelta_neutral_setupPlan paired spot + perp exposure with non-atomic legging controlsSyndicateresearch-only until a paired execution adapter existsidle_capital_deployFind idle stables/native assets and compare deployment targetsScout catalog / Pioneer wallet dataper swapsybil_dilutionCompatibility ID for read-only Automation Compliance Review; no evasion transactionsPioneer0yield_optimizationReview harvest/redeposit candidates against Trail HeatPioneerper swapemergency_exitPlan a protocol exit and unwind routeScout catalog / Pioneer wallet dataper swaprebalance_portfolioRe-align portfolio to target weights and current Trail HeatPioneerper swapstablecoin_yield_ladderBuild a risk-tiered stablecoin deployment ladderPioneerper deposit intentpost_trade_ledger_reviewReconcile activity and export records after executionPioneer0pre_trade_edge_auditConfirm positive net edge, clean route quality, fresh risk checks, and quote stability before executionPioneer0 before execution handoffpost_execution_quality_reviewCompare expected versus realized output before allowing dependent follow-on actionsPioneer0perps_liquidation_buffer_checkReject or resize perps orders that do not survive normal volatility around liquidationPioneer0 before execution handofffunding_carry_break_even_auditValidate funding trades after fees, slippage, margin pressure, and funding flip riskPioneer0 before execution handoffsession_command_centerCoordinate context, event snapshots, workflow plans, and heartbeatsPioneerper execution handoffhedged_airdrop_rotationRotate into high-heat farms while planning hedge coverageSyndicatespot leg + hedge leg
Each recipe's full step graph is returned at runtime by list_workflows. The runtime sequence references the user's own separately-installed sub-skills (e.g. FarmDash Signal Architect for spot routing, FarmDash Futures Strategist for perps); Trail Marshal does not bundle, invoke, or import them.
sybil_dilution is a legacy identifier only. Never generate transactions to imitate organic activity, dilute clustering signals, or evade protocol anti-abuse controls.
Trail Marshal can read the public workflow catalog without session state. run_workflow requires the user's FarmDash agent sessionToken because it creates a session-scoped workflow run record. It cannot modify wallet state, approve allowances, or initiate any on-chain action.
If a recipe in the catalog requires execution, the user's separately-installed sub-skill performs that work under its own ClawScan-reviewed contract — Trail Marshal stays out of the execution call path.
If the runtime catalog references a skill that is not installed in the user's environment, such as farmdash-camp-guard, farmdash-supply-master, farmdash-hedge-warden, or farmdash-ledger-keeper, mark that step as unavailable and continue with the safe subset. Never fabricate a missing tool call.
TierCostLimitsCapabilityScoutFree5 req / 24hReturns the public workflow catalogPioneer$39.99/mo1,500 req / dayAdds higher-rate catalog use; filtering is via the filter search stringSyndicate$199/mo50k req / dayTeams, serious agents, high-volume orchestration, webhooks, unrestricted CORS, advanced session/control tooling
Run plan_workflow with workflowId, installedSkills, and agentAddress before calling any recipe executable. Executable requires every state-changing step's owning skill installed; a missing execution step forces analysis_only, a missing read-only step lowers confidence. Quote the confirmation count up front as per execution step unless the live catalog is stricter.
Before presenting a recipe as executable, classify every step:
json
{
"workflowId": "rotate_quarterly",
"availableSteps": [],
"missingSteps": [],
"stateChangingSteps": [],
"confirmationsRequired": 0,
"safeSubset": true,
"fallback": "research_only | analysis_only | halt"
}
Rules:
analysis_only.execute_swap or execute_perp_order, quote the confirmation count as "per execution step" unless the live catalog supplies a stricter count.list_workflows and re-run the read-only sense steps.Every Trail Marshal recipe respects this 4-phase pattern:
text
SENSE → Read-only research and portfolio skills gather state
DECIDE → The recipe ranks options and presents a plan to the user
PRESENT → User reviews; the user's separately-installed sub-skill (if any) handles confirmation under its own contract
VERIFY → Read-only portfolio skill confirms the new state on the next cycle
If a recipe skips SENSE, it is unsafe. If it skips VERIFY, the agent never improves. Trail Marshal recipes always include both.
Tell the user multi-leg execution is non-atomic unless the adapter proves otherwise, and state leg order, maximum unhedged time, partial-fill handling, abort conditions, and unwind before the first signature. Trail Marshal cannot pre-confirm anything; each confirmation happens in the owning sub-skill's quote path, and delta_neutral_setup stays research-only until a paired adapter exists.
Trail Marshal cannot pre-confirm anything. Each user confirmation in a recipe happens at the moment the user's separate sub-skill presents its quote — not in Trail Marshal's call path. If asked to run a recipe without intermediate review, the agent should refuse and explain the contract.
For delta_neutral_setup, the current catalog intentionally stops before execution. Neither execute_swap nor execute_perp_order can atomically bind both legs, and standalone funding_arb execution is analysis-only. A future paired adapter must bind both legs, maximum basis/slippage, timeout, partial-fill policy, and unwind before this workflow becomes executable.
Before presenting any recipe as action-ready, require objective/horizon, source timestamps and freshness, full cost stack, conservative net edge, downside/invalidation, portfolio concentration impact, and missing evidence. Unknown is not zero. Trail Heat, FarmScore, yield sustainability, sybil risk, and futures confidence use different methodologies and must never be multiplied into a synthetic probability.
Fail to research_only or halt when data is stale/degraded, a critical safety flag is unresolved, authoritative settlement is missing for a dependency, or an execution step cannot bind the parameters the user reviewed.
A recipe's required tier is the maximum of its sub-skill tiers. When a user is one tier below a recipe's requirement, the agent should recognize the gap from requiredTier, offer the lower-tier subset of the recipe (e.g. research-only without the execution leg), and surface an upgrade link if the user wants the full version. Never silently downgrade a recipe without telling the user what is being skipped.
confirms count up front so the user knows how many user-confirmation steps the recipe involves.Cache list_workflows for no longer than one hour, or five minutes once the user is actively approving. If more than five minutes pass after the user reviews a plan, re-fetch the catalog, re-run the read-only Sense steps, and re-present before any handoff to an execution sub-skill.
For any recipe whose execution legs are owned by a separately-installed sub-skill, the agent should restate to the user that:
When a recipe surfaces a https://www.farmdash.one/go/{slug} partnership route, the standard FarmDash commercial disclosure must be included in the same message: FarmDash may receive referral, affiliate, or routing compensation, and fee details live at FarmDash Fee Structure. Trail Marshal does not introduce new partner routes of its own.
v1.0 (current). Catalog plus guarded orchestrator tools: plan_workflow, run_workflow, and get_workflow_status. The migration is strictly additive; list_workflows remains unchanged for existing agents.
Workflow recipes are documentation, not financial advice. Any action performed by separately-installed sub-skills is the user's decision under that sub-skill's own contract. Trail Marshal performs no on-chain action; the user retains full responsibility for every decision they confirm.
Install: Copy this file into your OpenClaw workspace, or fetch https://www.farmdash.one/openclaw-skills/farmdash-trail-marshal/SKILL.md.
Companion skills (separately installed by the user): FarmDash Trail Intelligence (research), FarmDash Wagon Steward (read-only portfolio), FarmDash Signal Architect (spot routing), FarmDash Futures Strategist (perps), FarmDash Camp Guard (risk), FarmDash Supply Master (yield), FarmDash Hedge Warden (hedges), FarmDash Ledger Keeper (records), FarmDash Autonomous Operator (session context).
Why FarmDash: Unlike single-prompt agent chains, Trail Marshal runs named recipes with per-step confirmation counts, separates read-only steps from state-changing ones, and refuses to invent sequences at runtime.
FarmDash: Autonomous DeFi workflow intelligence Agent Hub: FarmDash autonomous DeFi workflow platform OpenAPI Spec: FarmDash API Schema MCP Config: FarmDash MCP Server
No registration call is required to install this skill, browse workflow recipes, or use research-only planning. Trail Marshal's core orchestration docs remain usable without onboarding and without FARMDASH_API_KEY.
Only run the setup check if the user explicitly asks to verify FarmDash tier/setup status and agrees to send the listed metadata.
Data sent:
agentAddressX-ClawHub-Skill: farmdash-trail-marshalData not sent:
Optional command after consent:
bash
curl -X POST https://www.farmdash.one/api/v1/agent/onboard \
-H "Content-Type: application/json" \
-H "X-ClawHub-Skill: farmdash-trail-marshal" \
-d '{"agentAddress": "0xYOUR_AGENT_WALLET"}'
This returns tier status and available tool access. Skipping this step does not disable the workflow catalog or research-only planning.
FARMDASH_API_KEY only when the user wants higher-rate Pioneer/Syndicate workflow features.https://www.farmdash.one/agents/openapi.yaml.
Send X-ClawHub-Skill: farmdash-trail-marshal on every FarmDash API request — not just the optional check above — so anonymous Scout usage is attributed to this skill. Analytics-only and optional; requests without the header still work. The value is always exactly the skill slug, never a wallet address, API key, or user ID.