📦 Profiling — 性能分析
v1.0.0驱动式性能优化 先通过重构获得良好结构,再运行 profiler 定位真实热点,最后实施针对性优化……
0· 26·0 当前·0 累计
安全扫描
OpenClaw
安全
high confidenceThe skill is an instruction-only profiling and optimization playbook whose requested access (read/write to the codebase, running a profiler via shell) matches its stated purpose and contains no unexplained requirements.
评估建议
This skill is a textual playbook and appears internally consistent, but it expects to read and write your repository and to run shell commands and profilers. Before using it: (1) run it on a non-production copy or in a sandbox/feature branch; (2) ensure you have a reliable test suite and backups or CI to catch regressions; (3) review any proposed code changes or diffs before merging; (4) avoid running profilers on sensitive production data without safeguards; and (5) if you want to limit risk, r...详细分析 ▾
✓ 用途与能力
The name/description (profiling-driven optimization) aligns with the SKILL.md: it asks for a working codebase, a profiler, and the ability to run benchmarks and make targeted code changes. No unrelated credentials, binaries, or install steps are requested.
ℹ 指令范围
The instructions require running profilers, benchmarks, tests, and editing code using shell access (tools-required: Read, Write, Bash). That is appropriate for this task but grants the agent broad ability to execute commands and modify the repository — a high-impact capability that is expected for this skill but should be run on trusted code and/or sandboxed environments.
✓ 安装机制
No install spec and no code files are included (instruction-only), so nothing is written to disk by an installer. This is the lowest-risk model for a skill of this type.
✓ 凭证需求
The skill requires no environment variables, credentials, or config paths beyond access to the codebase and a profiler. The requested scope is proportional to the stated goal.
✓ 持久化与权限
always is false and there is no indication the skill requests persistent system privilege or modifies other skills or global agent configuration. Autonomous invocation is allowed (platform default) but not combined with other concerning privileges.
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv1.0.02026/4/20
profiling-driven-performance-optimization v1.0.0 - Initial release of the skill focused on profiling-driven performance optimization. - Outlines a clear process: refactor code for clarity first, then use profiler data to identify and optimize real bottlenecks. - Describes when and why to use profiling-based optimization over constant micro-optimization or time-budgeting. - Details necessary prerequisites: a working codebase, available profiler, representative benchmarks, and (strongly recommended) test suite. - Provides guidance on context gathering and profiler selection for various languages.
● 无害
安装命令
点击复制官方npx clawhub@latest install bookforge-profiling-driven-performance-optimization
镜像加速npx clawhub@latest install bookforge-profiling-driven-performance-optimization --registry https://cn.longxiaskill.com