skills$openclaw/netlify
ajmwagar3.9k

by ajmwagar

netlify – OpenClaw Skill

netlify is an OpenClaw Skills integration for devops workflows. Use the Netlify CLI (netlify) to create/link Netlify sites and set up CI/CD (continuous deployment) from GitHub, especially for monorepos (multiple sites in one repo like Hugo sites under sites/<domain>). Use when Avery asks to deploy a new site, connect a repo to Netlify, configure build/publish settings, set environment variables, enable deploy previews, or automate Netlify site creation.

3.9k stars3.5k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026devops

Skill Snapshot

namenetlify
descriptionUse the Netlify CLI (netlify) to create/link Netlify sites and set up CI/CD (continuous deployment) from GitHub, especially for monorepos (multiple sites in one repo like Hugo sites under sites/<domain>). Use when Avery asks to deploy a new site, connect a repo to Netlify, configure build/publish settings, set environment variables, enable deploy previews, or automate Netlify site creation. OpenClaw Skills integration.
ownerajmwagar
repositoryajmwagar/netlify
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @ajmwagar/netlify
last updatedFeb 7, 2026

Maintainer

ajmwagar

ajmwagar

Maintains netlify in the OpenClaw Skills directory.

View GitHub profile
File Explorer
5 files
.
scripts
hugo_netlify_toml.sh
405 B
netlify_monorepo_site.sh
1.3 KB
_meta.json
268 B
SKILL.md
2.6 KB
SKILL.md

name: netlify description: Use the Netlify CLI (netlify) to create/link Netlify sites and set up CI/CD (continuous deployment) from GitHub, especially for monorepos (multiple sites in one repo like Hugo sites under sites/<domain>). Use when Avery asks to deploy a new site, connect a repo to Netlify, configure build/publish settings, set environment variables, enable deploy previews, or automate Netlify site creation.

netlify

Use the netlify CLI to create projects (“sites”), link local folders, and configure CI/CD from GitHub.

  • netlify --version
  • Logged in (netlify login) or provide --auth $NETLIFY_AUTH_TOKEN.
  • Know the Netlify team/account slug you want to create sites under (optional but recommended).

Helpful checks:

netlify status
netlify sites:list

Monorepo pattern (recommended)

For one repo with multiple sites (e.g. sites/seattlecustomboatparts.com, sites/floridacustomerboatparts.com):

  • Create one Netlify site per domain.
  • Set the site’s Base directory to that subfolder.
  • Put a netlify.toml inside that subfolder.

This keeps each domain’s build config self-contained.

Create sites/<domain>/netlify.toml:

[build]
  command = "hugo --minify"
  publish = "public"

[build.environment]
  HUGO_VERSION = "0.155.1"

(Adjust HUGO_VERSION as needed.)

Fast workflow: create + link + init CI/CD

Run inside the site folder you want to deploy (base dir):

cd sites/<domain>
netlify sites:create --name <netlify-site-name> --account-slug <team> --with-ci

Notes:

  • --with-ci starts CI hooks setup.
  • If you need manual control, add --manual.

2) Link local folder to the created site

If not linked already:

netlify link

3) Connect to GitHub for continuous deployment

netlify init

This is usually interactive (select Git remote/repo + build settings). For automation we can pre-create netlify.toml and then accept defaults.

Environment variables

Set per-site vars:

netlify env:set VAR_NAME value
netlify env:list

Useful for monorepos:

  • CONTACT_EMAIL (or other shared config)

Deploy

Manual deploys (handy for quick preview):

netlify deploy            # draft deploy
netlify deploy --prod     # production deploy

Included scripts

  • scripts/hugo_netlify_toml.sh: create a netlify.toml in a Hugo subfolder
  • scripts/netlify_monorepo_site.sh: helper to create/link/init a site for a subfolder

When using scripts, prefer passing NETLIFY_AUTH_TOKEN via env for non-interactive runs.

README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install netlify?

Run openclaw add @ajmwagar/netlify in your terminal. This installs netlify into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/ajmwagar/netlify. Review commits and README documentation before installing.