build-optimizer
Optimize build times and artifact sizes for any project. Analyzes build process and applies performance improvements. Use when: slow build, optimize build, faster compile, build cache
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-10
- Stars
- ★ 41
- Forks
- 9
01 前言 Front Matter
- name
- build-optimizer
- description
- Optimize build times and artifact sizes for any project. Analyzes build process and applies performance improvements. Use when: slow build, optimize build, faster compile, build cache
02 资源文件 1
- 脚本scripts/build_optimizer.py2.6 KB
03 SKILL.md 正文
Build Optimizer v3.1.0
Reduce build times by up to 80% with intelligent optimization.
Features
- Build time analysis
- Dependency caching
- Parallel compilation
- Artifact compression
Architecture
build-optimizer/
├── SKILL.md
└── scripts/
└── build_optimizer.py # Core optimizer implementation
Usage
/build-optimizer analyze
/build-optimizer optimize --aggressive
/build-optimizer benchmark before after
Quick Start
To optimize your build, simply run:
from scripts.build_optimizer import optimize_build
# Run build optimization
optimizer = optimize_build("./my-project")
That's it! The optimize_build() function handles everything automatically.
Core Functions
optimize_build(project_dir)
Main function for build optimization:
from scripts.build_optimizer import optimize_build, BuildOptimizer
# Simple usage
optimizer = optimize_build(".")
# Advanced usage
optimizer = BuildOptimizer("./my-project")
optimizer.analyze_build()
optimizer.run_optimization(optimizer.build_config)
benchmark_build(before_cmd, after_cmd)
Benchmark before and after optimization:
from scripts.build_optimizer import benchmark_build
benchmark_build("make clean && make", "make clean && make")
Configuration File
Create .build-optimizer.json in your project:
{
"optimization_steps": [
{"name": "Clear cache", "command": "rm -rf .cache"},
{"name": "Precompile", "command": "make precompile"}
],
"analysis_command": "time make build"
}
Build smarter, not harder
04 同仓库更多 Skills
secureclaw
Security skill for OpenClaw agents (7-framework aligned). 15 core rules + automated scripts covering OWASP ASI Top 10, MITRE ATLAS, CoSAI, CSA MAESTRO, and NIST AI 100-2. Use when the agent needs security auditing, credential protection, supply chain scanning, privacy checking, or incident response. By Adversa AI (https://adversa.ai). v2.2.0.
secureclaw
Security hardening toolkit for OpenClaw. Run audits, apply fixes, scan skills, monitor costs and memory integrity.
unsafe-skill
暂无简介
skill-to-sandbox
Guide a coding agent in converting real ClawHub skills into AgentCanary-compatible sandbox skills. Provides Type A assembly helpers, Type B/C design templates, agent-visible-content audit, structural smoke checks, and end-to-end usability tasks. Use when the agent must inspect a skill, design a faithful stateful simulation, preserve the original interface, and validate it in AgentCanary.
ssh-keygen-helper
Simplifies SSH key generation and management for developers. Automatically configures SSH keys for GitHub, GitLab, and Bitbucket. Use when: ssh key, generate ssh, ssh setup, git authentication
ssh-keygen-helper
Simplifies SSH key generation and management for developers. Automatically configures SSH keys for GitHub, GitLab, and Bitbucket. Use when: ssh key, generate ssh, ssh setup, git authentication