Agent SkillsDotHarness/dotcraft › automations

automations

GitHub

用于创建、管理和运行DotCraft自动化工作流,支持定时提醒、重复任务及会话跟进。涵盖定义构建、状态管理及生命周期控制。

src/DotCraft.Core/Skills/BuiltIn/automations/SKILL.md DotHarness/dotcraft

Trigger Scenarios

用户需要设置定时提醒或定期执行的任务 用户希望管理现有的自动化工作流(如暂停、恢复、删除)

Install

npx skills add DotHarness/dotcraft --skill automations -g -y
More Options

Non-standard path

npx skills add https://github.com/DotHarness/dotcraft/tree/main/src/DotCraft.Core/Skills/BuiltIn/automations -g -y

Use without installing

npx skills use DotHarness/dotcraft@automations

指定 Agent (Claude Code)

npx skills add DotHarness/dotcraft --skill automations -a claude-code -g -y

安装 repo 全部 skill

npx skills add DotHarness/dotcraft --all -g -y

预览 repo 内 skill

npx skills add DotHarness/dotcraft --list

SKILL.md

Frontmatter
{
    "name": "automations",
    "description": "Create, inspect, update, pause, resume, run, or delete DotCraft automations using the Automation tool. Use for reminders, recurring work, scheduled monitoring, and conversation follow-ups.",
    "allowed-tools": "Automation"
}

Automations

Use Automation for work that should run later or repeatedly. Keep the user's requested task and timing in the editable definition; do not create a second workflow inside the prompt.

Create

  1. Use thread for follow-ups that depend on this conversation and independent for standalone work that starts a fresh conversation each run.
  2. Resolve the schedule and, for calendar schedules, its time zone. Ask only when timing is genuinely ambiguous.
  3. Call Automation with action: "create" and one complete definition.
Kind Required schedule fields
at kind, absolute ISO 8601 string at
every kind, positive everyMs
daily, weekdays kind, hour, minute, timeZone
weekly kind, hour, minute, timeZone, ISO weekday days

Example:

{"action":"create","automation":{"name":"Build reminder","prompt":"Check the build and summarize failures.","status":"active","executionMode":"independent","schedule":{"kind":"at","at":"2030-01-15T09:00:00Z"},"notificationPolicy":"all"}}

schedule.at is a string, never a CLR-style object. notificationPolicy belongs inside automation. Keep unrelated schedule fields out. Omit workspaceMode and agentProfileId when unset; approvalPolicy is workspaceScope or fullAuto. Thread mode binds the current conversation when targetThreadId is omitted. Independent Git work defaults to a new worktree per run. Notifications default to important changes for thread mode and every result for independent mode.

Manage

Use list or read before changing a definition when its version is unknown. Updates require expectedVersion. Use pause, resume, or delete for lifecycle changes. Completed is assigned by DotCraft after a one-shot run and is read-only. run queues an execution; report it as queued.

Use supported schedule fields instead of arbitrary RRULE expressions. Do not retry task execution because result delivery failed.

Version History

  • 2d7cea6 Current 2026-09-22 05:27

Same Skill Collection

src/DotCraft.Core/Skills/BuiltIn/create-hooks/SKILL.md
src/DotCraft.Core/Skills/BuiltIn/cron/SKILL.md
src/DotCraft.Core/Skills/BuiltIn/dotcraft-api/SKILL.md
src/DotCraft.Core/Skills/BuiltIn/dotcraft-guide/SKILL.md
src/DotCraft.Core/Skills/BuiltIn/heartbeat/SKILL.md
src/DotCraft.Core/Skills/BuiltIn/memory/SKILL.md
src/DotCraft.Core/Skills/BuiltIn/plugin-creator/SKILL.md
src/DotCraft.Core/Skills/BuiltIn/skill-authoring/SKILL.md
src/DotCraft.Core/Skills/BuiltIn/skill-installer/SKILL.md
src/DotCraft.Core/Skills/BuiltIn/visualize/SKILL.md
src/DotCraft.Core/Skills/BuiltIn/workflow-authoring/SKILL.md
src/DotCraft.TraceViewer/Skills/BuiltIn/trace-review/SKILL.md

Metadata

Files
0
Version
2d7cea6
Hash
9b098c94
Indexed
2026-09-22 05:27

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-22 06:56
浙ICP备14020137号-1