Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计通过

squarespacesquarespace 搜索

Agent Skill

squarespace 用于辅助安全审计、权限检查和凭据风险排查,适合在 OpenClaw 中需要复核安全边界、认证流程或敏感配置时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

13,126

周安装

531

GitHub Stars

公开资料未说明

下载量

4,121
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install squarespace

简介

Squarespace 技能用于辅助安全审计、权限检查和凭据风险排查,适合复核安全边界。

  • 适用于需要验证认证流程或敏感配置的场景,提供电商数据管理功能。
  • 通过托管 OAuth 集成 Squarespace Commerce API,管理产品、订单和客户资料。
  • 安装命令为 openclaw skills install squarespace,需确认权限范围和维护状态。
  • 建议在使用前核验是否会触发联网或文件读写操作。

SKILL.md

name
squarespace
description
|
compatibility
Requires network access and valid Maton API key
metadata
author
maton
version
1.0
clawdbot
emoji
homepage
https://maton.ai
requires
env

Squarespace

Access the Squarespace Commerce API with managed OAuth authentication. Manage products, inventory, orders, customer profiles, and transactions.

Quick Start

# List all products (v2 API)
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/squarespace/v2/commerce/products')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('User-Agent', 'MyClaude/1.0')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Base URL

https://api.maton.ai/squarespace/{native-api-path}

Maton proxies requests to api.squarespace.com and automatically injects your OAuth token.

Authentication

All requests require the Maton API key in the Authorization header:

Authorization: Bearer $MATON_API_KEY

Environment Variable: Set your API key as MATON_API_KEY:

export MATON_API_KEY="YOUR_API_KEY"

Getting Your API Key

  1. Sign in or create an account at maton.ai
  2. Go to maton.ai/settings
  3. Copy your API key

Connection Management

Manage your Squarespace OAuth connections at https://api.maton.ai.

List Connections

python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/connections?app=squarespace&status=ACTIVE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Create Connection

python <<'EOF'
import urllib.request, os, json
data = json.dumps({'app': 'squarespace'}).encode()
req = urllib.request.Request('https://api.maton.ai/connections', data=data, method='POST')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Content-Type', 'application/json')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Get Connection

python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/connections/{connection_id}')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Response:

{
  "connection": {
    "connection_id": "{connection_id}",
    "status": "ACTIVE",
    "creation_time": "2025-12-08T07:20:53.488460Z",
    "last_updated_time": "2026-01-31T20:03:32.593153Z",
    "url": "https://connect.maton.ai/?session_token=...",
    "app": "squarespace",
    "metadata": {}
  }
}

Open the returned url in a browser to complete OAuth authorization.

Delete Connection

python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/connections/{connection_id}', method='DELETE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Specifying Connection

If you have multiple Squarespace connections, specify which one to use with the Maton-Connection header:

