Install
openclaw skills install mx-autoClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
Run App trigger services through local Runtime APIs with lightweight persistent defaults and cached callable trigger snapshots. Use when the workflow already exists as a trigger and should be listed or executed locally by cached trigger name or trigger id.
openclaw skills install mx-autoUse this skill when the user wants to:
For complex or ambiguous requests, read references/learning-guide.md before deciding what to ask or run.
trigger.execute.local only.{ target: "trigger.execute", payload: { triggerId, input? }, wait, leaseTtlMs }triggerName in normal usage because it is easier for humans to work with.triggerName and triggerId are present, resolve by exact cached trigger name first.triggerId.connector.collect or script.run.--list-format jsoninput firstbash {baseDir}/scripts/run.sh ...
Preferences file:
$OPENCLAW_STATE_DIR/skill-state/mx-auto/preferences.json
Fallback:
$HOME/.openclaw/skill-state/mx-auto/preferences.json
Helper script:
bash {baseDir}/scripts/export_preference.sh show
bash {baseDir}/scripts/export_preference.sh check
bash {baseDir}/scripts/export_preference.sh apply-recommended
bash {baseDir}/scripts/export_preference.sh set-key defaultConnectionMode local
bash {baseDir}/scripts/export_preference.sh set-key defaultCloudDeviceId <device_id>
Persisted defaults:
defaultConnectionModedefaultLocalBaseUrldefaultCloudBaseUrldefaultCloudDispatchPathdefaultCloudCommandStatusPathTemplatedefaultCloudCommandListPathdefaultCloudDeviceIddefaultCloudTokendefaultWaitdefaultLeaseTtlMsdefaultPollSecdefaultTimeoutSecCached trigger snapshot:
triggerSnapshot.loadedAttriggerSnapshot.sourceModetriggerSnapshot.registryPathtriggerSnapshot.services[]Recommended defaults:
defaultConnectionMode=localdefaultWait=truedefaultLeaseTtlMs=60000defaultPollSec=3defaultTimeoutSec=1200Local Runtime discovery order:
MX_APP_RUNTIME_BASE_URLRPA_RUNTIME_BASE_URLdefaultLocalBaseUrl8877, 8878, 8879/local/status for optional probing./trigger-services./local/commands/send.Resolution order is fixed:
--trigger-name--trigger-idtriggerId if the name is not cached yetList currently available local triggers:
bash {baseDir}/scripts/run.sh --connection-mode local --list-triggers
List currently available local triggers for agent parsing:
bash {baseDir}/scripts/run.sh --connection-mode local --list-triggers --list-format json
Refresh trigger snapshot from local Runtime:
bash {baseDir}/scripts/run.sh --connection-mode local --refresh-triggers
Run by trigger id in local mode:
bash {baseDir}/scripts/run.sh \
--connection-mode local \
--trigger-id trigger_xxx
Run by cached trigger name in local mode:
bash {baseDir}/scripts/run.sh \
--connection-mode local \
--trigger-name "小红书测试"
Run with explicit business input only when the user intentionally overrides a trigger's built-in configuration:
bash {baseDir}/scripts/run.sh \
--connection-mode local \
--trigger-name "小红书测试" \
--input-json '{"keyword":"AI employee"}'
When a human asks for listing, prefer a short human-readable trigger list:
When another agent needs the list, prefer structured JSON with:
modesourceModeloadedAtregistryPathtriggerCounttriggers[]When execution succeeds, summarize:
When the run fails, clearly distinguish:
Use this minimal user-facing guidance when local auto-discovery fails:
“本地模式会先自动查找本地 Runtime。通常不需要手动配置。 如果自动发现失败,优先检查: