← Back to Skills Marketplace
michealxie001

OpenClaw Performance

by michealxie001 · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ✓ Security Clean
122
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install oc-performance
Description
Performance analysis and optimization. Profiles code execution, identifies bottlenecks, and suggests optimizations.
Usage Guidance
This skill appears to be what it says: a local performance analysis tool that reads your source files and prints suggestions. Before installing or running it: - Review scripts/main.py (and any additional shipped modules) for hidden network calls, subprocess.exec, or file writes. The provided snippet shows only AST/static checks, but review the remainder of the file. - Be careful when following the 'profile' advice: profiling runs your code (cProfile/kernprof). Do not profile untrusted code on a sensitive machine; run in an isolated environment or CI runner. - Note a couple of code-quality issues in the included script (undefined/possibly-missing variables and reliance on a local "c-support" path). Test the tool on a small repository first to confirm behavior. - If you expect C parsing support, check the origin and contents of any c-support modules before allowing them to be imported. Given the lack of external requests, secrets, or remote installs, the skill is coherent with its purpose. However, because the included script has some incomplete/buggy-looking code and imports local libraries conditionally, run it in a sandbox and inspect the full source before use.
Capability Analysis
Type: OpenClaw Skill Name: oc-performance Version: 1.1.0 The skill bundle provides a static analysis tool for identifying performance bottlenecks in Python and C code. The implementation in `scripts/main.py` uses the `ast` module for Python and basic string/regex matching for C to detect patterns like N+1 queries, nested loops, and inefficient string operations. The tool is safe as it does not execute the analyzed code; the `profile` and `benchmark` commands merely print suggested command-line instructions for the user. While `_analyze_python_file` contains a minor bug (undefined variables), there is no evidence of malicious intent or high-risk behavior.
Capability Assessment
Purpose & Capability
Name/description (performance analysis, profiling, bottleneck detection) align with the provided SKILL.md and the included scripts/main.py analyzer. The skill requires no external credentials, binaries, or installs — which is appropriate for a local static/dynamic analysis tool.
Instruction Scope
SKILL.md instructs the agent/user to run the included script against local source files and to use cProfile/kernprof for profiling. Reading and analyzing repo files is expected for this purpose. There are no instructions to transmit data externally or to read unrelated system configuration. Note: profiling suggestions require running target code — running untrusted code is a security risk (this is a user operational risk rather than a misbehavior of the skill).
Install Mechanism
No install spec; instruction-only plus included scripts. Nothing is downloaded or extracted from remote URLs. This minimizes supply-chain risk.
Credentials
The skill declares no required environment variables, credentials, or config paths. The SKILL.md and code do not appear to access environment secrets. This is proportionate to the claimed functionality.
Persistence & Privilege
always is false and there's no request for persistent system modification or to change other skills' configs. The skill runs only when invoked.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install oc-performance
  3. After installation, invoke the skill by name or use /oc-performance
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
Added C/C++ support: performance analysis, I/O detection, memory allocation analysis
Metadata
Slug oc-performance
Version 1.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is OpenClaw Performance?

Performance analysis and optimization. Profiles code execution, identifies bottlenecks, and suggests optimizations. It is an AI Agent Skill for Claude Code / OpenClaw, with 122 downloads so far.

How do I install OpenClaw Performance?

Run "/install oc-performance" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is OpenClaw Performance free?

Yes, OpenClaw Performance is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does OpenClaw Performance support?

OpenClaw Performance is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created OpenClaw Performance?

It is built and maintained by michealxie001 (@michealxie001); the current version is v1.1.0.

💬 Comments