webflow-browser-api

webflow-browser-api is a skill for Claude Code from 224-Industries/webflow-skills. It costs 50 tokens per session (839 once invoked), scanned A, original, MIT.

A JavaScript interface for Webflow Analyze and Optimize, available through the global wf object on sites where those features are enabled. Webflow is a website-building platform; Analyze and Optimize provide tracking, experiments, and personalization.

In plain words
What is it for?
Use it to allow or deny tracking, read consent choices, record experiment variations, set visitor attributes, and connect results to analytics tools.
Why use it?
It gives site code a defined way to manage tracking consent and send experiment or visitor data without building those connections from scratch.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the webflow-agent-skills plugin — 5 skills shipped together

Install

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.

agentmods
npx agentmods add skills/224-industries/webflow-skills/webflow-browser-api
Any agent
npx skills add 224-Industries/webflow-skills --skill webflow-browser-api
Clone the repo
git clone --depth 1 https://github.com/224-Industries/webflow-skills

Made for: Claude Code.

Or install webflow-agent-skills, the plugin that ships this one along with the rest of its 5 skills.

Wrote 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.

agentmods badge for webflow-browser-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/224-industries/webflow-skills/webflow-browser-api.svg)](https://agentmods.dev/skills/224-industries/webflow-skills/webflow-browser-api)
Your own site
<a href="https://agentmods.dev/skills/224-industries/webflow-skills/webflow-browser-api"><img src="https://agentmods.dev/badge/skills/224-industries/webflow-skills/webflow-browser-api.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 839 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.00839
Opus 5 $0.00025 $0.00419
Sonnet 5 $0.00010 $0.00168
Haiku 4.5 $0.00005 $0.00084

Measured 5d ago against content hash b7962368c832, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

webflow-browser-api 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 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/search_references.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/webflow-browser-api/SKILL.md · 78 lines

How it starts

The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Webflow Browser API

The Browser API is a JavaScript interface exposed via the global wf object on all Webflow sites with Analyze and Optimize enabled. It requires no manual installation. Use it to manage consent, track experiments, and personalize user experiences.

Key Concepts

  • Global wf object — Automatically available on all sites with Analyze or Optimize enabled
  • wf.ready() — All Browser API calls must be wrapped in this readiness callback. See references/wf-ready.md
  • Consent management — Three methods to manage tracking consent: getUserTrackingChoice(), allowUserTracking(), denyUserTracking()
  • Variations — Track experiment results via onVariationRecorded() and forward to analytics tools
  • Custom attributes — Set visitor attributes via setAttributes() for audience targeting and result filtering (Enterprise only)

API Methods

Method Description
wf.ready(callback) Execute code after the Browser API loads
wf.getUserTrackingChoice() Returns "allow", "deny", or "none"
wf.allowUserTracking(options?) Opt user into tracking
wf.denyUserTracking(options?) Opt user out of tracking
wf.onVariationRecorded(callback) Register a callback for variation events
wf.setAttributes(scope, attributes) Set custom visitor attributes

Important Notes

  • The Browser API is only available on sites with Webflow Analyze or Optimize enabled
  • Custom JavaScript attributes (setAttributes) are only available on Enterprise sites
  • Always wrap all API calls inside wf.ready() to prevent calls before initialization
  • Place scripts in <head> custom code for earliest possible execution

Reference Documentation

Each reference file includes YAML frontmatter with name, description, and tags for searchability. Use the search script in scripts/search_references.py to find relevant references.

Getting Started

Read the full file on GitHub · 78 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 5d ago First seen · 78 lines · 50 tokens per session scan A b7962368c832

Subscribe to this mod's changes

webflow-browser-api is a skill published in the GitHub repository 224-Industries/webflow-skills (9 stars, last pushed 24d ago), licensed MIT. It adds 50 tokens to every session and 839 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

claude-md-improver

Audit and improve CLAUDE.md files in repositories. Use when user asks to check, audit, update, improve, or fix CLAUDE.md files. Scans for all CLAUDE.md files, evaluates quality against templates, outputs quality report, then makes targeted updates. Also use when the user mentions "CLAUDE.md maintenance" or "project…

anthropics/claude-plugins-official · 82 tokens

agent-platform-rag-engine-management

Manage and query Agent Platform RAG Engine Corpora and retrieve grounded contexts using the Google GenAI SDK. Use when listing RAG corpora or files, inspecting a corpus, retrieving contexts, or generating content grounded in a RAG corpus. Do not use for standard database queries (use SQL/Spanner skills), Google…

google/skills · 85 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…

google/skills · 181 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for disaster recovery setup or full cluster backups (use gke-backup-dr instead).

google/skills · 73 tokens

agent-platform-model-registry

Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.

google/skills · 60 tokens

google-cloud-solution-agentic-analytics-spark-knowledge-catalog

Discovers requirements and generates guidance to design and deploy a governed, secure agentic-analytics solution for data that's distributed across Google Cloud, other cloud providers, or on-premises. Data that's outside Google Cloud (such as data from Databricks, Snowflake, Salesforce, SAP, or Oracle systems) is…

google/skills · 138 tokens