Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/agentlas-ai/agentlas-desktop/url-to-codenpx skills add agentlas-ai/agentlas-desktop --skill url-to-codegit clone --depth 1 https://github.com/agentlas-ai/agentlas-desktopWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/agentlas-ai/agentlas-desktop/url-to-code)<a href="https://agentmods.dev/skills/agentlas-ai/agentlas-desktop/url-to-code"><img src="https://agentmods.dev/badge/skills/agentlas-ai/agentlas-desktop/url-to-code.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00032 | $0.00428 |
| Opus 5 | $0.00016 | $0.00214 |
| Sonnet 5 | $0.00006 | $0.00086 |
| Haiku 4.5 | $0.00003 | $0.00043 |
Grade A, and why
url-to-code scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Skill Purpose
Faithfully captures and reproduces the visual appearance, styling tokens, asset hierarchy, and interactions of a live URL into a local runnable frontend prototype.
Preconditions
- The user must supply a target URL and confirm permission to recreate the site.
- Browser automation tools (
@agentlas-browseror@playwright) must be available. - If the user requests a redesign or new style for a URL, redirect to
$get-context→$ideate.
Steps
- Full-Page & Multi-Viewport Capture:
- Navigate to the source URL and perform top-to-bottom captures across desktop and mobile viewports.
- Extract DOM structure, typography, color palettes, spacing metrics, and responsive breakpoints.
- Harvest Assets & Interactions:
- Download or map image assets, logos, fonts, and icons into the local project bundle (avoid hotlinking external assets).
- Test and document states for menus, modals, dropdowns, tabs, and interactive controls.
- Construct Prototype Codebase:
- Write clean, modular frontend code faithfully replicating the captured design.
- Local Runtime & Visual QA (
$design-qa):- Start the local preview server and capture rendered screenshots.
- Run side-by-side comparison against the original site captures to eliminate visual regressions.
- Handoff: Verify
design-qa.mdreportsfinal result: passed, keep the local server running, and present the prototype.
Outputs
- Complete standalone local prototype codebase replicating the source website.
- Localized asset files and project
design-qa.mdverification report.
Verification
- Validate visual correspondence between the live URL capture and the local prototype rendering.
- Confirm zero reliance on external hotlinked assets.
- Verify that
design-qa.mdconcludes withfinal result: passed.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 36 lines · 32 tokens per session scan A a48a77034d48
url-to-code is a skill published in the GitHub repository agentlas-ai/agentlas-desktop (5 stars, last pushed yesterday), licensed Apache-2.0. It adds 32 tokens to every session and 428 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
shadcn
Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for…
accessibility
Primary accessibility skill for VS Code. REQUIRED for new feature and contribution work, and also applies to updates of existing UI. Covers accessibility help dialogs, accessible views, verbosity settings, signals, ARIA announcements, keyboard navigation, and ARIA labels/roles.
frame-macos-notification
拟真 macOS 通知 banner + app icon + 标题正文, 适合 video overlay / 产品发布预告.
visualize
Render a polished visual inline in the chat as part of your answer — a diagram, a chart, an interactive explainer, or a UI mockup. Load it proactively whenever an explanation would land better as a picture than as prose. Do not wait to be asked.
gui-settings-ui
GUI desktop app only. How to build a Settings page in the Warp client (app/src/settingsview) so its widgets and settings search behave correctly — picking a PageType, deciding whether a heading belongs in the page-title slot or inside a widget, gating a widget, and scoping searchterms per widget. Use when adding or…
figma-code-connect-components
Connects Figma design components to code components using Code Connect mapping tools. Use when user says "code connect", "connect this component to code", "map this component", "link component to code", "create code connect mapping", or wants to establish mappings between Figma designs and code implementations. For…