# Sync

> Sync Lens artifacts in the current directory.

- Skill: `cyrusnuevodia/sync` (Agent Skill)
- Install (CLI): `npx skillmds@latest add cyrusnuevodia/sync`
- Raw SKILL.md: https://api.skillmd.com/api/skills/cyrusnuevodia/sync/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: cyrusnuevodia (https://skillmd.com/u/cyrusnuevodia)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/cyrusnuevodia/sync

---


Before running the CLI, verify:
1. `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`."
2. `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.

