Create and open a new desk in the workshop. Sets up the folder structure, initial journal, and desk identity so the next session that sits down finds the trail.
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-desk-open-bf67cf7dacbd ,按照其中的说明把「desk-open」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Create a new desk in the workshop with the standard structure.
Given a workshop directory and a desk name, create:
desks/<desk-name>/
journal.md # persistent memory — read at start, written at end
.signals/ # structured signal output (JSON) — dashboard reads this
Choose a name. Short, descriptive, kebab-case. The name is
how the operator and other desks refer to this desk.
Examples: security-scan, api-review, ops, cloud-workshop
Check if it already exists. If desks/<desk-name>/ already
has a journal.md, the desk is live — do not overwrite it.
Instead, resume it: read the journal and continue from where it
left off. If the operator explicitly wants a fresh start, they
must rename or archive the existing desk first.
Create the structure. Make the directory, initial journal, and signals folder:
desks/<desk-name>/journal.md
desks/<desk-name>/.signals/
Write the first journal entry. The journal starts with:
Announce it. Tell the operator what was created and what the desk's focus is.
This skill initializes storage — it does not launch a session. A desk becomes active when a Copilot session references its directory. The session workflow:
<desk-name> desk"desks/<desk-name>/journal.md to load priorssignal-write to emit signals
and desk-journal to persist state at the endThe desk identity comes from which journal is read, not from a persistent process. Desks are long-running in state (the journal carries forward), not in runtime (each session is independent).
# <Desk Name> — Journal
## <date> — Desk opened
- **Purpose:** <what this desk focuses on>
- **Scope:** <repos, areas, or work this desk covers>
- **Next step:** <what the first session should do>