name: remotelab-capture
description: Save screenshots, screen recordings, and similar media capture outputs to D:\OneDrive\Obsidian 笔记\Obsidian\RemoteLab by default. Use when the user asks Codex to take a screenshot, capture a window or region, record the screen, or otherwise produce a visual artifact that should be kept as a file unless the user explicitly provides a different save path.
RemoteLab Capture
Use D:\OneDrive\Obsidian 笔记\Obsidian\RemoteLab as the default save directory for user-facing capture artifacts.
Honor an explicit user path over this default. Keep temp-only captures in temp when the file is created only for Codex's internal inspection and the user did not ask to keep it.
Default Path Rules
Apply these rules in order:
- If the user gives a save path or filename, use it.
- If the user asks for a screenshot, recording, export, or other artifact they may want to keep, save it under
D:\OneDrive\Obsidian 笔记\Obsidian\RemoteLab. - If Codex creates a capture only to inspect something transient and the user did not ask for the file itself, a temp path is acceptable.
- Before saving, ensure the
RemoteLabdirectory exists. Create it if needed.
File Naming
Use clear timestamped filenames so repeated runs do not overwrite earlier files.
Preferred patterns:
- Screenshot:
screenshot-YYYYMMDD-HHmmss.png - Window or region screenshot:
window-<label>-YYYYMMDD-HHmmss.pngorregion-YYYYMMDD-HHmmss.png - Screen recording:
recording-YYYYMMDD-HHmmss.mp4 - Animated capture:
capture-YYYYMMDD-HHmmss.gif
Sanitize labels so filenames remain Windows-safe. Avoid spaces at the end of names and remove characters such as <>:"/\|?*.
Execution Guidance
Prefer the most specific capture tool already available for the task:
- Use browser or app automation tooling when it can capture exactly what is needed.
- Use the
screenshotskill for OS-level screenshots. - Use any recording-capable local workflow or script when the user asks for a video capture.
When invoking a tool or script that supports an output path, pass a path inside D:\OneDrive\Obsidian 笔记\Obsidian\RemoteLab unless the user specified a different path.
Always report the final saved path back to the user.
Example Requests
- "帮我截个图"
- "录一下这个窗口的操作过程"
- "把当前页面保存成截图,回头我要写笔记"
- "截取这个区域并把文件留给我"
In these cases, default the output file to D:\OneDrive\Obsidian 笔记\Obsidian\RemoteLab.