custom-code-management

webflow/webflow-skills · updated Apr 8, 2026

$npx skills add https://github.com/webflow/webflow-skills --skill custom-code-management
0 commentsdiscussion
summary

Webflow custom code: register (store script) → apply (attach to site). Inline scripts only via MCP (max 10,000 chars).

skill.md

Custom Code Management

Concepts

Webflow custom code: register (store script) → apply (attach to site). Inline scripts only via MCP (max 10,000 chars).

Important note

ALWAYS use Webflow MCP tools for all operations: Use the following tools for all operations:

  • data_scripts_tool with actions list_registered_scripts / list_applied_scripts - List scripts
  • data_scripts_tool with action add_inline_site_script - Register inline script (no <script> tags)
  • data_scripts_tool with action delete_all_site_scripts - Remove ALL scripts (no selective delete)
  • data_sites_tool with action list_sites - List available sites

Instructions

View Scripts

  1. Call data_sites_tool with action list_sites if needed, then call both list tools in parallel
  2. Display registration and application status

Add Script

  1. Gather: name, code, location (header/footer)
  2. Validate: under 10,000 chars, no <script> tags
  3. Preview with character count, require "add" to confirm
  4. Call data_scripts_tool with action add_inline_site_script with displayName, sourceCode, version, location, canCopy
  5. Remind user to publish

Remove Scripts

  1. List current scripts
  2. Warn: removes ALL scripts (no selective delete)
  3. Require "delete all" to confirm
  4. Remind user to publish

Constraints

  • Max 10,000 characters per script
  • Do NOT include <script> tags (Webflow adds them)
  • displayName + version must be unique
  • Site-level only (no page-specific via MCP)
  • Hosted scripts not available via MCP

Response Format

After adding a script, respond with the script name, location, and version. Suggest using the safe-publish skill to publish changes.

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.532 reviews
  • Dhruvi Jain· Dec 24, 2024

    Useful defaults in custom-code-management — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Tariq Rahman· Dec 20, 2024

    Useful defaults in custom-code-management — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Oshnikdeep· Nov 15, 2024

    custom-code-management has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Mei Anderson· Nov 11, 2024

    custom-code-management has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Ganesh Mohane· Oct 6, 2024

    Solid pick for teams standardizing on skills: custom-code-management is focused, and the summary matches what you get after install.

  • Hassan Martinez· Oct 2, 2024

    Solid pick for teams standardizing on skills: custom-code-management is focused, and the summary matches what you get after install.

  • Sakshi Patil· Sep 25, 2024

    custom-code-management is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Amina Huang· Sep 21, 2024

    custom-code-management is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Michael Martin· Sep 13, 2024

    Keeps context tight: custom-code-management is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Chaitanya Patil· Aug 16, 2024

    Keeps context tight: custom-code-management is the kind of skill you can hand to a new teammate without a long onboarding doc.

showing 1-10 of 32

1 / 4