一键导入
sync
Sync Lens artifacts in the current directory.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Sync Lens artifacts in the current directory.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Append a new lens to lens.yml and generate its initial content.
Make the codebase match the lenses via Claude Code plan mode.
Reflect code changes back into the lens files.
Show the current Lens status for this directory.
Initialize a Lens setup in the current directory. With no description argument, surveys the repo (like Claude's /init) to propose a template and draft the intent; with a description argument, passes through to the CLI verbatim.
Advance refs/lens/synced or refs/lens/applied to HEAD.
| name | sync |
| description | Sync Lens artifacts in the current directory. |
| allowed-tools | Bash(lens:*) |
Before running the CLI, verify:
lens binary is on PATH. If command -v lens returns non-zero, tell the user: "lens CLI not found. Install with npm i -g lens-engine."lens.yml exists (use Bash tool to test -f lens.yml). If not, tell the user: "No lens.yml found. Run /lens:init first."Then run (passing arguments through verbatim):
lens sync $ARGUMENTS
Stream the CLI's stdout/stderr to the user. If it exits non-zero, surface the error clearly.