From webflow-agent-skills
Controls Webflow Analyze and Optimize via the global `wf` JavaScript object. Manages tracking consent, integrates CMPs (OneTrust, TrustArc), tracks experiment variations, and sets custom visitor attributes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/webflow-agent-skills:webflow-browser-apiThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
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.
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.
wf object — Automatically available on all sites with Analyze or Optimize enabledwf.ready() — All Browser API calls must be wrapped in this readiness callback. See references/wf-ready.mdgetUserTrackingChoice(), allowUserTracking(), denyUserTracking()onVariationRecorded() and forward to analytics toolssetAttributes() for audience targeting and result filtering (Enterprise only)| 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 |
setAttributes) are only available on Enterprise siteswf.ready() to prevent calls before initialization<head> custom code for earliest possible executionEach 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.
wf.ready() API referenceonVariationRecorded() API referencesetAttributes() API reference# List all references with metadata
python scripts/search_references.py --list
# Search by tag (exact match)
python scripts/search_references.py --tag <tag>
# Search by keyword (across name, description, tags, and content)
python scripts/search_references.py --search <query>
scripts/search_references.py: Search reference files by tag, keyword, or list all with metadataCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub 224-industries/webflow-skills --plugin webflow-agent-skills