[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M755HXJEY843Z1MP9CF1SHQ4":3,"skill-same:01M755HXJEY843Z1MP9CF1SHQ4":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M755HXJEY843Z1MP9CF1SHQ4","plandesk",null,"Plan Desk planning conventions. Use when planning projects, features, or RFCs; creating or updating Plan Desk tasks, documents, notes, files, artifacts, and edges; executing a plan with get_next_task; sharing context with a delegated worker; or reading and resolving Plan Desk comments.","kuralle\u002Fkuralle-agents","kuralle","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F289272678?v=4","01M755GAMJ4VQ7Q14J065W5ZAM","Kuralle","01M755GANGEX5147S8CJY0A72W",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fkuralle\u002Fkuralle-agents\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fplandesk\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: plandesk\ndescription: Plan Desk planning conventions. Use when planning projects, features, or RFCs; creating or updating Plan Desk tasks, documents, notes, files, artifacts, and edges; executing a plan with get_next_task; sharing context with a delegated worker; or reading and resolving Plan Desk comments.\n---\n\n# Plan Desk MCP Instructions\n\n## Setup\nAt the start of any session where Plan Desk may be used, list the available\nPlan Desk MCP tools before calling them. Do not assume tool names or parameter\nshapes; if expected tools are missing, say so before proceeding.\n\nNever guess or hardcode a Plan Desk project, task, or document ID. Resolve the\nproject as below; look up tasks\u002Fdocuments by name and use the returned ID.\n\nNew to this repo? Run `plandesk onboard` for the full Plan Desk + Factory model\n(how the board works, the execution loop, delegation, and the MCP tools).\n\n### Server must be running (machine-global — not the harness)\n\nMCP tools talk to a **Plan Desk server on the user's machine** (`plandesk serve`).\nThat process must outlive the agent session. **Do not** start it with the harness\nShell tool's `run_in_background` — that ties the server to this chat and it dies\nwhen the session ends. Start it **globally on the machine**: a detached OS\nprocess the user (or a one-shot setup shell) owns.\n\n**Check first** (from the repo root):\n\n```bash\ncurl -fsS \"$(plandesk url)\u002Fapi\u002Fv1\u002Fprojects\" >\u002Fdev\u002Fnull 2>&1 \\\n  && echo \"Plan Desk server is up\" \\\n  || echo \"No server — start one (below)\"\n```\n\n`plandesk status` also reports whether a board on this machine is running (by\nPID liveness, not just a stale lock file).\n\n**If down, start detached** (survives after the agent's shell exits):\n\n```bash\nplandesk serve >>\u002Ftmp\u002Fplandesk.log 2>&1 &\ndisown\nsleep 2\ncurl -fsS \"$(plandesk url)\u002Fapi\u002Fv1\u002Fprojects\" >\u002Fdev\u002Fnull 2>&1 \\\n  && echo \"server up\" \\\n  || (echo \"not ready — check \u002Ftmp\u002Fplandesk.log\"; tail -20 \u002Ftmp\u002Fplandesk.log)\n```\n\nTell the user the server is running in the background and that **`plandesk serve`\nin a dedicated terminal** is better for day-to-day use (logs stay visible; no\ndependency on this session). There is no `plandesk start` — the command is\n**`plandesk serve`**.\n\n**First time on this machine** (before serve will work): `npm i -g @plandesk\u002Fcli@latest`\n(Node ≥ 20), then `plandesk init` (idempotent — creates `~\u002F.plandesk` unless the\nrepo already has a local `.plandesk\u002Fworkspace.db`). Full walkthrough:\n`plandesk onboard`, or fetch `https:\u002F\u002Fplandesk.asyncdot.com\u002Fstart.md`.\n\n**Repo not bound yet?** After the server is up, run **`plandesk connect`** from\nthe repo root — it writes `.plandesk\u002Fconfig.json` and wires MCP. That is setup,\nnot planning; do not scaffold a second project if the repo is already bound.\n\n**MCP tools still missing after the server is up?** The MCP client loads tools at\n**session start** — ask the user to start a **new** agent session (or re-add the\nMCP server) once serve and connect are done.\n\n## Referring to board items\n\n**Refer to board items by name.** In anything a person reads — narration, comments,\nprogress events — name the task or document by its label, carrying the id inside\na link rather than in place of the name. `[Add priority as a first-class task field](\u003Curl>)`,\nnever `2bc337c1`. Ids are for tool calls; names are for people.\n\n## Resolving the project\n1. Read `.plandesk\u002Fconfig.json`.\n   - If `projectId` is present (v1 config), use it. Stop here — do not ask which project.\n   - If `workspaceId` is present (v2 config), the repo is **workspace-bound**.\n     `list_projects` returns only that workspace's projects. Resolve the target\n     project within the bound workspace. A project id outside the workspace is\n     not found.\n2. (Fallback, only if no config file) check conversation history for a named\n   project; then the working-directory name for a close match; then an explicit\n   name in the request.\n3. Single clear match → act directly. Multiple → show options and ask.\n   None → say so and ask.\n\n## Standing up a plan\n\nWhen asked to plan a project, feature, or RFC from scratch, prefer the one-shot\n`scaffold_project_from_plan` tool over many separate calls: it creates the\nproject, all tasks, their dependency edges, and linked spec documents in a\nsingle atomic call. Give each task (and any document you need to reference) a\nstable `key` (a slug you choose) and reference those keys in `edges`\n(`from`\u002F`to`) and in a document's `link_to` (a single key or a list of\ntask and document keys). The server resolves keys to real IDs and returns a\n`key_to_id` map covering both tasks and keyed documents.\n\n`scaffold_project_from_plan` works for both a new and an existing project: omit\n`project_id` and pass `name` to create a new one; pass `project_id` (e.g. the\nrepo-bound project from `.plandesk\u002Fconfig.json`) to scaffold the whole plan\natomically INTO that project. When the repo is already bound, pass\n`project_id` — creating a new project duplicates the bound one. Reach for the\ngranular `create_task`\u002F`create_edge`\u002F`create_document` tools only for a\none-off single addition, not for standing up a whole plan.\n\n## Task creation\n- Labels: short, imperative, outcome-focused — \"Verb Noun in Location\".\n  The label must make clear what \"done\" looks like.\n- Status at creation: `todo` (defined, ready) or `scope` (needs design\u002Fsizing).\n  Never create a task as `in_progress`.\n- **Build-contract depth.** Non-trivial tasks are build contracts, not tickets —\n  a worker executes the task start-to-done without re-reading any parent RFC,\n  PRD, or ticket. The description REQUIRES:\n  1. **Problem** — what must change; reference class\u002Fmethod names, never line numbers.\n  2. **Action Items** — specific, independently completable steps.\n  3. **Interfaces** — the concrete signatures\u002Ftypes\u002FAPI\u002FCLI surface this task\n     introduces or touches, named exactly (function signatures, endpoint\n     shapes, CLI flags, config keys).\n  4. **Pseudocode** — control flow for any behavior that isn't obvious from\n     the interfaces alone. Skip only for a small, single-obvious-path edit.\n  5. **Validation contract** — the specific test, command, or observable\n     outcome that proves this task done; align it to the parent Goal's\n     `verification_surface` when the task belongs to one.\n  6. **Non-goals** — the adjacent work this task explicitly does not do, and\n     where it lands instead (an edge or another task). Required when the task\n     borders other planned work or its label invites a broader reading; skip\n     only when the boundary is unambiguous. A worker with no boundary stated\n     will helpfully build past it.\n  7. **References** — linked documents or related tasks.\n- Descriptions stay consumer-clean: no internal RFC\u002FPRD\u002Fticket references\n  embedded in the text — link a Plan Desk document instead of citing an\n  external ticket ID inline.\n- Before creating, check for an existing task covering the same work; prefer\n  updating\u002Flinking over duplicating.\n- Creating several tasks: space ~200 units apart, group related, place blockers\n  above what they block.\n\n## Documents\n- Write bodies as well-structured Markdown — `##` headings, bullet lists,\n  fenced code blocks, and blank lines between paragraphs. Bodies render as\n  rich text in the UI; a wall of unbroken text is unreadable for people.\n- Title prefix: `Investigation:`, `Scope:`, `Design:`, `Decision:`, or `Fix:`.\n  `Design:` proposes something to be built; `Decision:` records a call already\n  made (context, what was chosen, what follows) and needs no build contract.\n- Include a `Status:` line near the top: \"Ready to implement\",\n  \"Open — requires investigation\", \"Ready for review\", or \"Superseded\".\n- A document can link to many tasks and to other documents. Prefer\n  `link_to` as a list (task and document keys or ids) rather than a single\n  primary only; `get_document` returns `links` and `backlinks` so related\n  specs can be walked without a second query.\n- After creating a document, link it to every task it covers (and any parent\n  or related specs) in the same step.\n\n## Notes\n\nNotes are free-form working notes scoped to the project — findings, context,\nscratch reasoning, anything worth referring back to later. They are distinct\nfrom documents: notes are not linked to tasks, not nested, and not part of the\nformal plan or client share. Reach for a note when the content is for working\nmemory rather than a deliverable spec.\n\n- `list_notes` (by `project_id`) to see existing notes; `get_note` to read one.\n- `create_note` to capture a new note (give it a clear `title`); `update_note`\n  to revise the title or body.\n- Write bodies as well-structured Markdown — `##` headings, bullet lists, blank\n  lines between paragraphs. Bodies render as rich text in the UI.\n\n## Files\n\n- Use `attach_file` to upload an image and get back `{ file_id, url }`; embed it\n  in a document, task, or comment body as `![alt](url)` instead of inlining\n  base64 — keeps bodies lean. `mime` defaults to `image\u002Fpng`.\n\n## Edges\n- Connect related tasks and documents with labeled edges keyed on\n  `from_type`\u002F`from_id`\u002F`to_type`\u002F`to_id` (`task` or `document`).\n- **The vocabulary is split by endpoint pair. Use the half that matches.**\n\n  | endpoint pair | labels |\n  | --- | --- |\n  | task → task | `blocks`, `depends_on`, `unblocks`, `feeds`, `clarifies`, `enables`, `supports`, `relates` |\n  | document → task | `documents` |\n  | document → document | `references`, `supersedes`, `extends` |\n\n  `references`, `supersedes`, `extends` and `documents` are **document-scoped**.\n  Reaching for one of them to link two tasks is the common mistake: the closest\n  task→task label is almost always `relates` (loose association) or `depends_on`\n  (real sequencing). The label column is free text, so a wrong label is stored\n  without complaint and only shows up as a mislabelled edge on the canvas.\n- When you discover a new dependency while working, add the edge.\n\n## Executing the plan\n\nFollow `.agents\u002Ffactory\u002Ffactory.md` for the per-item contract (pull → red gate →\ndelegate → prove → gate → ship, with the agent-run lifecycle). The loop below is\nthe tool-level default it builds on.\n\nTo work a plan, do not guess what is next — call `get_next_task`. It returns the\nnext actionable `todo` task (one whose prerequisite tasks are all `done`), plus\nthe `blocked` tasks and what each is `waiting_on`. The loop:\n\n1. `get_next_task` → the next unblocked task.\n2. Read its linked document before changing anything.\n3. `update_task` to `in_progress`, do the work, then `update_task` to `done`.\n4. Repeat until `get_next_task` reports no actionable task.\n\nEdge direction drives sequencing: `from → to` with most labels (`blocks`,\n`feeds`, `enables`, …) means `from` finishes before `to`; `depends_on` reverses\nit (`from depends_on to` ⇒ `to` first). Add edges so dependencies sequence right.\n\n**Track the moves within a task with the harness task tools** — when a task needs more than one verifiable step, decompose it with `TaskCreate` \u002F `TaskList` \u002F `TaskUpdate`: one sub-task per move, `in_progress` when you start it, `completed` the moment its done-condition holds. The board decides what is next (durable, survives compaction via the F1 hooks); harness tasks are per-session scratchpad for the moves inside the current item — re-derive from the board after a compaction, never trust the harness list as the source of truth.\n\n**On an unattended run, a progress report is not a stopping point.** Post the\ncheckpoint and keep working in the same turn; end the turn only at a lane\ngate, a genuine blocker, or an empty frontier. Never end by soliciting\ncontinuation — \"say continue\", \"shall I proceed\", \"ready for the next box?\" —\nthat converts a surfacing moment into a permission request and silently kills\nthe run the wrapper existed to keep moving (pacing and wakeup mechanics:\n`plandesk-timebox`; the posture: `plandesk-autonomy`).\n\n## Keeping the board true\n\nThe board is only useful when it matches reality. Two standing rules:\n\n- **Atomic status updates** — flip a task's status in the same step as the work\n  event it reflects, never in a batch at the end: `update_task` to\n  `in_progress` the moment you start, `done` the moment the work is verified,\n  back to `todo` (or `scope`) if you stop without finishing. At any instant the\n  board should show what is actually happening right now.\n- **Reconcile against reality** — at the start of a session, after any long\n  break, and before reporting a plan finished, sweep the whole board against\n  the actual state of the work: recent commits, the working tree, what is\n  verifiably built and shipped. Fix every mismatch with `update_task` — work\n  that is done but not `done`, tasks `in_progress` that nobody is working on,\n  planned tasks the code shows are already built or obsolete. Note non-obvious\n  corrections in the task description or a document comment so the drift and\n  its fix are traceable.\n\n## Comments\n\nPeople leave comments on documents in the UI to give you feedback or direction.\n\n- At the start of a session, and after finishing a task, pull open feedback with\n  `list_comments` (by `project_id`, optionally one `document_id`). By default you\n  get unresolved comments.\n- Address each comment, then `resolve_comment` to close the loop — resolving\n  updates the commenter's UI live.\n- Use `add_comment` to leave a suggestion or question on a document for a person.\n- People can also annotate **files you wrote** (not just workspace documents) — see\n  the next section. Pull those with `list_artifact_comments` (by `project_id` +\n  `artifact_id`), address them, and `resolve_comment` the same way.\n\n## Reviewing files (the CLI previewer)\n\nBeyond the workspace UI, a person can open any Markdown or HTML file you produced\nin a local previewer and annotate it:\n\n    plandesk \u003Cfile.md>        # or: plandesk *.md, plandesk open \u003Cpaths...>\n\nThey highlight text and attach notes. In a connected repo those annotations are\nstored as `artifact` comments in this project's board, so you read and resolve\nthem over MCP exactly like document comments — `list_artifact_comments` to pull,\n`resolve_comment` to close. This closes the \"you write a file → the human marks it\nup → you fix it\" loop on files, not just documents. When you finish a deliverable\nfile, tell the person they can review it with `plandesk \u003Cthat file>`.\n\n## Artifacts\n\nAn artifact is a stored agent deliverable — a report, an RFC, an HTML diagram —\nkept in the workspace (not a file on disk).\n\n- `create_artifact` to store one (`title`, `content`, optional `kind`:\n  `markdown` or `html`); the returned `artifact_id` is exactly the id\n  `list_artifact_comments`\u002F`add_artifact_comment` use, so a human's annotation\n  and your `update_artifact` revision close the loop without a file on disk.\n- `get_artifact` to read one back before revising; `list_artifacts` to check\n  what a project already has before creating a duplicate.\n- Prefer an artifact over a Note or Document when the deliverable is a finished\n  piece meant to be read and marked up (a report, a spec, a diagram) rather than\n  tracked plan state. `artifact_id` is opaque — pass through what `create_artifact`\n  or `list_artifact_comments` gave you, never construct it.\n\n## Sharing\n\n- `create_share_link` hands a delegated worker or sub-agent full context for one\n  task or document without giving it MCP access: pass exactly one of `task_id`\u002F\n  `document_id`, get back `{ url, markdown_url, expires_at }`. Put\n  `Context: \u003Cmarkdown_url>` in the worker's brief instead of pasting context —\n  `markdown_url` returns the resource as agent-ready Markdown with linked docs\n  inlined and embedded images fetchable.\n- `expires` defaults to `24h`; pass `never` only when the link truly needs to\n  outlive a session — it stays public to anyone who has it.\n\n## Prototypes\n\nA **prototype** is a named flow of **screens** with one declared viewport.\nA project may have many prototypes. A screen is an `html` artifact with a\n`prototype_id` — that nullable column is the line between a report and a\nscreen.\n\n### Create\n\n1. `create_prototype(project_id, name, viewport_width, viewport_height)` —\n   also creates a folder and a flow document edged to the prototype.\n2. `create_artifact(…, kind: 'html', prototype_id)` to add a screen.\n   **Never send `x`\u002F`y`** — the system lays screens out from the link graph.\n3. Prefer `plandesk push-artifact \u003Cfile.html> [--prototype \u003Cname>]` over\n   inline `content` — inline content means re-emitting the whole document\n   on every revision. Preview locally with `plandesk \u003Cfile.html>` first.\n4. Move or copy a screen between prototypes in the same project with\n   `move_screen` \u002F `copy_screen` (or the canvas Move \u002F Copy control).\n   Copy produces a **new** artifact; comments do not travel.\n\n### `plandesk:\u002F\u002F` scheme\n\n| Form | Resolution |\n| --- | --- |\n| `plandesk:\u002F\u002Fartifact\u002F\u003Cuuid>` | Pin to exactly this screen |\n| `plandesk:\u002F\u002Fartifact\u002F\u003Ctitle>` | Case-insensitive; **this prototype first, then project-wide**. Zero or multiple matches → visibly broken (`to_artifact_id: null`) |\n| `plandesk:\u002F\u002Ffile\u002F\u003Cuuid>` | An attached project file (images). Never inline base64 |\n| `plandesk:\u002F\u002Flib\u002F\u003Cname>@\u003Cversion>` | Curated library from the manifest (mermaid, Chart.js). Outside the manifest is refused at write |\n\nTitle resolution is what makes a copied flow wire itself to its own screens\nwithout rewriting markup. A link built by JavaScript at runtime still\nnavigates but draws no line on the canvas.\n\n### Network is dead\n\nExternal scripts, stylesheets, fonts, and `fetch` are **blocked**, not\ndegraded — a screen that reaches for a CDN renders broken. Everything is\ninline, an attached `plandesk:\u002F\u002Ffile\u002F`, or a curated `plandesk:\u002F\u002Flib\u002F`.\n\n### Authoring skill\n\nFlow-first conventions, mandatory unhappy paths, and the full authoring\nloop live in `.agents\u002Fskills\u002Fplandesk-prototype\u002FSKILL.md` (and its\n`references\u002F`). Read that skill when building or revising a prototype;\nthis section is the scheme and surface, not a second copy of those rules.\n\n## Agent runs\n1. Start a run at the beginning of any multi-step Plan Desk operation.\n2. Record progress after each meaningful unit of work (not every tool call).\n3. Complete or fail the run before the session ends — never leave one open.\n\n## Never do\n\nThe highest-consequence guardrails — each section above states the positive\nform; these are the ones worth a hard, consolidated reminder:\n\n- Guess or hardcode IDs.\n- End a turn on an unattended run by asking to continue — checkpoint, then\n  keep going; stop only at a gate, a blocker, or an empty frontier (see\n  \"Executing the plan\").\n- Delete tasks, documents, notes, or artifacts — there is no delete tool by\n  design; resolve, supersede, or set status instead.\n- Batch status updates for the end of a session — statuses flip atomically as\n  the work happens (see \"Keeping the board true\").\n- Inline large images as base64 in a document\u002Ftask\u002Fcomment body — `attach_file`\n  and embed the returned `url` instead.\n\n\n","# Plan Desk MCP Instructions\n\n## Setup\nAt the start of any session where Plan Desk may be used, list the available\nPlan Desk MCP tools before calling them. Do not assume tool names or parameter\nshapes; if expected tools are missing, say so before proceeding.\n\nNever guess or hardcode a Plan Desk project, task, or document ID. Resolve the\nproject as below; look up tasks\u002Fdocuments by name and use the returned ID.\n\nNew to this repo? Run `plandesk onboard` for the full Plan Desk + Factory model\n(how the board works, the execution loop, delegation, and the MCP tools).\n\n### Server must be running (machine-global — not the harness)\n\nMCP tools talk to a **Plan Desk server on the user's machine** (`plandesk serve`).\nThat process must outlive the agent session. **Do not** start it with the harness\nShell tool's `run_in_background` — that ties the server to this chat and it dies\nwhen the session ends. Start it **globally on the machine**: a detached OS\nprocess the user (or a one-shot setup shell) owns.\n\n**Check first** (from the repo root):\n\n```bash\ncurl -fsS \"$(plandesk url)\u002Fapi\u002Fv1\u002Fprojects\" >\u002Fdev\u002Fnull 2>&1 \\\n  && echo \"Plan Desk server is up\" \\\n  || echo \"No server — start one (below)\"\n```\n\n`plandesk status` also reports whether a board on this machine is running (by\nPID liveness, not just a stale lock file).\n\n**If down, start detached** (survives after the agent's shell exits):\n\n```bash\nplandesk serve >>\u002Ftmp\u002Fplandesk.log 2>&1 &\ndisown\nsleep 2\ncurl -fsS \"$(plandesk url)\u002Fapi\u002Fv1\u002Fprojects\" >\u002Fdev\u002Fnull 2>&1 \\\n  && echo \"server up\" \\\n  || (echo \"not ready — check \u002Ftmp\u002Fplandesk.log\"; tail -20 \u002Ftmp\u002Fplandesk.log)\n```\n\nTell the user the server is running in the background and that **`plandesk serve`\nin a dedicated terminal** is better for day-to-day use (logs stay visible; no\ndependency on this session). There is no `plandesk start` — the command is\n**`plandesk serve`**.\n\n**First time on this machine** (before serve will work): `npm i -g @plandesk\u002Fcli@latest`\n(Node ≥ 20), then `plandesk init` (idempotent — creates `~\u002F.plandesk` unless the\nrepo already has a local `.plandesk\u002Fworkspace.db`). Full walkthrough:\n`plandesk onboard`, or fetch `https:\u002F\u002Fplandesk.asyncdot.com\u002Fstart.md`.\n\n**Repo not bound yet?** After the server is up, run **`plandesk connect`** from\nthe repo root — it writes `.plandesk\u002Fconfig.json` and wires MCP. That is setup,\nnot planning; do not scaffold a second project if the repo is already bound.\n\n**MCP tools still missing after the server is up?** The MCP client loads tools at\n**session start** — ask the user to start a **new** agent session (or re-add the\nMCP server) once serve and connect are done.\n\n## Referring to board items\n\n**Refer to board items by name.** In anything a person reads — narration, comments,\nprogress events — name the task or document by its label, carrying the id inside\na link rather than in place of the name. `[Add priority as a first-class task field](\u003Curl>)`,\nnever `2bc337c1`. Ids are for tool calls; names are for people.\n\n## Resolving the project\n1. Read `.plandesk\u002Fconfig.json`.\n   - If `projectId` is present (v1 config), use it. Stop here — do not ask which project.\n   - If `workspaceId` is present (v2 config), the repo is **workspace-bound**.\n     `list_projects` returns only that workspace's projects. Resolve the target\n     project within the bound workspace. A project id outside the workspace is\n     not found.\n2. (Fallback, only if no config file) check conversation history for a named\n   project; then the working-directory name for a close match; then an explicit\n   name in the request.\n3. Single clear match → act directly. Multiple → show options and ask.\n   None → say so and ask.\n\n## Standing up a plan\n\nWhen asked to plan a project, feature, or RFC from scratch, prefer the one-shot\n`scaffold_project_from_plan` tool over many separate calls: it creates the\nproject, all tasks, their dependency edges, and linked spec documents in a\nsingle atomic call. Give each task (and any document you need to reference) a\nstable `key` (a slug you choose) and reference those keys in `edges`\n(`from`\u002F`to`) and in a document's `link_to` (a single key or a list of\ntask and document keys). The server resolves keys to real IDs and returns a\n`key_to_id` map covering both tasks and keyed documents.\n\n`scaffold_project_from_plan` works for both a new and an existing project: omit\n`project_id` and pass `name` to create a new one; pass `project_id` (e.g. the\nrepo-bound project from `.plandesk\u002Fconfig.json`) to scaffold the whole plan\natomically INTO that project. When the repo is already bound, pass\n`project_id` — creating a new project duplicates the bound one. Reach for the\ngranular `create_task`\u002F`create_edge`\u002F`create_document` tools only for a\none-off single addition, not for standing up a whole plan.\n\n## Task creation\n- Labels: short, imperative, outcome-focused — \"Verb Noun in Location\".\n  The label must make clear what \"done\" looks like.\n- Status at creation: `todo` (defined, ready) or `scope` (needs design\u002Fsizing).\n  Never create a task as `in_progress`.\n- **Build-contract depth.** Non-trivial tasks are build contracts, not tickets —\n  a worker executes the task start-to-done without re-reading any parent RFC,\n  PRD, or ticket. The description REQUIRES:\n  1. **Problem** — what must change; reference class\u002Fmethod names, never line numbers.\n  2. **Action Items** — specific, independently completable steps.\n  3. **Interfaces** — the concrete signatures\u002Ftypes\u002FAPI\u002FCLI surface this task\n     introduces or touches, named exactly (function signatures, endpoint\n     shapes, CLI flags, config keys).\n  4. **Pseudocode** — control flow for any behavior that isn't obvious from\n     the interfaces alone. Skip only for a small, single-obvious-path edit.\n  5. **Validation contract** — the specific test, command, or observable\n     outcome that proves this task done; align it to the parent Goal's\n     `verification_surface` when the task belongs to one.\n  6. **Non-goals** — the adjacent work this task explicitly does not do, and\n     where it lands instead (an edge or another task). Required when the task\n     borders other planned work or its label invites a broader reading; skip\n     only when the boundary is unambiguous. A worker with no boundary stated\n     will helpfully build past it.\n  7. **References** — linked documents or related tasks.\n- Descriptions stay consumer-clean: no internal RFC\u002FPRD\u002Fticket references\n  embedded in the text — link a Plan Desk document instead of citing an\n  external ticket ID inline.\n- Before creating, check for an existing task covering the same work; prefer\n  updating\u002Flinking over duplicating.\n- Creating several tasks: space ~200 units apart, group related, place blockers\n  above what they block.\n\n## Documents\n- Write bodies as well-structured Markdown — `##` headings, bullet lists,\n  fenced code blocks, and blank lines between paragraphs. Bodies render as\n  rich text in the UI; a wall of unbroken text is unreadable for people.\n- Title prefix: `Investigation:`, `Scope:`, `Design:`, `Decision:`, or `Fix:`.\n  `Design:` proposes something to be built; `Decision:` records a call already\n  made (context, what was chosen, what follows) and needs no build contract.\n- Include a `Status:` line near the top: \"Ready to implement\",\n  \"Open — requires investigation\", \"Ready for review\", or \"Superseded\".\n- A document can link to many tasks and to other documents. Prefer\n  `link_to` as a list (task and document keys or ids) rather than a single\n  primary only; `get_document` returns `links` and `backlinks` so related\n  specs can be walked without a second query.\n- After creating a document, link it to every task it covers (and any parent\n  or related specs) in the same step.\n\n## Notes\n\nNotes are free-form working notes scoped to the project — findings, context,\nscratch reasoning, anything worth referring back to later. They are distinct\nfrom documents: notes are not linked to tasks, not nested, and not part of the\nformal plan or client share. Reach for a note when the content is for working\nmemory rather than a deliverable spec.\n\n- `list_notes` (by `project_id`) to see existing notes; `get_note` to read one.\n- `create_note` to capture a new note (give it a clear `title`); `update_note`\n  to revise the title or body.\n- Write bodies as well-structured Markdown — `##` headings, bullet lists, blank\n  lines between paragraphs. Bodies render as rich text in the UI.\n\n## Files\n\n- Use `attach_file` to upload an image and get back `{ file_id, url }`; embed it\n  in a document, task, or comment body as `![alt](url)` instead of inlining\n  base64 — keeps bodies lean. `mime` defaults to `image\u002Fpng`.\n\n## Edges\n- Connect related tasks and documents with labeled edges keyed on\n  `from_type`\u002F`from_id`\u002F`to_type`\u002F`to_id` (`task` or `document`).\n- **The vocabulary is split by endpoint pair. Use the half that matches.**\n\n  | endpoint pair | labels |\n  | --- | --- |\n  | task → task | `blocks`, `depends_on`, `unblocks`, `feeds`, `clarifies`, `enables`, `supports`, `relates` |\n  | document → task | `documents` |\n  | document → document | `references`, `supersedes`, `extends` |\n\n  `references`, `supersedes`, `extends` and `documents` are **document-scoped**.\n  Reaching for one of them to link two tasks is the common mistake: the closest\n  task→task label is almost always `relates` (loose association) or `depends_on`\n  (real sequencing). The label column is free text, so a wrong label is stored\n  without complaint and only shows up as a mislabelled edge on the canvas.\n- When you discover a new dependency while working, add the edge.\n\n## Executing the plan\n\nFollow `.agents\u002Ffactory\u002Ffactory.md` for the per-item contract (pull → red gate →\ndelegate → prove → gate → ship, with the agent-run lifecycle). The loop below is\nthe tool-level default it builds on.\n\nTo work a plan, do not guess what is next — call `get_next_task`. It returns the\nnext actionable `todo` task (one whose prerequisite tasks are all `done`), plus\nthe `blocked` tasks and what each is `waiting_on`. The loop:\n\n1. `get_next_task` → the next unblocked task.\n2. Read its linked document before changing anything.\n3. `update_task` to `in_progress`, do the work, then `update_task` to `done`.\n4. Repeat until `get_next_task` reports no actionable task.\n\nEdge direction drives sequencing: `from → to` with most labels (`blocks`,\n`feeds`, `enables`, …) means `from` finishes before `to`; `depends_on` reverses\nit (`from depends_on to` ⇒ `to` first). Add edges so dependencies sequence right.\n\n**Track the moves within a task with the harness task tools** — when a task needs more than one verifiable step, decompose it with `TaskCreate` \u002F `TaskList` \u002F `TaskUpdate`: one sub-task per move, `in_progress` when you start it, `completed` the moment its done-condition holds. The board decides what is next (durable, survives compaction via the F1 hooks); harness tasks are per-session scratchpad for the moves inside the current item — re-derive from the board after a compaction, never trust the harness list as the source of truth.\n\n**On an unattended run, a progress report is not a stopping point.** Post the\ncheckpoint and keep working in the same turn; end the turn only at a lane\ngate, a genuine blocker, or an empty frontier. Never end by soliciting\ncontinuation — \"say continue\", \"shall I proceed\", \"ready for the next box?\" —\nthat converts a surfacing moment into a permission request and silently kills\nthe run the wrapper existed to keep moving (pacing and wakeup mechanics:\n`plandesk-timebox`; the posture: `plandesk-autonomy`).\n\n## Keeping the board true\n\nThe board is only useful when it matches reality. Two standing rules:\n\n- **Atomic status updates** — flip a task's status in the same step as the work\n  event it reflects, never in a batch at the end: `update_task` to\n  `in_progress` the moment you start, `done` the moment the work is verified,\n  back to `todo` (or `scope`) if you stop without finishing. At any instant the\n  board should show what is actually happening right now.\n- **Reconcile against reality** — at the start of a session, after any long\n  break, and before reporting a plan finished, sweep the whole board against\n  the actual state of the work: recent commits, the working tree, what is\n  verifiably built and shipped. Fix every mismatch with `update_task` — work\n  that is done but not `done`, tasks `in_progress` that nobody is working on,\n  planned tasks the code shows are already built or obsolete. Note non-obvious\n  corrections in the task description or a document comment so the drift and\n  its fix are traceable.\n\n## Comments\n\nPeople leave comments on documents in the UI to give you feedback or direction.\n\n- At the start of a session, and after finishing a task, pull open feedback with\n  `list_comments` (by `project_id`, optionally one `document_id`). By default you\n  get unresolved comments.\n- Address each comment, then `resolve_comment` to close the loop — resolving\n  updates the commenter's UI live.\n- Use `add_comment` to leave a suggestion or question on a document for a person.\n- People can also annotate **files you wrote** (not just workspace documents) — see\n  the next section. Pull those with `list_artifact_comments` (by `project_id` +\n  `artifact_id`), address them, and `resolve_comment` the same way.\n\n## Reviewing files (the CLI previewer)\n\nBeyond the workspace UI, a person can open any Markdown or HTML file you produced\nin a local previewer and annotate it:\n\n    plandesk \u003Cfile.md>        # or: plandesk *.md, plandesk open \u003Cpaths...>\n\nThey highlight text and attach notes. In a connected repo those annotations are\nstored as `artifact` comments in this project's board, so you read and resolve\nthem over MCP exactly like document comments — `list_artifact_comments` to pull,\n`resolve_comment` to close. This closes the \"you write a file → the human marks it\nup → you fix it\" loop on files, not just documents. When you finish a deliverable\nfile, tell the person they can review it with `plandesk \u003Cthat file>`.\n\n## Artifacts\n\nAn artifact is a stored agent deliverable — a report, an RFC, an HTML diagram —\nkept in the workspace (not a file on disk).\n\n- `create_artifact` to store one (`title`, `content`, optional `kind`:\n  `markdown` or `html`); the returned `artifact_id` is exactly the id\n  `list_artifact_comments`\u002F`add_artifact_comment` use, so a human's annotation\n  and your `update_artifact` revision close the loop without a file on disk.\n- `get_artifact` to read one back before revising; `list_artifacts` to check\n  what a project already has before creating a duplicate.\n- Prefer an artifact over a Note or Document when the deliverable is a finished\n  piece meant to be read and marked up (a report, a spec, a diagram) rather than\n  tracked plan state. `artifact_id` is opaque — pass through what `create_artifact`\n  or `list_artifact_comments` gave you, never construct it.\n\n## Sharing\n\n- `create_share_link` hands a delegated worker or sub-agent full context for one\n  task or document without giving it MCP access: pass exactly one of `task_id`\u002F\n  `document_id`, get back `{ url, markdown_url, expires_at }`. Put\n  `Context: \u003Cmarkdown_url>` in the worker's brief instead of pasting context —\n  `markdown_url` returns the resource as agent-ready Markdown with linked docs\n  inlined and embedded images fetchable.\n- `expires` defaults to `24h`; pass `never` only when the link truly needs to\n  outlive a session — it stays public to anyone who has it.\n\n## Prototypes\n\nA **prototype** is a named flow of **screens** with one declared viewport.\nA project may have many prototypes. A screen is an `html` artifact with a\n`prototype_id` — that nullable column is the line between a report and a\nscreen.\n\n### Create\n\n1. `create_prototype(project_id, name, viewport_width, viewport_height)` —\n   also creates a folder and a flow document edged to the prototype.\n2. `create_artifact(…, kind: 'html', prototype_id)` to add a screen.\n   **Never send `x`\u002F`y`** — the system lays screens out from the link graph.\n3. Prefer `plandesk push-artifact \u003Cfile.html> [--prototype \u003Cname>]` over\n   inline `content` — inline content means re-emitting the whole document\n   on every revision. Preview locally with `plandesk \u003Cfile.html>` first.\n4. Move or copy a screen between prototypes in the same project with\n   `move_screen` \u002F `copy_screen` (or the canvas Move \u002F Copy control).\n   Copy produces a **new** artifact; comments do not travel.\n\n### `plandesk:\u002F\u002F` scheme\n\n| Form | Resolution |\n| --- | --- |\n| `plandesk:\u002F\u002Fartifact\u002F\u003Cuuid>` | Pin to exactly this screen |\n| `plandesk:\u002F\u002Fartifact\u002F\u003Ctitle>` | Case-insensitive; **this prototype first, then project-wide**. Zero or multiple matches → visibly broken (`to_artifact_id: null`) |\n| `plandesk:\u002F\u002Ffile\u002F\u003Cuuid>` | An attached project file (images). Never inline base64 |\n| `plandesk:\u002F\u002Flib\u002F\u003Cname>@\u003Cversion>` | Curated library from the manifest (mermaid, Chart.js). Outside the manifest is refused at write |\n\nTitle resolution is what makes a copied flow wire itself to its own screens\nwithout rewriting markup. A link built by JavaScript at runtime still\nnavigates but draws no line on the canvas.\n\n### Network is dead\n\nExternal scripts, stylesheets, fonts, and `fetch` are **blocked**, not\ndegraded — a screen that reaches for a CDN renders broken. Everything is\ninline, an attached `plandesk:\u002F\u002Ffile\u002F`, or a curated `plandesk:\u002F\u002Flib\u002F`.\n\n### Authoring skill\n\nFlow-first conventions, mandatory unhappy paths, and the full authoring\nloop live in `.agents\u002Fskills\u002Fplandesk-prototype\u002FSKILL.md` (and its\n`references\u002F`). Read that skill when building or revising a prototype;\nthis section is the scheme and surface, not a second copy of those rules.\n\n## Agent runs\n1. Start a run at the beginning of any multi-step Plan Desk operation.\n2. Record progress after each meaningful unit of work (not every tool call).\n3. Complete or fail the run before the session ends — never leave one open.\n\n## Never do\n\nThe highest-consequence guardrails — each section above states the positive\nform; these are the ones worth a hard, consolidated reminder:\n\n- Guess or hardcode IDs.\n- End a turn on an unattended run by asking to continue — checkpoint, then\n  keep going; stop only at a gate, a blocker, or an empty frontier (see\n  \"Executing the plan\").\n- Delete tasks, documents, notes, or artifacts — there is no delete tool by\n  design; resolve, supersede, or set status instead.\n- Batch status updates for the end of a session — statuses flip atomically as\n  the work happens (see \"Keeping the board true\").\n- Inline large images as base64 in a document\u002Ftask\u002Fcomment body — `attach_file`\n  and embed the returned `url` instead.\n\n\n",{"name":5,"description":7},"main","dabc567fec8b44ddbbdd952a25aca59a3b5f2c37",".agents\u002Fskills\u002Fplandesk",0,"https:\u002F\u002Fgithub.com\u002Fkuralle\u002Fkuralle-agents","https:\u002F\u002Fagents.kuralle.com","https:\u002F\u002Fgithub.com\u002Fkuralle","Operator-grade voice AI + unified inbox. Home of @kuralle-agents — the open-source TypeScript framework for conversational agents, text and voice.","2026-08-25 15:28:47",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add kuralle\u002Fkuralle-agents --skill plandesk",{"tool":39,"command":40},"bunx","bunx skills add kuralle\u002Fkuralle-agents --skill plandesk",{"tool":42,"command":43},"pnpm","pnpm dlx skills add kuralle\u002Fkuralle-agents --skill plandesk","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkuralle\u002Fkuralle-agents\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fplandesk\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M755NPWVX10N22GJD578VS4X","kuralle-agents","Build, extend, or debug an agent with the Kuralle framework (`@kuralle-agents\u002F*`). Use this skill whenever the task touches `defineAgent`, `defineFlow`, `defineTool`, `createRuntime`, a `*.flow.json` definition, an agent folder compiled by `kuralle build`, a Kuralle skill or plugin, or a Kuralle deployment on Hono, Cloudflare Workers, or Next.js. Trigger it for any mention of Kuralle agents, flows, triage routing, durable tools, effect logs, session stores, agent handoffs, collect\u002Freply\u002Faction\u002Fdecide nodes, or the `kuralle` CLI — and also when the user asks to \"build an agent\", \"add a flow\", \"add a tool to the bot\", \"make the bot ask for X first\", or \"deploy the agent\", inside a repository that depends on `@kuralle-agents\u002Fcore`.","https:\u002F\u002Fgithub.com\u002Fkuralle\u002Fkuralle-agents\u002Fblob\u002Fmain\u002Fskills\u002Fkuralle-agents\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M755NNG5M3VDKH4KMXYS3TSJ","remotion-upgrade","Upgrade Remotion, and related packages","https:\u002F\u002Fgithub.com\u002Fkuralle\u002Fkuralle-agents\u002Fblob\u002Fmain\u002Fpackages\u002Fplugins\u002Ftest\u002Ffixtures\u002Fremotion-codex-plugin\u002Fskills\u002Fremotion-upgrade\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M755NMEVT5D0T8T8DS74MWB2","remotion-studio","Preview a Remotion video","https:\u002F\u002Fgithub.com\u002Fkuralle\u002Fkuralle-agents\u002Fblob\u002Fmain\u002Fpackages\u002Fplugins\u002Ftest\u002Ffixtures\u002Fremotion-codex-plugin\u002Fskills\u002Fremotion-studio\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M755NJ86P20N86R312JF0RC3","remotion-saas","Build an app with Remotion","https:\u002F\u002Fgithub.com\u002Fkuralle\u002Fkuralle-agents\u002Fblob\u002Fmain\u002Fpackages\u002Fplugins\u002Ftest\u002Ffixtures\u002Fremotion-codex-plugin\u002Fskills\u002Fremotion-saas\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M755NH81TCSPKSMY1BPXRWA5","remotion-render","Export a Remotion video","https:\u002F\u002Fgithub.com\u002Fkuralle\u002Fkuralle-agents\u002Fblob\u002Fmain\u002Fpackages\u002Fplugins\u002Ftest\u002Ffixtures\u002Fremotion-codex-plugin\u002Fskills\u002Fremotion-render\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M755NFTJK7KMH4C1C83HTAK3","remotion-multimedia","Interacting with Mediabunny","https:\u002F\u002Fgithub.com\u002Fkuralle\u002Fkuralle-agents\u002Fblob\u002Fmain\u002Fpackages\u002Fplugins\u002Ftest\u002Ffixtures\u002Fremotion-codex-plugin\u002Fskills\u002Fremotion-multimedia\u002FSKILL.md",[],[]]