一键导入
automations
Create, inspect, edit, archive, delete, run, and search scheduled or executable automation assets.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create, inspect, edit, archive, delete, run, and search scheduled or executable automation assets.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| name | automations |
| id | automations |
| description | Create, inspect, edit, archive, delete, run, and search scheduled or executable automation assets. |
| version | 1.0.0 |
| category | automation |
| tags | ["automations","scheduler","execution"] |
| when_to_use | ["The user asks to create, list, disable, delete, restore, or search automations.","The user asks to schedule recurring work.","The user asks for a recurring news/search/report generation automation.","A chat, webhook, Telegram, or other channel message asks the assistant to track actionable work.","The user describes an email-processing automation that should run later."] |
| author | kdcube |
| created | "2026-05-02T00:00:00.000Z" |
| namespace | automation |
Automations are executable assets. They are not user memory.
Use automations.list_automations before creating a automation when the request may duplicate an existing automation.
Use automations.search_automations when the user asks to edit, delete, connect, or find a specific existing automation.
Use automations.get_automation to inspect the full automation definition and recent execution history before changing or explaining it.
Use automations.create_automation for actionable work the assistant may later execute or schedule.
Use automations.update_automation for automation definition changes after identifying the exact automation.
Use automations.delete_automation for removal requests; it soft-deletes by default.
Use automations.set_automation_status for disable, archive, delete, restore, and enable requests.
Use automations.link_automation when automations have follow-up, dependency, blocker, parent/child, or related-automation semantics.
Use automations.list_automation_executions when the user asks whether a automation ran, how it ended, or what happened recently.
Use automations.search_automation_executions when the user asks for prior run output, failures, logs, or produced files.
Use automations.search_recent_outputs when the user refers to a prior delivered
report, spreadsheet, file, job result, or says "it", "that report", or "the file
you sent" and the item is not on the current chat timeline.
Use automations.get_automation_execution after list/search returns an execution id and you
need the exact execution result, job conversation id, turn id, or artifact
metadata.
Use automations.materialize_execution_artifact after search_recent_outputs or
get_automation_execution returns the artifact to copy it into the current React turn
before reading, editing, or regenerating from it. Pass only the returned
artifact_ref; do not split it into execution id, automation id, filename, or path
arguments.
Only pass automation ids, execution ids, or memory ids after a list/search/get tool has returned them. Do not invent ids. Conversation ids, execution conversation ids, source labels, hard-delete flags, automation execution ids, and execution journal ids are runtime/UI concerns, not model-authored automation-management parameters.
When creating a automation, keep the title short, put execution details in the
description, and preserve schedule/context fields explicitly when the user
provides them. schedule.recurring is a boolean. Use true for repeating
automations and false for one-shot scheduled automations that should disable themselves
after the first due run. Do not represent recurrence as strings or numbers.
Manual and due executions should use the shared fresh-job execution loop. Each
run creates a fresh automation_job_* conversation and records the result in automation
execution storage.
Execution records are separate from automation definitions. Store only substantial run
outcomes there: status changes, user-facing summaries, compact log excerpts,
structured result data, and artifacts that must be available after the turn.
Artifact references may start as React fi: logical paths; execution-journal
tooling should later resolve and rehost them into bundle storage before
notifying the configured delivery channel.
The main conversational agent does not write execution records directly. Manual
and scheduled automation execution must go through the fresh job-execution loop, where
the job agent writes progress through automation_job.update_execution_journal.
The main chat timeline is not the only source of user-visible facts. Saved-automation jobs run in separate job conversations and can send files or summaries back to the configured delivery channel. The user may then ask the main assistant about "this", "that report", "the spreadsheet", or "the file you sent" even though the object is not present on the main chat timeline.
Each saved-automation execution records the job conversation_id and turn_id. The
execution record is an index row; the artifact source of truth is the job turn
timeline in conversation storage.
Resolution rule:
automations.search_recent_outputscompleted_after_iso set after the visible object's timestamp so later job
outputs can win when appropriateautomations.get_automation_execution for the selected execution before making claims
about its result or artifactsaccess field exactlyArtifact access flow:
automations.materialize_execution_artifact with only
access.materialize.params.artifact_ref.current_turn.logical_path with react.read.react.read may return metadata; use
current_turn.physical_path from code/rendering tools to inspect or modify
the file.Do not use react.pull or react.checkout for external job outputs. The
materialized file is already copied into the current turn outputs, so
react.read is the correct next step.
Do not invent artifact paths, conversation ids, or automation execution ids. Do not
use source/provenance metadata as a React path. For artifact materialization, copy the
opaque artifact_ref exactly as returned.
Create a automation only when there is enough context to execute it later. If required details are missing, ask a short follow-up instead of saving a vague automation.
For email-processing automations:
For search/news/report automations:
recurring=false; if they
ask for repeating work, set recurring=trueBefore saving any automation, consider the currently available tools and skills. If the automation requires a capability that is not available in this React turn, ask for the missing prerequisite or explain that the automation cannot be made executable yet.
Execution behavior for one saved automation job running in a fresh agent conversation.
Teaches agents how to author Markdown that renders cleanly into DOCX via write_docx, with heading hierarchy (up to 6 levels), tables, lists, blockquotes, code blocks, citations, embedded images, SVG diagrams (rendered to PNG first), and document structure patterns for reports, proposals, and technical documents.
Teaches agents how to write syntactically correct Mermaid diagrams that render without errors across all supported diagram types. Covers quoting rules, common syntax pitfalls, diagram-type-specific syntax (flowchart, sequence, class, ER, Gantt, state, pie, mindmap), subgraphs, styling with classDef and theme variables, KDCube brand color integration, renderer usage patterns, readability tuning, and complexity limits.
Teaches agents how to generate Markdown, HTML (with embedded SVG), and Mermaid content that renders beautifully to multi-page PDF via write_pdf, with proper page breaks, compact professional layouts, brand and domain-adaptive color schemes, multi-column support for scientific papers, magazine-style editorial documents, and iterative render-review-fix workflow.
Teaches agents how to author slide-structured HTML that renders professionally to PPTX via write_pptx, with proper sizing, styling, brand and domain-adaptive color schemes, SVG diagram integration, citation handling, deck narrative flow, and content budgets for business presentations, technical decks, and executive briefings.
Teaches agents how to hand-craft self-contained SVG diagrams that render correctly in browsers, <img> tags, and Playwright PDF/PNG. Covers containment math, viewBox sizing, arrow construction, text hierarchy, KDCube brand color tokens, semantic zone fills, badges, the PNG inspection loop, write_png parameters, multi-diagram workflows, and common failure modes with fixes.