Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计提醒

prestashop-bridge-v1Prestashop 桥 v1

Agent Skill

prestashop-bridge-v1 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,936

周安装

164

GitHub Stars

公开资料未说明

下载量

1,312
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:prestashop-bridge-v1(Prestashop 桥 v1)
来源仓库:https://github.com/ansz089/prestashop-bridge-v1
安装命令:
openclaw skills install prestashop-bridge-v1
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install prestashop-bridge-v1

简介

通过稳定、签名的异步 API 合约操作 PrestaShop 9 Bridge 的安全技能包。

SKILL.md

name
prestashop_bridge_v1
version
1.0.3
description
Secure skill pack for operating a PrestaShop 9 Bridge through a stable, signed, asynchronous API contract.
license
MIT-0
metadata
author
OpenAI
protocol
https
base_path
/v1
auth_type
oauth2_client_credentials
oauth_token_url
/oauth/token
oauth_scopes
bridge:read bridge:write
jwt_algorithm
RS256
hmac_required
true
hmac_algorithm
SHA256
idempotency_header
X-Request-ID
rate_limit_read
100/min
rate_limit_write
20/min
max_payload_bytes
10485760
gzip_recommended_above_bytes
1024
gzip_required_above_bytes
32768
source_of_truth_jobs
mysql

PrestaShop Bridge V1

PrestaShop Bridge V1 is a secure operational contract for AI agents and Python handlers that need to interact with a PrestaShop 9 store through a stable interface. It standardizes OAuth2 authentication, HMAC request signing, rate limiting, asynchronous writes, idempotency, and durable job polling.

Operating model

  • Reads are synchronous.
  • Writes are asynchronous.
  • Redis is used only for Messenger transport and temporary HTTP idempotency cache.
  • MySQL is the source of truth for job status, business idempotency, and failed jobs.
  • A 202 Accepted response means only that a job was accepted for processing. It never means business success.

Capabilities

get_product

  • method: GET
  • endpoint: /v1/products/{id}
  • sync: true
  • scope: bridge:read
  • params:

- id integer, required

  • success: 200

get_order

  • method: GET
  • endpoint: /v1/orders/{id}
  • sync: true
  • scope: bridge:read
  • params:

- id integer, required

  • success: 200

get_job_status

  • method: GET
  • endpoint: /v1/jobs/{jobId}
  • sync: true
  • scope: bridge:read
  • note: job status is read from MySQL, not from Redis
  • success: 200

update_product

  • method: POST
  • endpoint: /v1/jobs/products/update
  • sync: false
  • scope: bridge:write
  • idempotency: X-Request-ID required
  • payload:

- product_id - updates.price_ht - updates.stock_delta - updates.seo - options.skip_reindex

  • success: 202

import_products

  • method: POST
  • endpoint: /v1/jobs/products/import
  • sync: false
  • scope: bridge:write
  • idempotency: request id required and stable batch_id
  • payload:

- batch_id - items - options

  • constraints:

- maximum 50 items - maximum payload size 10MB

  • success: 202

update_order_status

  • method: POST
  • endpoint: /v1/jobs/orders/status
  • sync: false
  • scope: bridge:write
  • idempotency: X-Request-ID required
  • payload:

- order_id - new_status - notify_customer - tracking_number

  • success: 202

Security

Required headers on protected routes

  • Authorization: Bearer {jwt_rs256_token}
  • X-Request-ID: {uuid_v4}
  • X-Timestamp: {unix_seconds}
  • X-Signature: {hmac_sha256_hex}
  • Content-Type: application/json
  • Accept: application/json

Compression

  • gzip recommended above 1024 bytes
  • gzip required above 32768 bytes

OAuth2

  • flow: client_credentials
  • token endpoint: /oauth/token
  • JWT algorithm: RS256
  • TTL: 3600
  • scopes:

- bridge:read - bridge:write

HMAC

String to sign:

METHOD + "\ " + URI + "\ " + TIMESTAMP + "\ " + REQUEST_ID + "\ " + BODY_SHA256

Exact example:

  • method: POST
  • uri: /v1/jobs/products/update
  • timestamp: 1710950400
  • request id: f47ac10b-58cc-4372-a567-0e02b2c3d479
  • body sha256: 37abd647733fbd18a3f11fb5a082fe59c62719d9fe833aec96b28ccea36b70ba
  • signature: 448e251d1c71078b07a10baf4094fd2686bcebef97761c4729a921f71798554c

Response handling

  • 200 OK: synchronous read success or completed idempotent replay.
  • 202 Accepted: job accepted only. Always poll /v1/jobs/{jobId}.
  • 400 Bad Request: schema validation failed.
  • 401 Unauthorized: JWT missing, invalid, or expired.
  • 403 Forbidden: invalid HMAC, invalid timestamp window, or insufficient scope.
  • 409 Conflict: idempotency conflict or known failed replay.
  • 422 Unprocessable Entity: valid JSON but impossible business transition.
  • 429 Too Many Requests: wait for Retry-After.
  • 500 Internal Server Error: unexpected server failure.
  • 503 Service Unavailable: service degraded or Redis unavailable.

Absolute refusal rules

  • Never report business success immediately after a 202.
  • Never modify TTC price directly. Only HT price may be changed.
  • Never delete a product that has associated orders.
  • Never access the database or filesystem directly.
  • Never send payloads larger than 10MB.
  • Never perform heavy writes synchronously.
  • Never reuse an X-Request-ID for a different business intention within 24 hours.

Pre-deployment checks

  • Verify JWT issuance and validation with RS256 only.
  • Verify the exact HMAC example in examples.http.
  • Verify schema validation for all request bodies.
  • Verify Redis-backed idempotency replay behavior.
  • Verify MySQL-backed job polling after Redis restart.
  • Verify idempotent handlers under at-least-once delivery.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

85.82%
按下载量换算1,126

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills