← 返回 Skills 市场
🔌

File Management

作者 AgentPMT · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
20
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install file-management-newest
功能描述
File Management: Upload and manage files in one tool: upload_standard, upload_large, list with previews, get signed URLs, download, delete, share, update met...
使用说明 (SKILL.md)

File Management

Freshness

Last updated: 2026-06-10.

If the current date is more than 7 days after the last updated date, reinstall this skill from skills.sh or ClawHub before relying on endpoints, schemas, setup steps, or examples.

What This Tool Does

Upload, list, retrieve, share, download, delete, and manage files stored in AgentPMT cloud storage. This product now owns the full file lifecycle, including signed upload URLs for files up to 10MB and for files over 10MB up to 100MB, budget-scoped file listing with preview URLs, fresh signed download URLs, direct base64 download for smaller files, password-protected sharing, metadata and tag updates, access-history inspection, and expiration extension. All file operations are scoped to the current budget for isolation and are designed to let one budget create persistent files that can be revisited across later agent runs.

Product Instructions

File Management

Manage the complete file lifecycle from a single tool. This includes uploading new files, listing existing files for the current budget, retrieving metadata and signed URLs, downloading content, deleting files, creating password-protected share links, auditing access history, updating metadata and tags, and extending expiration.

Actions

upload_standard

Generate a signed upload URL for a file up to 10MB.

Required fields:

  • content_length_bytes: exact file size in bytes, 1 to 10,485,760

Optional fields:

  • filename
  • content_type
  • expiration_days (1-7)
  • shared
  • password_max_uses (1-10)
  • password_max_minutes (1-10)
  • metadata
  • tags
upload_large

Generate a signed upload URL for a file over 10MB and up to 100MB.

Required fields:

  • content_length_bytes: exact file size in bytes, greater than 10,485,760 and up to 104,857,600

Optional fields:

  • filename
  • content_type
  • expiration_days (1-7)
  • shared
  • password_max_uses (1-10)
  • password_max_minutes (1-10)
  • metadata
  • tags
list

List active files for the current budget. Results are newest first and include preview URLs when available.

Optional fields:

  • tags
  • date_from
  • date_to
  • limit
  • offset
  • url_expiration_minutes
get

Get metadata and a fresh signed download URL for a file.

Required fields:

  • file_id

Optional fields:

  • url_expiration_minutes
download

Download base64 content for files up to 5MB, or get a signed URL for larger files.

Required fields:

  • file_id

Optional fields:

  • return_content
  • url_expiration_minutes
delete

Delete a file permanently.

Required fields:

  • file_id
share

Create or refresh a password-protected public share link.

Required fields:

  • file_id

Optional fields:

  • password_max_uses
  • password_max_minutes
access_history

View share access history for a file.

Required fields:

  • file_id

Optional fields:

  • limit
update_metadata

Update metadata and tags on a file.

Required fields:

  • file_id

Optional fields:

  • metadata
  • tags
  • add_tags
  • remove_tags
extend_expiration

Extend expiration by 7 days.

Required fields:

  • file_id

Notes

  • Upload actions return a signed upload_url; you must then PUT the file bytes to that URL using the returned headers.
  • list is budget-scoped and includes preview URLs when the file type supports preview.
  • Signed URLs can be requested for up to 7 days.
  • download with return_content: true is limited to files 5MB or smaller.
  • Share passwords are always auto-generated.
  • extend_expiration adds 7 days each time it is called.

When To Use

  • Use this skill for File Management on AgentPMT.
  • Use it when an agent needs this specific tool's behavior, schema, inputs, outputs, and invocation shape.
  • Search and activation keywords: file management, small file upload, large file upload, signed upload url generation, temporary file hosting, access history, file id, limit.
  • Supported action names: access_history, delete, download, extend_expiration, get, list, share, update_metadata, upload_large, upload_standard.

Use Cases

  • Small file upload
  • large file upload
  • signed upload URL generation
  • temporary file hosting
  • budget-scoped file storage
  • file inventory
  • file preview listing
  • image preview retrieval
  • get file metadata
  • refresh signed URL
  • download file as base64
  • delete uploaded file
  • create password-protected file share
  • secure file delivery
  • metadata tagging
  • file organization

