argent-lens
Propose multiple visual design variants for on-screen elements and let the human pick in the Argent Lens window
Install / Use
npx skills add software-mansion/argent --skill argent-lensInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
AutomationSupported Platforms
Our assessment of argent-lens
argent-lens scores 80/100 on our quality scale, 2406th of 2,730 Automation skills we index.
Its SKILL.md is 4.9 KB long, well organised into 8 sections and no code examples: a solid amount of guidance for an agent.
With 3,226 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 4 days ago, so argent-lens is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-11-27. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
argent-lens compared with similar skills
All 4 of these similar skills score higher than argent-lens; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| argent-lens (this skill)by software-mansion | 80 | 3.2k | 4d ago | SKILL.md |
| taste-skillby Leonxlnx | 100 | 122.3k | 1d ago | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 115.4k | 3d ago | CLAUDE.md |
| archifyby tt-a1i | 100 | 101.0k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 82.6k | today | CLAUDE.md |
Frequently asked questions
- How do I install argent-lens?
- Run
npx skills add software-mansion/argent --skill argent-lens. The install tabs above show the steps for each supported agent. - Which AI agents does argent-lens work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is argent-lens safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is argent-lens still maintained?
- The repository was last updated 4 days ago, so argent-lens is actively maintained.
Skill content
View source on GitHubname: argent-lens description: Propose multiple visual design variants for on-screen elements and let the human pick in the Argent Lens window. Use when the user asks for design alternatives / options / A-B choices for a screen or component, or any time you have produced more than one candidate look for an element and want a human decision before committing.
Prerequisite: feature flag. This workflow is gated behind the
argent-lensflag (off by default). Runargent enable argent-lensonce before using it. Ifpropose_variantcomes back not-found, the flag is off; enable it and retry.
1. Overview
You implement several candidate designs, capture each one running on the device, and stage them with propose_variant (non-blocking, once per variant). The Argent Lens window opens on its own and shows each element as a card beside the live device stream; the human picks per element, may pin comments, and presses Complete. await_user_selection is the single blocking call that returns their decision. Both tools' descriptions cover their parameters and return shapes.
Resolve a simulator/emulator first (argent-ios-simulator-setup / argent-android-emulator-setup) and, for React Native, argent-react-native-app-workflow to run the app and reload the bundle.
2. Workflow
Step 0: Plan the variants
Decide, before touching code, exactly which elements you are redesigning and the distinct variants for each. Write them down (e.g. "Search field: Filled / Outlined / Pill", "Primary CTA: Solid / Gradient"). Each variant must be a single, self-contained change you can apply, screenshot, and revert independently. Vague or overlapping variants produce useless proposals.
Step 1: Get a precise matcher
For each element, run describe on its screen and read its exact identifier / label / role. Prefer match: { by: "identifier", … } (stable testID), then an exact label; the default text match is fine only when the element's visible text is unique. A wrong match makes the card point at the wrong element or float unanchored.
Step 2: For each variant: build → navigate → screenshot → propose → revert
- Build the variant in code.
- Apply it on the device. Reload the RN bundle (
debugger-reload-metro) or rebuild as needed so the running app shows this variant. - Navigate to it (
argent-device-interact): a screenshot is only meaningful if the element is on screen. - Screenshot. Call
screenshotand pass the returned path straight through asvariant.previewImage. NEVER hand-crop, resize, re-encode, or copy the screenshot to another folder: that double-crops against the preview window's own cropping and writes the image where the server won't serve it ("No preview"). If you suspect the variant didn't apply (no visible change vs. the previous capture), compare with the previous path (shasum -a 256): byte-identical captures mean the variant is not on screen yet. Fix that; never propose anyway. - Propose with
element,match,udid(the device you captured on) andpreviewImage, plus asummaryandcode/filePathwhen useful. The tool auto-captures the crop frame by describing the device at propose time, so propose right after the screenshot, while the variant is still on screen. Passvariant.frameonly to override that, e.g. when the element can't stay on screen at propose time. - Revert the change before building the next variant.
Step 3: Await the human's decision
After every variant for every element is staged, call await_user_selection once. A pending result is normal: the proposals stay live, call it again. In an argent lens session that tool is hidden: end your turn instead, and the user's choice arrives as a message.
Step 4: Apply the outcome
Implement the chosen variant for every selected element, treat every annotation and the global comment as a change request, and report what you applied and what was skipped. If the human commented but skipped a variant, the comment still matters; act on it.
3. Rules
- One variant = one real, distinct screenshot. Every
previewImagemust show that variant actually running on the device, captured after it was applied: no mockups, no un-built ideas, never the same path (or byte-identical captures) for two variants. If you can't produce visibly different captures (the app is read-only, accessibility is broken so you can't navigate, the bundle won't hot-reload), STOP and tell the user instead of staging duplicates. - At least two variants per element. If you only have one look for an element, produce a real alternative or don't propose that element at all; a lone variant isn't a choice.
- One variant on screen at a time. Apply → screenshot → propose → revert, so screenshots never bleed together.
- Re-proposing starts a fresh round. Calling
propose_variantafter a round was consumed begins the next round and clears the previous round's elements; stage a full set each round.
Related Skills
taste-skill
122.3kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
115.4kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
archify
101.0kTurn any idea, plan, or codebase into an interactive diagram or one-page answer: 10 diagram types, Architecture Diagnosis, Story video and PR walkthroughs. An Agent Skill for Claude Code, Codex, Cursor and more.
ruflo
82.6k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