python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/squarespace/v2/commerce/products')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('User-Agent', 'MyClaude/1.0')
req.add_header('Maton-Connection', '{connection_id}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

If you have multiple connections, always include this header to ensure requests go to the intended account.

Security & Permissions

  • Access is scoped to products, inventory, orders, customer profiles, and transactions within the connected Squarespace account.
  • All write operations require explicit user approval. Before executing any create, update, or delete call, confirm the target resource and intended effect with the user.

API Reference

Inventory

List All Inventory

GET /squarespace/1.0/commerce/inventory

Query parameters:

  • cursor (optional): Pagination cursor from previous response

Response:

{
  "inventory": [
    {
      "variantId": "5ba1418df4204bb2d21eac3f",
      "sku": "SQ0001",
      "descriptor": "Product Name - Size: Medium",
      "isUnlimited": false,
      "quantity": 25
    }
  ],
  "pagination": {
    "hasNextPage": true,
    "nextPageCursor": "abc123",
    "nextPageUrl": "https://api.squarespace.com/1.0/commerce/inventory?cursor=abc123"
  }
}

Get Specific Inventory

GET /squarespace/1.0/commerce/inventory/{variantIds}
  • {variantIds}: Comma-separated variant IDs (max 50)

Adjust Stock Quantities

POST /squarespace/1.0/commerce/inventory/adjustments
Content-Type: application/json
Idempotency-Key: unique-key-here

{
  "incrementOperations": [{"variantId": "variant-id-1", "quantity": 5}],
  "decrementOperations": [{"variantId": "variant-id-2", "quantity": 2}],
  "setFiniteOperations": [{"variantId": "variant-id-3", "quantity": 100}],
  "setUnlimitedOperations": ["variant-id-4"]
}

Response: 204 No Content on success


Orders

List All Orders

GET /squarespace/1.0/commerce/orders

Query parameters:

  • customerId (optional): Filter by customer ID
  • modifiedAfter (conditional): ISO 8601 datetime (e.g., 2024-01-01T00:00:00Z) - required with modifiedBefore
  • modifiedBefore (conditional): ISO 8601 datetime - required with modifiedAfter
  • cursor (optional): Pagination cursor
  • fulfillmentStatus (optional): PENDING, FULFILLED, or CANCELED

Note: Cannot combine cursor with date range parameters. Date filters must be used together.

Response:

{
  "result": [
    {
      "id": "order-id",
      "orderNumber": "1001",
      "createdOn": "2024-01-15T10:30:00Z",
      "modifiedOn": "2024-01-15T12:00:00Z",
      "channel": "web",
      "testmode": false,
      "customerEmail": "customer@example.com",
      "fulfillmentStatus": "PENDING",
      "lineItems": [...],
      "subtotal": {"value": "99.99", "currency": "USD"},
      "shippingTotal": {"value": "9.99", "currency": "USD"},
      "taxTotal": {"value": "8.50", "currency": "USD"},
      "grandTotal": {"value": "118.48", "currency": "USD"}
    }
  ],
  "pagination": {
    "hasNextPage": true,
    "nextPageCursor": "abc123",
    "nextPageUrl": "..."
  }
}

Get Specific Order

GET /squarespace/1.0/commerce/orders/{orderId}

Create Order

POST /squarespace/1.0/commerce/orders
Content-Type: application/json
Idempotency-Key: unique-key-here

{
  "channelName": "External Store",
  "externalOrderReference": "ORDER-12345",
  "customerEmail": "customer@example.com",
  "lineItems": [
    {
      "lineItemType": "PHYSICAL_PRODUCT",
      "variantId": "variant-id",
      "quantity": 2,
      "unitPricePaid": {"currency": "USD", "value": "29.99"}
    }
  ],
  "subtotal": {"currency": "USD", "value": "59.98"},
  "priceTaxInterpretation": "EXCLUSIVE",
  "grandTotal": {"currency": "USD", "value": "59.98"},
  "createdOn": "2024-01-15T10:30:00Z"
}

Response: 201 Created with Order object

Note: subtotal must equal the sum of lineItems.unitPricePaid.value * quantity.

Fulfill Order

POST /squarespace/1.0/commerce/orders/{orderId}/fulfillments
Content-Type: application/json

{
  "shouldSendNotification": true,
  "shipments": [
    {
      "shipDate": "2024-01-16T08:00:00Z",
      "carrierName": "USPS",
      "service": "Priority Mail",
      "trackingNumber": "9400111899223456789012",
      "trackingUrl": "https://tools.usps.com/go/TrackConfirmAction?tLabels=9400111899223456789012"
    }
  ]
}

Response: 204 No Content on success


Products

List Store Pages

GET /squarespace/1.0/commerce/store_pages

Query parameters:

  • cursor (optional): Pagination cursor

Response:

{
  "storePages": [
    {
      "id": "store-page-id",
      "title": "Main Store",
      "isEnabled": true,
      "urlSlug": "store"
    }
  ],
  "pagination": {...}
}

List All Products

GET /squarespace/v2/commerce/products

Query parameters:

  • modifiedAfter (optional): ISO 8601 datetime
  • modifiedBefore (optional): ISO 8601 datetime
  • type (optional): Comma-separated types: PHYSICAL, SERVICE, GIFT_CARD, DIGITAL
  • cursor (optional): Pagination cursor

Note: Cannot combine cursor with date/type filters.

Response:

{
  "products": [
    {
      "id": "product-id",
      "type": "PHYSICAL",
      "storePageId": "store-page-id",
      "name": "Product Name",
      "description": "<p>HTML description</p>",
      "url": "https://example.squarespace.com/store/product-slug",
      "urlSlug": "product-slug",
      "tags": ["tag1", "tag2"],
      "isVisible": true,
      "variants": [...],
      "images": [...],
      "createdOn": "2024-01-01T00:00:00Z",
      "modifiedOn": "2024-01-15T12:00:00Z"
    }
  ],
  "pagination": {...}
}

Get Specific Products

GET /squarespace/v2/commerce/products/{productIds}
  • {productIds}: Comma-separated product IDs (max 50)

Create Product

POST /squarespace/v2/commerce/products
Content-Type: application/json

{
  "type": "PHYSICAL",
  "storePageId": "store-page-id",
  "name": "New Product",
  "description": "<p>Product description</p>",
  "urlSlug": "new-product",
  "tags": ["new", "featured"],
  "isVisible": true,
  "variants": [
    {
      "sku": "SKU-001",
      "pricing": {
        "basePrice": {"currency": "USD", "value": "49.99"}
      },
      "stock": {"quantity": 100, "unlimited": false}
    }
  ]
}

Response: 201 Created with Product object

Update Product

POST /squarespace/v2/commerce/products/{productId}
Content-Type: application/json

{
  "name": "Updated Product Name",
  "description": "<p>Updated description</p>",
  "isVisible": true,
  "tags": ["updated", "sale"]
}

Response: 200 OK with Product object

Delete Product

DELETE /squarespace/v2/commerce/products/{productId}

Response: 204 No Content on success


Product Variants

Create Variant

POST /squarespace/v2/commerce/products/{productId}/variants
Content-Type: application/json

{
  "sku": "SKU-002",
  "pricing": {
    "basePrice": {"currency": "USD", "value": "59.99"},
    "salePrice": {"currency": "USD", "value": "49.99"},
    "onSale": true
  },
  "stock": {"quantity": 50, "unlimited": false},
  "attributes": {"Size": "Large"},
  "shippingMeasurements": {
    "weight": {"unit": "POUND", "value": 1.5},
    "dimensions": {"unit": "INCH", "length": 10, "width": 8, "height": 4}
  }
}

Response: 201 Created with ProductVariant object

Note: To use attributes, the product must first have matching variantAttributes set via Update Product (e.g., "variantAttributes": ["Size"]).

Update Variant

POST /squarespace/v2/commerce/products/{productId}/variants/{variantId}
Content-Type: application/json

{
  "sku": "SKU-002-UPDATED",
  "pricing": {
    "basePrice": {"currency": "USD", "value": "64.99"},
    "onSale": false
  }
}

Response: 200 OK with ProductVariant object

Note: Stock and images cannot be updated via this endpoint.

Delete Variant

DELETE /squarespace/v2/commerce/products/{productId}/variants/{variantId}

Response: 204 No Content on success

Note: Cannot delete the only variant of a product.


Product Images

Upload Image

POST /squarespace/v2/commerce/products/{productId}/images
Content-Type: multipart/form-data

curl "https://api.maton.ai/squarespace/v2/commerce/products/{productId}/images" \
  -H "Authorization: Bearer $MATON_API_KEY" \
  -H "User-Agent: MyClaude/1.0" \
  -X POST \
  -F file=@image.png

Response: 202 Accepted

{
  "imageId": "image-id"
}

Requirements:

  • Dimensions: less than 60MP
  • File types: JPEG, JPG, PNG, GIF
  • Max file size: 20MB (under 500KB recommended)
  • Max 100 images per product

Check Upload Status

GET /squarespace/v2/commerce/products/{productId}/images/{imageId}/status

Response:

{
  "status": "PROCESSING"
}

Status values: PROCESSING, READY, ERROR

Update Image (Alt Text)

POST /squarespace/v2/commerce/products/{productId}/images/{imageId}
Content-Type: application/json

{
  "altText": "Product image description"
}

Response: 200 OK with ProductImage object

Reorder Image

POST /squarespace/v2/commerce/products/{productId}/images/{imageId}/order
Content-Type: application/json

{
  "afterImageId": "other-image-id"
}

Use null for afterImageId to move image to the top.

Response: 204 No Content

Assign Image to Variant

POST /squarespace/v2/commerce/products/{productId}/variants/{variantId}/image
Content-Type: application/json

{
  "imageId": "image-id"
}

Use null for imageId to remove the image from the variant.

Response: 204 No Content

Delete Image

DELETE /squarespace/v2/commerce/products/{productId}/images/{imageId}

Response: 204 No Content


Profiles (Customers)

List All Profiles

GET /squarespace/1.0/profiles

Query parameters:

  • cursor (optional): Pagination cursor
  • filter (optional): Semicolon-separated filters (e.g., isCustomer,true;hasAccount,true)
  • sortDirection (optional): asc or dsc (default: dsc)
  • sortField (optional): createdOn, id, email, or lastName (default: id)

Filter options:

  • isCustomer,true or isCustomer,false
  • hasAccount,true or hasAccount,false
  • email,customer@example.com

Response:

{
  "profiles": [
    {
      "id": "profile-id",
      "firstName": "John",
      "lastName": "Doe",
      "email": "john@example.com",
      "hasAccount": true,
      "isCustomer": true,
      "createdOn": "2024-01-01T00:00:00Z",
      "address": {
        "address1": "123 Main St",
        "city": "New York",
        "state": "NY",
        "countryCode": "US",
        "postalCode": "10001"
      },
      "acceptsMarketing": true,
      "transactionsSummary": {
        "orderCount": 5,
        "totalOrderAmount": {"value": "499.95", "currency": "USD"}
      }
    }
  ],
  "pagination": {...}
}

Get Specific Profiles

GET /squarespace/1.0/profiles/{profileIds}
  • {profileIds}: Comma-separated profile IDs (max 50)

Transactions

List All Transactions

GET /squarespace/1.0/commerce/transactions

Query parameters:

  • modifiedAfter (conditional): ISO 8601 datetime - required with modifiedBefore
  • modifiedBefore (conditional): ISO 8601 datetime - required with modifiedAfter
  • cursor (optional): Pagination cursor

Note: Date filters must be used together (both modifiedAfter and modifiedBefore are required when filtering by date).

Response:

{
  "documents": [
    {
      "id": "document-id",
      "createdOn": "2024-01-15T10:30:00Z",
      "modifiedOn": "2024-01-15T12:00:00Z",
      "customerEmail": "customer@example.com",
      "salesOrderId": "order-id",
      "voided": false,
      "totalSales": {"value": "99.99", "currency": "USD"},
      "totalNetSales": {"value": "99.99", "currency": "USD"},
      "totalTaxes": {"value": "8.50", "currency": "USD"},
      "total": {"value": "108.49", "currency": "USD"},
      "payments": [
        {
          "id": "payment-id",
          "amount": {"value": "108.49", "currency": "USD"},
          "creditCardType": "VISA",
          "provider": "STRIPE",
          "paidOn": "2024-01-15T10:35:00Z"
        }
      ]
    }
  ],
  "pagination": {...}
}

Get Specific Transactions

GET /squarespace/1.0/commerce/transactions/{documentIds}
  • {documentIds}: Comma-separated document IDs (max 50)

Pagination

Squarespace uses cursor-based pagination. Response includes:

{
  "pagination": {
    "hasNextPage": true,
    "nextPageCursor": "cursor-value",
    "nextPageUrl": "https://api.squarespace.com/..."
  }
}

To get the next page, use the cursor parameter:

GET /squarespace/v2/commerce/products?cursor=cursor-value

Code Examples

JavaScript

const response = await fetch(
  'https://api.maton.ai/squarespace/v2/commerce/products',
  {
    headers: {
      'Authorization': `Bearer ${process.env.MATON_API_KEY}`,
      'User-Agent': 'MyClaude/1.0'
    }
  }
);
const data = await response.json();
console.log(data.products);

Python

import os
import requests

response = requests.get(
    'https://api.maton.ai/squarespace/v2/commerce/products',
    headers={
        'Authorization': f'Bearer {os.environ["MATON_API_KEY"]}',
        'User-Agent': 'MyClaude/1.0'
    }
)
products = response.json()['products']

Notes

  • Products API uses version v2 (e.g., /squarespace/v2/commerce/products)
  • Store Pages endpoint uses version 1.0 (e.g., /squarespace/1.0/commerce/store_pages)
  • Inventory, Orders, Profiles, and Transactions APIs use version 1.0
  • All requests require a User-Agent header describing your application
  • Requests without a custom User-Agent are subject to stricter rate limits
  • Maximum 50 items per batch request (inventory, products, profiles, transactions)
  • Create Order has a stricter rate limit: 100 requests per hour per website
  • Idempotency-Key header is required for stock adjustments and order creation
  • IMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments

Rate Limits

  • General: 300 requests per minute (5 per second)
  • Create Order: 100 requests per hour per website (with API key auth)
  • Exceeding limits returns 429 Too Many Requests with a one-minute cooldown

Error Handling

StatusMeaning
400Invalid request parameters or missing Squarespace connection
401Invalid or missing Maton API key
404Resource not found
405Method not allowed for product type
409Conflict (duplicate SKU, concurrent modification, etc.)
429Rate limited
4xx/5xxPassthrough error from Squarespace API

Troubleshooting: API Key Issues

  1. Check that the MATON_API_KEY environment variable is set:
echo $MATON_API_KEY
  1. Verify the API key is valid by listing connections:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/connections')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Troubleshooting: Invalid App Name

Ensure your URL path starts with squarespace. For example:

  • Correct: https://api.maton.ai/squarespace/1.0/commerce/products
  • Incorrect: https://api.maton.ai/1.0/commerce/products

Resources

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

72.28%
按下载量换算2,979

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills