Agent SkillsMigoXLab/LMeterX › lmeterx-web-loadtest

lmeterx-web-loadtest

GitHub

用于对提供的网页或网站URL执行自动化负载测试。该Skill自动完成页面分析、API预检及批量创建负载测试任务,无需手动构造请求,直接运行脚本并基于真实输出反馈结果。

.openclaw/skills/lmeterx-web-loadtest/SKILL.md MigoXLab/LMeterX

Trigger Scenarios

用户提及网站、网页或负载测试 用户提供网址链接

Install

npx skills add MigoXLab/LMeterX --skill lmeterx-web-loadtest -g -y
More Options

Non-standard path

npx skills add https://github.com/MigoXLab/LMeterX/tree/main/.openclaw/skills/lmeterx-web-loadtest -g -y

Use without installing

npx skills use MigoXLab/LMeterX@lmeterx-web-loadtest

指定 Agent (Claude Code)

npx skills add MigoXLab/LMeterX --skill lmeterx-web-loadtest -a claude-code -g -y

安装 repo 全部 skill

npx skills add MigoXLab/LMeterX --all -g -y

预览 repo 内 skill

npx skills add MigoXLab/LMeterX --list

SKILL.md

Frontmatter
{
    "name": "lmeterx-web-loadtest",
    "emoji": "⚡",
    "triggers": [
        "web loadtest",
        "load test this website",
        "analyze and load test this page",
        "load test this web page",
        "帮我压测这个网站",
        "帮我压测这个网页",
        "压测这个页面",
        "压测一下这个网站",
        "对这个网站进行压测",
        "帮我测试一下这个网站的性能"
    ],
    "description": "LMeterX Web Load test tool。When a user provides a **webpage\/website URL**, the script executes immediately to perform:\nPage Analysis + API Pre-checks + Batch Creation of Load Testing Tasks. No health checks are required.\n"
}

Skill: lmeterx-web-loadtest

⚠️ Intent Routing and Execution Rules (Highest Priority — Must Read)

  1. Mandatory Trigger: Whenever a user mentions "website," "webpage," "load testing," or provides a URL that appears to be a website (e.g., https://www.baidu.com), you must—and may only—use this specific Skill.
  2. Prohibition on Unauthorized API Calls: This Skill is authorized to execute local scripts only; you are strictly forbidden from manually constructing HTTP requests—using tools such as curl or requests—to call any LMeterX APIs.
  3. Prohibition on Fabricating Results: You must genuinely execute the provided scripts within a Bash environment and formulate your response to the user based solely on the actual console output (Stdout) generated by the script.

The Only Correct Way to Execute

Upon receiving the user's instruction, open the terminal (Bash/Shell) and strictly execute the following complete command. To prevent authentication failures caused by empty environment variables, you must explicitly prefix the command with LMETERX_AUTH_TOKEN!

python "${SKILL_DIR}/scripts/run.py" --url "<web URL>"

If the user explicitly specifies parameters—such as the concurrency level—within the conversation, execute the task using these custom parameters:

python "${SKILL_DIR}/scripts/run.py" \
  --url "<web URL>" \
  --concurrent-users <concurrent users> \
  --duration <duration> \
  --spawn-rate <spawn rate>

Internal Mechanism Details (Execution Only—No Manual Intervention Required): The script will automatically complete the following three steps: Page Analysis, API Connectivity Pre-check, and Load Testing Task Creation. The script comes with a built-in default token—lmeterx—which is automatically injected into the X-Authorization request header and bound to the agent user.

Guidelines for Presenting Results to the User

Upon completion of execution, please extract the terminal output and respond to the user clearly using the following Markdown format:

  1. Executive Summary: The number of APIs discovered, and the count of pre-flight checks passed vs. failed.
  2. Failure Classification (If Applicable): A brief summary of the reasons for any pre-flight failures (e.g., 401, 404, 5xx, etc.).
  3. Successful Tasks and Report Links: List the task_id for each successfully created task, along with the corresponding URL to view the report: {LMETERX_BASE_URL}/http-results/{task_id}.

Exception Handling

Error Scenario Output Message
HTTP 401/403 LMeterX token is invalid or expired; please check the LMETERX_AUTH_TOKEN configuration.
HTTP 5xx LMeterX platform service error; please try again later.
Connection Failure Unable to connect to the LMeterX service; please check your network connection.
Request Timeout Request timed out; the target page may be too complex.
Concurrency Out of Range Concurrency level exceeds the valid range [1, 5000].
Invalid URL Format The URL must begin with http:// or https://.

Version History

  • 5ad3898 Current 2026-07-24 21:58

Same Skill Collection

.claude/skills/lmeterx-http-loadtest/SKILL.md
.claude/skills/lmeterx-llm-loadtest/SKILL.md
.claude/skills/lmeterx-web-loadtest/SKILL.md
.openclaw/skills/lmeterx-http-loadtest/SKILL.md
.openclaw/skills/lmeterx-llm-loadtest/SKILL.md

Metadata

Files
0
Version
5ad3898
Hash
49fab6db
Indexed
2026-07-24 21:58

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-21 09:57
浙ICP备14020137号-1 $Гость$