Categories And Industries

No categories or industry tags are published for this tool.

Actions And Schema

Complete generated action schema: ./schema.md. Supported action count: 10. x402 action routes are enabled and listed in ./schema.md.

  • access_history (action slug: access-history): View password-protected share access history for a file. Price: 0 credits. Parameters: file_id, limit.
  • delete (action slug: delete): Permanently delete a file from storage. Price: 0 credits. Parameters: file_id.
  • download (action slug: download): Download file content as base64 for files up to 5MB, or return a signed URL for larger files. Price: 0 credits. Parameters: file_id, return_content, url_expiration_minutes.
  • extend_expiration (action slug: extend-expiration): Extend a file's expiration date by 7 days from the current expiration. Price: 10 credits. Parameters: file_id.
  • get (action slug: get): Get file metadata and a fresh signed download URL for a specific file. Price: 0 credits. Parameters: file_id, url_expiration_minutes.
  • list (action slug: list): List active uploaded files for the current budget with optional filtering and pagination. Returns newest files first and includes cached preview URLs when available. Price: 0 credits. Parameters: date_from, date_to, limit, offset, tags, url_expiration_minutes.
  • share (action slug: share): Create or refresh a password-protected public share link for an existing file. Price: 5 credits. Parameters: file_id, password_max_minutes, password_max_uses.
  • update_metadata (action slug: update-metadata): Update metadata and tags on a file. Price: 5 credits. Parameters: add_tags, file_id, metadata, remove_tags, tags.
  • upload_large (action slug: upload-large): Generate a signed upload URL for a file over 10MB and up to 100MB. After receiving the URL, perform a PUT request with the exact file bytes and returned headers. Price: 20 credits. Parameters: content_length_bytes, content_type, expiration_days, filename, metadata, password_max_minutes, password_max_uses, shared, plus 1 more.
  • upload_standard (action slug: upload-standard): Generate a signed upload URL for a file up to 10MB. After receiving the URL, perform a PUT request with the exact file bytes and returned headers. Price: 10 credits. Parameters: content_length_bytes, content_type, expiration_days, filename, metadata, password_max_minutes, password_max_uses, shared, plus 1 more.

Live Schema And Examples

Use the compact schema above for ordinary calls. Before a new production integration, or whenever parameters, enum values, nested objects, outputs, or examples are unclear, fetch live details first.

  • Exact schema: call agentpmt-tool-search-and-execution with action: "get_schema", and tool_id: "file-management".
  • Detailed examples: call agentpmt-tool-search-and-execution with action: "get_instructions" and tool_id: "file-management", or call this product with action: "get_instructions" when the product tool is already selected.
  • Treat returned live schema and instructions as more specific than this generated summary.

MCP schema lookup through the main AgentPMT MCP server:

{
  "method": "tools/call",
  "params": {
    "name": "AgentPMT-Tool-Search-and-Execution",
    "arguments": {
      "action": "get_schema",
      "tool_id": "file-management"
    }
  }
}

For live examples, keep the same MCP tool and use these arguments:

{
  "action": "get_instructions",
  "tool_id": "file-management"
}

Authenticated AgentPMT REST schema lookup body:

{
  "name": "agentpmt-tool-search-and-execution",
  "parameters": {
    "action": "get_schema",
    "tool_id": "file-management"
  }
}

Authenticated AgentPMT REST live examples body:

{
  "name": "agentpmt-tool-search-and-execution",
  "parameters": {
    "action": "get_instructions",
    "tool_id": "file-management"
  }
}

Call This Tool

Product slug: file-management

Marketplace page: https://www.agentpmt.com/marketplace/file-management

  • AgentPMT account route: first use ../agentpmt-account-mcp-rest-api-setup to connect the main MCP server or REST API for an Agent Group where this tool is enabled.
  • No-account x402 route: first use ../agentpmt-no-account-agentaddress-x402 to create an AgentAddress and prepare the x402 payment flow.
  • AgentPMT overview: use ../what-is-agentpmt for marketplace, Agent Group, workflow, MCP, REST, and payment concepts.

