park

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Park

Park

Output one line naming the user and computer and what this session is doing, then the command that resumes it. Report the work without continuing it or checking external services.
Read the username with
id -un
, the computer name with
hostname -s
, and the current working directory with
pwd
. Read the session ID and build the resume command for the agent running this skill, not for whichever variable happens to be set; a nested session can inherit its parent's variable.
AgentSession IDResume command
Codex
CODEX_THREAD_ID
codex resume <session ID>
Claude
CLAUDE_CODE_SESSION_ID
claude --resume <session ID>
Shell-quote the directory and session ID in the command. If the session ID is unavailable or the agent is not listed, state that instead of inventing a command or falling back to
--last
or
--continue
.
Copy the note to the clipboard exactly as output, through a quoted heredoc, with
pbcopy
on macOS, or
wl-copy
or
xclip -selection clipboard
elsewhere. If none is available, add one line after the note saying it was not copied.
Output only this note, without an outer code fence or additional commentary:
markdown
<username>@<computer name>: <topic and next step, under 15 words>

```sh
cd <absolute working directory> && <resume command>
```
输出一行,说明用户、计算机名称以及此会话正在做什么, 然后给出恢复该会话的命令。汇报当前工作,但不要继续推进, 也不要检查外部服务。
使用
id -un
读取用户名,使用
hostname -s
读取计算机名称,并使用
pwd
读取当前工作目录。读取会话 ID,并为运行此 skill 的 Agent 构建恢复命令,而不要使用碰巧已设置的变量;嵌套会话可能会继承 其父会话的变量。
Agent会话 ID恢复命令
Codex
CODEX_THREAD_ID
codex resume <session ID>
Claude
CLAUDE_CODE_SESSION_ID
claude --resume <session ID>
在命令中对目录和会话 ID 进行 shell 引用。如果会话 ID 不可用, 或者 Agent 不在列表中,请直接说明,不要虚构命令,也不要回退到
--last
或
--continue
。
通过带引号的 heredoc,将提示信息按输出原样复制到剪贴板:在 macOS 上 使用
pbcopy
,在其他系统上使用
wl-copy
或
xclip -selection clipboard
。如果这些工具均不可用,请在提示信息后 另加一行,说明内容未被复制。
仅输出以下提示信息,不要使用外层代码围栏,也不要添加额外说明:
markdown
<用户名>@<计算机名称>: <主题和下一步,少于 15 个词>

```sh
cd <绝对工作目录> && <恢复命令>
```