2.6k
GitHub Stars
2
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill openclaw/skills --skill netlify- _meta.json267 B
- SKILL.md938 B
Overview
This skill manages Netlify sites, deploys, environment variables, and serverless functions via the Netlify API and CLI. It lets you list sites and deploys, trigger new builds, inspect functions, and read or update env values. Use it to automate web project deployments and integrate Netlify operations into pipelines.
How this skill works
The skill calls Netlify REST endpoints and the Netlify CLI using an access token supplied in NETLIFY_AUTH_TOKEN. It inspects sites, deploy history, builds, functions, and environment variables, and can trigger builds by POSTing to the builds endpoint. Responses are parsed and returned as structured summaries for automation or monitoring.
When to use it
- Automate production or staging deploys from CI/CD pipelines
- Monitor site deploy history and recent build statuses
- List and validate serverless functions associated with a site
- Export or audit environment variables for backup or compliance
- Trigger a rebuild after updating content, configuration, or hooks
Best practices
- Store NETLIFY_AUTH_TOKEN securely in your CI secret store or environment manager
- Use site IDs rather than human-readable names to avoid ambiguity in multi-site accounts
- Limit token scope to required permissions and rotate tokens regularly
- Test build triggers on a staging site before invoking production deployments
- Rate-limit automated calls and handle API errors and retries gracefully
Example use cases
- Trigger a production build after merging a release branch to automate deployment
- List all sites in an account to generate an inventory report or backups
- Fetch recent deploys to identify failing builds and alert on regressions
- List serverless functions to verify they were packaged and deployed correctly
- Read and export environment variables to create a secure backup before changes
FAQ
Set NETLIFY_AUTH_TOKEN to a personal access token with the needed scopes and include it in request headers or CI environment.
How do I trigger a new build?
POST to /api/v1/sites/{site_id}/builds with Authorization: Bearer $NETLIFY_AUTH_TOKEN to queue a new deploy build.
Can I list serverless functions for a site?
Yes. Use the functions listing endpoints or the Netlify CLI (netlify functions:list) to enumerate deployed functions and their status.