npm.io
0.1.0-alpha.0 • Published 3d agoCLI

yourlandingsucks

Licence
Apache-2.0
Version
0.1.0-alpha.0
Deps
3
Size
372 kB
Vulns
0
Weekly
0

YourLandingSucks

CI License: Apache-2.0

Your website is public. Its failure modes should be, too.

YourLandingSucks (yls) gives your coding agent a deterministic browser-audit, monitoring, issue, and verification layer for every public site attached to a project. The agent supplies the intelligence; YLS supplies reproducible evidence and guardrails. No separate model account or model API key is required.

Why it exists

Every public site needs an explicit description of what it is for, whom it serves, which journeys matter, and which pages are in or out of scope. That is the starting point for all sites, not a fallback for products with little traffic.

YLS then adapts the strength of its conclusions to the evidence available:

  • ready: establish the site's scope, mechanics, accessibility, performance, critical journeys, and measurement readiness;
  • listen: combine those invariants with behavioral signals without pretending they prove causality;
  • optimize: prepare and verify experiments after explicit traffic and conversion thresholds are met.

Traffic changes what can be concluded. It does not change whether the site must first be understood.

Install

Open your coding agent in the project you want to monitor and paste this entire prompt:

Install the exact public prerelease `yourlandingsucks@0.1.0-alpha.0` in this repository as a project-local development dependency. Run its project-local `yls agent install --json`, then read and follow `.agents/skills/yourlandingsucks/SKILL.md`. Inspect this repository and its deployment configuration to discover every public website it owns. Inspect each public site read-only and infer a separate safe scope, purpose, critical journeys, exclusions, monitoring schedule, and autonomy policy. Present one onboarding proposal grouped by site, clearly mark assumptions, and ask me only for decisions that cannot be safely inferred. Do not activate any site until I confirm its proposal. If recurring monitoring is requested after confirmation, prepare the external automation plan, ask before creating or changing that automation, register only an external automation that was actually created, run one safe heartbeat, and do not call monitoring active until its status is healthy. If the browser check fails, explain the required local browser download and ask before applying its remediation. Do not submit forms, deploy, push, export data, or make product changes during onboarding. Keep YLS commands, configuration, artifacts, and state internal; after onboarding I will manage it only with natural-language requests through my agent.

There is nothing to configure before pasting it. The agent installs the local tool and a durable project capability, proposes the sites and their rules, and asks the smallest useful set of questions. Site confirmation does not pretend to create a scheduler. When recurring monitoring is requested, the agent must create an external automation with separate permission, register its real ID, run a heartbeat, and verify that YLS reports it healthy. Fresh compatible agent sessions can then respond to ordinary requests such as “check my public pages,” “suggest three improvements,” or “watch this every weekday.”

What it feels like

This is the result of a blind fresh-session test against a deliberately broken four-page fixture. The agent received only:

Check this project's public pages, suggest up to three concrete improvements, and do not fix anything.

It audited desktop and mobile pages, changed no source files, and returned three prioritized recommendations: add accessible names to the hero image and pricing form, remove an unexpected background form submission, and repair a broken global-navigation route. Each recommendation included observed evidence, why it blocked the page goal, a source-aware change, authority, and verification conditions. It did not expose commands, YAML, or internal artifacts.

Agent compatibility

  • Codex and Agent-Skill/AGENTS.md-aware agents: durable discovery is forward-tested.
  • Other agents that honor AGENTS.md: expected to discover the same local capability; report incompatibilities as bugs.
  • Other shell-capable coding agents: the copy-paste onboarding works for the current session, but durable rediscovery is not claimed until that agent's instruction surface is tested.

Current V0

  • discovers same-origin public pages from sitemaps and rendered navigation;
  • supports several sites with separate scopes, goals, schedules, rules, and artifact histories;
  • renders desktop and mobile pages in a real browser;
  • checks HTTP behavior, redirects, runtime errors, failed requests, headings, forms, overflow, calls to action, accessibility, and synthetic performance;
  • keeps deterministic defects separate from heuristic risks, behavior signals, and experiment results;
  • turns findings into a bounded local issue queue and verifies fixes against a preview before closing them;
  • watches confirmed sites on cron schedules and reports route, title, heading, status, and finding changes when an external scheduler invokes the registered watch plan;
  • accepts optional aggregate analytics from a local snapshot or PostHog;
  • keeps telemetry off and exports sanitized feedback only after an explicit request.

The agent loop

project + public sites
          |
          v
 agent proposes scope and rules
          |
          v
       human confirms
          |
          v
 YLS captures evidence and issues
          |
          v
 agent changes one causal thing
          |
          v
 YLS verifies a preview
       /           \
   failed          passed
     |                |
 issue stays open   issue closes

Recurring monitoring uses the same loop. YLS decides what is due and records the evidence; an external agent automation or scheduler invokes the plan. YLS tracks its registration and heartbeat, while the coding agent interprets natural-language rules and stays inside the autonomy level confirmed for each site.

V0 limitations

  • This is a local CLI and Agent Skill, not a hosted SaaS or background daemon.
  • YLS does not create a scheduler by itself; the agent composes that workflow from the host's automation primitive after explicit permission.
  • Only Codex-style Agent Skill/AGENTS.md persistence is forward-tested today.
  • Heuristic recommendations and behavioral signals are hypotheses, not proven conversion lift.
  • Production deployment, form submission, paid resources, and feedback export always require separate authority.
  • The prerelease artifact and CLI schemas may change before 1.0.0.

Trust boundary

YLS audits public URLs and writes local artifacts. It does not need source-host, deployment, or model-provider credentials, and it never submits production forms. Raw runs may contain public copy, URLs, console output, and screenshots, so they stay ignored locally by default. See SECURITY.md for the complete boundary.

License

Apache-2.0. See LICENSE.

Keywords