一键导入
todo
Create and manage todo list documents (TodoDoc). Use for task lists, checklists, and simple project tracking.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create and manage todo list documents (TodoDoc). Use for task lists, checklists, and simple project tracking.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Read and write a Datalog database document (DatalogDoc) by Automerge URL. Use when working with Datalog facts, rules, or constraints — asserting or retracting facts, reading the current database state, running queries, or checking for constraint violations.
Manage a Plan — a document referencing separate task documents, each with a goal, dependencies, artifacts, and a linked spec.
Manage a Spec Collection — a single document containing multiple specs, each with a goal, named document references, and JavaScript verification scripts.
Write a plain-JS canvas tool for an existing datatype and place it on a Paper canvas via toolUrl embed. Use when asked to create a custom view or UI for an existing document type.
Read and write a Datalog database document (DatalogDoc) by Automerge URL. Use when working with Datalog facts, rules, or constraints — asserting or retracting facts, reading the current database state, running queries, or checking for constraint violations/conflicts.
Domain-specific API for creating and configuring an llm-petrinet — set system prompts, add optimizers/evaluators/problems, and read back the current configuration.
基于 SOC 职业分类
| name | todo |
| description | Create and manage todo list documents (TodoDoc). Use for task lists, checklists, and simple project tracking. |
Create and manage todo list documents.
const todo = await workspace.loadSkill("todo");
// TodoDoc shape
{ title: string, todos: Todo[] }
// Todo item
{ id: string, description: string, done: boolean }
createTodo(title) (async)Creates a new todo list. Returns { handle, url }.
const { url } = await todo.createTodo("Shopping List");
getTodo(url) (async)Returns interface for the todo at url:
| Method | Description |
|---|---|
addItem(description) | Adds a new todo item |
toggleItem(id) | Toggles done state |
removeItem(id) | Removes item by id |
getItems() | Returns all items |
getTitle() | Returns list title |
setTitle(title) | Updates title |
const todo = await workspace.loadSkill("todo");
// Create a new list
const { url } = await todo.createTodo("Weekly Tasks");
// Work with existing list
const list = await todo.getTodo(url);
list.addItem("Review PRs");
list.addItem("Update docs");
list.addItem("Deploy to staging");
const items = list.getItems();
console.log(items);
// [{ id: "...", description: "Review PRs", done: false }, ...]
// Mark first item as done
list.toggleItem(items[0].id);
// Remove an item
list.removeItem(items[2].id);
// Update title
list.setTitle("Sprint Tasks");