self-scheduling
它能做什么
这个技能向智能体展示如何在工作区中把任务设置为事项文件,包括由谁负责、应该做什么,以及何时运行。适合希望定期检查或跟踪后续工作的人。
适用场景
- ✓你想让定期检查按设定时间运行的时候。
- ✓你想在事项看板上跟踪一个后续事项的时候。
- ✓你想更改事项的负责人,或其结果的交付方式的时候。
技能链接
https://github.com/TraderAlice/OpenAlice/blob/master/default/skills/self-scheduling/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请创建一个每日事项,每天早上检查我的关注列表。”
每周 5 个新技能,1 分钟读完。
工作原理
每个事项都以带有结构化字段和纯文字说明的 Markdown 文件保存。设置了时间安排的事项会被扫描器识别,并在到期时启动后台运行。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Issues & self-scheduling — .alice/issues/<id>.md
OpenAlice treats an issue as a collaboration object, not just a timer. It is the
durable place to put trading follow-up, monitoring work, open questions,
handoffs, and scheduled checks. Status, priority, and assignee tell humans and
agents what deserves attention; when is the extra field that lets an issue
summon a headless agent run.
This workspace owns its work as one markdown file per issue in .alice/issues/
at its own root. Each file is YAML frontmatter (the structured fields) plus a
markdown What (the human-visible work definition and exact scheduled prompt).
- An issue without
whenis a plain tracked work item — it appears on the Issue board for you and the user to see, but the scanner never fires it. - An issue with
whenself-schedules: a launcher scanner reads the dir (it never interprets the work) and fires a headless run of this workspace when the issue is due — exactly like a recurring job.
The filename stem is the issue id (morning-scan.md → id morning-scan).
Two ways to manage issues — the CLI (agent surface) or the file
You have two equivalent paths, and both write the same
.alice/issues/<id>.md files:
alice issue …— the convenient agent surface, and what you should reach for first. A small set of verbs does the read-modify-write for you: id slug derivation, frontmatter validation against the allowed status/priority enums, structured comment sidecars, and not clobbering an existing id. The same tools are also exposed over MCP — it is one registration behind both, so an MCP-speaking agent gets the identical surface with no separate path.- Editing the file directly with your normal file tools. Reach for this when
you are writing rich markdown What or scheduling frontmatter
(
when/assignee/agent/credential/credentialSource/model/effort/timeout/commentPrompt) — the CLI verbs cover the board fields, What, timeout, comment prompt, and comments, but the document and schedule shape read most clearly as text. The file is always the single source of truth either way.
Change a scheduled Issue's model or effort
For @new-then-resume / @new-each-run, update the Issue's model / effort.
For an exact @resumeId, edit ai.model / ai.reasoningEffort in the owning
Session's Workspace at .alice/sessions/<resumeId>.json; preserve all other
fields, especially agent and ai.credential, and keep valid JSON. Only the
Agent runtime is fixed; model and effort remain editable. Alice reconciles the
file on the scheduler tick for the next launch, without changing the current
process or losing context. Session Settings while idle is the validated UI
alternative. Use alice conversation ask --resume-id <resumeId> --model <id> --effort <level> --prompt <message> only when you also intend to send a turn.
CLI verbs
# list — scan the WHOLE board: every workspace's issues as compact title rows
alice issue list
# show — one issue in full, resolved by its (global) name: frontmatter + What + comments +
# run history + inbox reports. --id takes a name OR id and resolves across the
# board; a name two workspaces share returns the candidates to pick from.
alice issue show --id morning-scan
# create — a new issue. --title is required; --id is derived as a kebab slug
# from the title when omitted. Creating over an existing id is refused.
alice issue create --title "Split the data fetcher" \
--priority medium \
--what "src/fetch.ts mixes the HTTP call with the normalization step."
# update — patch board fields, canonical What, or the optional run timeout;
# scheduling cadence (`when`) is left untouched. Setting status done|canceled is how
# you silence a self-scheduled issue (there is no separate enabled flag).
alice issue update --id morning-scan --status done
alice issue update --id morning-scan --timeout 30m
# comment — append markdown to the structured `<id>.comments.json` sidecar. An
# attributable Session signs with @resumeId. If somebody else comments on an
# For a fixed @resumeId owner, OpenAlice asks that owner in the background.
# Human comments without one ask the creator or a reconstructed Workspace Agent.
# Agent-authored comments without a fixed owner remain timeline notes.
alice issue comment --id morning-scan --text "Brief pushed; SPY gapped +0.4%."
Run alice issue <verb> --help for
常见问题
已跟踪事项和定时事项有什么区别?
已跟踪事项只显示在看板上。定时事项到期时还会启动后台运行。
智能体可以直接编辑事项吗?
可以。技能允许智能体使用 alice issue 命令,或直接编辑文件。
这和向另一个会话提问一样吗?
不一样。技能说明,当你想让另一个会话回答问题时,应使用其他技能。
详情
作者的原始描述
Define durable work and scheduled/headless execution with `.alice/issues/<id>.md`: structured ownership and optional `when` frontmatter plus one canonical markdown What. Use for creating or editing an Issue, choosing its assignee, schedule, prompt, delivery behavior, or health state. Use the `alice` skill instead when the goal is to ask another Session for an answer.
repo: TraderAlice/OpenAlice
热度
- GitHub 星标
- 7.4k
- 排名
- #13270
- 许可证
- AGPL-3.0
- 更新时间
- 2026/10/23
评论
- …