بنقرة واحدة
add
Append a new lens to lens.yml and generate its initial content.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Append a new lens to lens.yml and generate its initial content.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
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.
Sync Lens artifacts in the current 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 | add |
| description | Append a new lens to lens.yml and generate its initial content. |
| allowed-tools | Bash(lens:*) |
| argument-hint | <name> --description "<text>" [--path <path>] |
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."The CLI requires <name> and --description "<text>"; it will exit non-zero with a clear error if either is missing. Run (passing arguments through verbatim):
lens add $ARGUMENTS
Stream the CLI's stdout/stderr to the user. If it exits non-zero, surface the error clearly.