← Back to Skills Marketplace
Performance Budget Enforcer
by
charlie-morrison
· GitHub ↗
· v1.0.0
· MIT-0
54
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install performance-budget-enforcer
Description
Define, measure, and enforce web performance budgets — bundle sizes, asset counts, image weights, third-party scripts. Fails CI when budgets are exceeded. Tr...
Usage Guidance
This is an instruction-only CI helper that appears to do what it claims. Before installing or adding to CI, verify your CI runners have the standard Unix tools used (find, du, gzip, awk, wc, bc, sort), and review the SKILL.md so you are comfortable with it creating .perfbudget.json and .perfbudget-history.json in your repo. Run the commands locally in a sandboxed project to confirm output and exit codes behave as you expect. If you want stricter controls, require a review step in CI before the tool can fail a pipeline or restrict it to dedicated CI jobs so it only scans intended build artifacts.
Capability Analysis
Type: OpenClaw Skill
Name: performance-budget-enforcer
Version: 1.0.0
The performance-budget-enforcer skill is a utility for monitoring web asset sizes and enforcing performance budgets. It uses standard shell commands (find, du, awk, gzip, rg) in SKILL.md to analyze build directories and report on JS, CSS, and image weights. There is no evidence of malicious intent, data exfiltration, or unauthorized access; the code logic is strictly aligned with its stated purpose of performance auditing.
Capability Assessment
Purpose & Capability
The SKILL.md performs exactly the expected tasks for a performance-budget tool: scanning build output, measuring JS/CSS/images/fonts, comparing against a JSON budget, and appending a history file. It does rely on standard Unix CLI tools (find, du, gzip, awk, wc, bc, sort) but the skill metadata did not declare these as required binaries; this is reasonable but should be documented for CI environments.
Instruction Scope
Instructions limit actions to the project workspace (auto-detected build directories and project root). The skill reads and writes .perfbudget.json and .perfbudget-history.json and may read VCS info (commit/branch) for trend entries — all are consistent with tracking performance over time. It does not instruct uploading data to external endpoints or accessing unrelated system paths.
Install Mechanism
There is no install step and no code files — the skill is instruction-only, so nothing is downloaded or written beyond the small budget/history files it creates in the project. This is the lowest-risk install profile.
Credentials
The skill requests no environment variables, credentials, or external config paths. Its needs are limited to local filesystem access in the project and availability of common CLI utilities; this is proportional to its purpose.
Persistence & Privilege
The skill is not marked always:true and does not request system-level persistence. It writes budget and history files to the project root (expected behavior) and does not modify other skills or global agent settings.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install performance-budget-enforcer - After installation, invoke the skill by name or use
/performance-budget-enforcer - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of performance-budget-enforcer.
- Set, measure, and enforce web performance budgets (bundle sizes, image weights, asset counts, third-party scripts) in CI/CD pipelines.
- Scan build outputs for JS/CSS bundles, images, fonts, and third-party scripts; detect overages and flag regressions.
- Define budgets via a `.perfbudget.json` file with presets available for different project types.
- Output detailed reports and exit codes for automation; track asset size trends across builds.
- Offer actionable optimization suggestions when over budget.
Metadata
Frequently Asked Questions
What is Performance Budget Enforcer?
Define, measure, and enforce web performance budgets — bundle sizes, asset counts, image weights, third-party scripts. Fails CI when budgets are exceeded. Tr... It is an AI Agent Skill for Claude Code / OpenClaw, with 54 downloads so far.
How do I install Performance Budget Enforcer?
Run "/install performance-budget-enforcer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Performance Budget Enforcer free?
Yes, Performance Budget Enforcer is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Performance Budget Enforcer support?
Performance Budget Enforcer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Performance Budget Enforcer?
It is built and maintained by charlie-morrison (@charlie-morrison); the current version is v1.0.0.
More Skills