profile-optimizer
Optimize your shell profile for faster startup and better performance. Reduce shell initialization time by up to 80%. Use when: slow terminal, shell startup, profile optimize, bash slow
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-10
- Stars
- ★ 41
- Forks
- 9
01 前言 Front Matter
- name
- profile-optimizer
- description
- Optimize your shell profile for faster startup and better performance. Reduce shell initialization time by up to 80%. Use when: slow terminal, shell startup, profile optimize, bash slow
02 资源文件 1
- 脚本scripts/profile_optimizer.sh938 B
03 SKILL.md 正文
Profile Optimizer v1.5.0
Speed up your shell with intelligent profile optimization.
Features
- Lazy loading for heavy tools
- Parallel initialization
- Deferred completion loading
- nvm/rbenv/pyenv optimization
- Startup time benchmarking
- Automatic cleanup of unused entries
Architecture
profile-optimizer/
├── SKILL.md
└── scripts/
└── profile_optimizer.sh # Core optimizer implementation
Installation
Run the optimizer to analyze and enhance your shell profile.
Configuration
# config.yaml
target_files:
- ~/.profile
- ~/.bash_profile
- ~/.bashrc
- ~/.zshrc
optimizations:
lazy_load:
- nvm
- rbenv
- pyenv
- conda
defer_completions: true
parallel_init: true
telemetry:
enabled: true
anonymous: true
Usage
# Analyze current profile
bash scripts/profile_optimizer.sh analyze
# Optimize profile
bash scripts/profile_optimizer.sh optimize
# Benchmark startup time
bash scripts/profile_optimizer.sh benchmark
Quick Start
To optimize your profile, simply run:
./scripts/profile_optimizer.sh analyze
That's it! The script analyzes and optimizes your shell profile.
Optimization Example
Before optimization in ~/.profile:
# Slow initialization
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
After optimization:
# Fast lazy-loaded initialization
nvm() {
unset -f nvm
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm "$@"
}
Faster shell, happier developer
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