If those setup skills are not installed beside this product skill, use the downloads below.

Core AgentPMT setup skills:

  • What AgentPMT is: ../what-is-agentpmt
  • AgentPMT account MCP/REST setup: ../agentpmt-account-mcp-rest-api-setup
  • No-account AgentAddress/x402 setup: ../agentpmt-no-account-agentaddress-x402

skills.sh install script:

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

MCP call shape after the main AgentPMT MCP server is connected:

{
  "method": "tools/call",
  "params": {
    "name": "File-Management",
    "arguments": {
      "action": "access_history",
      "file_id": "example file id",
      "limit": 1
    }
  }
}

Use the exact tool name returned by tools/list; the name above is the expected readable form.

Authenticated AgentPMT REST call body:

{
  "name": "file-management",
  "parameters": {
    "action": "access_history",
    "file_id": "example file id",
    "limit": 1
  }
}

Use the setup skill for the account connection details before making REST calls.

x402 action path: POST https://www.agentpmt.com/api/external/tools/file-management/actions/access-history/invoke.

x402 wallet scope:

  • Direct x402 calls are scoped to the payer wallet that signs the payment authorization.
  • Files created through File Manager during x402 calls are owned by that wallet scope.
  • Reuse the same payer wallet for later x402 calls when listing, fetching, downloading, or passing those files between AgentPMT tools.
  • File Manager files normally expire after the retention window, up to 7 days, unless the file action returns a shorter expiration.

Response Handling

  • Treat the returned JSON as the source of truth for this tool call.
  • If the response includes warnings or correction targets, apply them before retrying.
  • If the response includes a passed or success-style boolean, use it as the workflow gate.
  • If validation fails or the response shape is unclear, call get_schema or get_instructions before retrying.
  • If access_history fails, preserve the request parameters and retry only after fixing schema, auth, or payment errors.

Security

  • Do not place account secrets, wallet private keys, mnemonics, signatures, or payment headers in prompts or logs.
  • Keep tool inputs scoped to the minimum content needed for the task.
  • Use the setup skills for credential handling; this product skill only defines product-specific behavior.

AgentPMT Reference

安全使用建议
Install only if you intend to use AgentPMT cloud storage and related payment or wallet setup. Treat uploads and shares as external data handling: avoid sensitive files unless approved, use short share limits where possible, and confirm the exact file before deleting or sharing.
能力标签
cryptorequires-walletrequires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose is full file lifecycle management in AgentPMT cloud storage, and the exposed actions match that purpose: upload, list, get, download, delete, share, metadata updates, access history, and expiration extension.
Instruction Scope
The skill clearly documents public share links, permanent delete, signed upload/download URLs, and budget or wallet scoping, but it could be safer if it explicitly told agents to confirm before deletion, sharing, or uploading sensitive files.
Install Mechanism
No local command runtime is declared. The artifact only references optional setup-skill installation commands for AgentPMT account or x402 workflows, and does not include executable scripts.
Credentials
Remote storage, signed URLs, wallet/payment setup, and credential handling are proportionate for a paid file-management integration. The skill also says not to place account secrets, wallet keys, mnemonics, signatures, or payment headers in prompts or logs.
Persistence & Privilege
Files can persist across later agent runs within the same budget and may be extended, but the skill discloses this behavior and states normal retention is up to 7 days unless extended.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install file-management-newest
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /file-management-newest 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Publish file-management-newest v1.0.0
元数据
Slug file-management-newest
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

File Management 是什么?

File Management: Upload and manage files in one tool: upload_standard, upload_large, list with previews, get signed URLs, download, delete, share, update met... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 20 次。

如何安装 File Management?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install file-management-newest」即可一键安装,无需额外配置。

File Management 是免费的吗?

是的,File Management 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

File Management 支持哪些平台?

File Management 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 File Management?

由 AgentPMT(@agentpmt)开发并维护,当前版本 v1.0.0。

💬 留言讨论