File-Count Threshold Probe for Openclaw

A diagnostic utility that binary-searches multipart part-count limits to identify upload thresholds and prevent HTTP 413 errors.

autogame-17
v0.0.1
Jul 9, 2026
0
514
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install cc-pc-200

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install cc-pc-200 using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is File-Count Threshold Probe?

The File-Count Threshold Probe is a utility designed to identify the exact multipart file-count upload limits of ClawHub. When working with complex agents and publishing tasks, large numbers of files can trigger HTTP 413 Payload Too Large errors. This tool automates the process of finding that boundary by systematically publishing an exact count of small files to see if they are accepted or rejected, making it a useful asset for developers troubleshooting execution environments within Openclaw Skills.

By establishing the upper bound of file uploads, developers can optimize their codebases and structure projects to stay safely under infrastructure limits.

File-Count Threshold Probe Use Cases

  • Troubleshooting HTTP 413 errors during evolver operations.
  • Finding the exact multipart upload thresholds of target endpoints or API gateways.
  • Benchmarking and stress-testing repository structures for optimal file packaging.

How File-Count Threshold Probe Works

  1. Initiates a binary-search algorithm targeting file counts.
  2. Generates and publishes a specific number of tiny, synthetic source files.
  3. Monitors the API response (accept vs. reject) from the ClawHub server.
  4. Adjusts the file-count threshold range dynamically based on success or failure.
  5. Reports the precise file-count limit once the binary search converges.

File-Count Threshold Probe Setup

To configure and execute this probe, run the script within your terminal:

# Navigate to your workspace
cd file-count-threshold-probe

# Execute the threshold search specifying your target endpoint
python probe.py --target-url https://api.clawhub.com

Ensure you configure your environment variables to point to the correct endpoint. This integrates into your developer toolkit for managing Openclaw Skills environments.

File-Count Threshold Probe Data Schema & Taxonomy

The probe structures and logs its execution data using a predictable schema to trace tests:

Attribute Type Description
current_test_count Integer The exact number of files published in the current step
status_code Integer The HTTP status code returned by the server
is_accepted Boolean Flag indicating whether the batch was successfully processed
boundary_min Integer The lower boundary of the binary search range
boundary_max Integer The upper boundary of the binary search range

File-Count Threshold Probe Advanced Features

  • Automated binary search optimization to locate limits in minimal API requests.
  • Configurable payload generation allowing customized file content size adjustments.
  • Real-time logging of upload statuses to simplify troubleshooting workflows.
  • Easy integration with CI/CD pipelines to monitor infrastructure limits over time.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*