File Management for Openclaw

A robust, secure cloud file management tool for AI agents that handles uploads up to 100MB, download URLs, sharing, and meta-tagging.

agentpmt
v1.0.0
Jun 11, 2026
0
489
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install file-management-newest

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 file-management-newest 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 Management?

The File Management skill provides a complete cloud storage and lifecycle management tool designed specifically for autonomous AI agents. By utilizing this within the Openclaw Skills directory, agents can easily process small standard files under 10MB or larger datasets up to 100MB, generating signed URLs for secure uploads. It operates within a budgeted scope, allowing persistent files to span across multiple sequential agent runs without local runtime storage overhead.

Beyond simple storage, the tool gives agents granular control over file discovery, sharing, and auditability. Agents can easily update metadata, apply categorization tags, generate password-protected public sharing links, and inspect access logs. These features ensure that data handled by AI workflows remains organized, temporary, and highly secure.

File Management Use Cases

  • Generating secure, signed upload URLs for standard files up to 10MB or larger assets up to 100MB.
  • Storing and retrieving persistent transaction documents or generated assets across multi-step AI agent sessions.
  • Creating temporary file hosting paths for shared inputs and outputs in a budget-scoped cloud container.
  • Providing password-protected public share links with expiration parameters for secure deliveries.
  • Downloading smaller files (up to 5MB) instantly as base64 strings directly into the agent context.
  • Tracking file lifecycle metadata, customizing organization tags, and monitoring sharing access history.

How File Management Works

  1. Request Upload Permission: The agent requests a signed upload URL via standard (up to 10MB) or large (up to 100MB) file endpoints, specifying size and optional tags.
  2. Upload Execution: The agent performs a PUT request containing the file bytes directly to the generated signed upload URL with the returned headers.
  3. Query & Discovery: Files can be listed, filtered, and queried using budget-scoped tags, date ranges, and offsets, returning previews when supported.
  4. Secure Distribution: The agent creates password-protected public share links with custom usage counts or retrieves direct base64 file payloads.
  5. Lifecycle Management: The agent can extend the file expiration in 7-day increments, inspect secure download histories, or trigger permanent deletion.

File Management Setup

To enable this integration within your Openclaw Skills workflow, install the core AgentPMT dependencies via CLI first. This connects the main MCP server or REST API with your Agent Group.

npx skills add AgentPMT/agent-skills --skill what-is-agentpmt
npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup
npx skills add AgentPMT/agent-skills --skill agentpmt-no-account-agentaddress-x402

Once the dependencies are ready, you can query active schemas or call the file-management tool using standard MCP server configurations or secure REST endpoints.

File Management Data Schema & Taxonomy

The file management system structures files around a dynamic, budget-scoped model. Here is an overview of the data schema, metadata taxonomy, and endpoint inputs:

Endpoint Action Configuration

Action Slug Content Limit Primary Parameters Credit Cost
upload-standard <= 10MB content_length_bytes, filename, tags, metadata 10
upload-large 10MB to 100MB content_length_bytes, content_type, expiration_days 20
download <= 5MB (Base64) file_id, return_content, url_expiration_minutes 0
list Budget-scoped date_from, date_to, limit, offset, tags 0
share Dynamic file_id, password_max_minutes, password_max_uses 5
extend-expiration +7 Days file_id 10

Metadata Structure

Files stored using this Openclaw Skills resource can carry custom structured metadata payloads (JSON keys) and an array of flat organization tags for robust indexed sorting.

File Management Advanced Features

  • Budget-Scoped Isolation: All file operations, listings, and updates are securely isolated to the active budget container or payer wallet, preventing cross-tenant leakage.
  • x402 Wallet Integration: Directly associate files to payment authorization wallet addresses, keeping ownership persistence over sequential payment flows.
  • Dynamic Public Share Protection: Generate secure share links protected by auto-generated passwords, limited by maximum views, or restricted by temporal windows.
  • Expiration Extensions: Proactively extend file persistence by 7-day increments via automation prompts to maintain long-lived developer storage.
  • Access Auditing: Retrieve instant, historical access logs detailing usage counters and audit steps for secure external file distribution.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*