Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计提醒

square-automation广场自动化

Agent Skill

square-automation 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

594

周安装

25

GitHub Stars

52

下载量

208
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:square-automation(广场自动化)
来源仓库:https://github.com/aaaaqwq/claude-code-skills
仓库路径:skills/square-automation
安装命令:
npx skills add https://github.com/aaaaqwq/claude-code-skills --skill square-automation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/aaaaqwq/claude-code-skills --skill square-automation

简介

square-automation 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 它支持通过指定仓库、路径或关键词进行信息聚合与过滤,适用于研究、数据整理等场景。
  • 可通过 npx skills add 命令从 GitHub 安装,具体用法需结合原始 README 进一步确认。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Square Automation via Rube MCP

Automate Square payment processing, order management, and invoicing through Composio's Square toolkit via Rube MCP.

Prerequisites

  • Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
  • Active Square connection via RUBE_MANAGE_CONNECTIONS with toolkit square
  • Always call RUBE_SEARCH_TOOLS first to get current tool schemas

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit square
  3. If connection is not ACTIVE, follow the returned auth link to complete Square OAuth
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. List and Monitor Payments

When to use: User wants to view payment history or check payment status

Tool sequence:

  1. SQUARE_LIST_PAYMENTS - Retrieve payments with optional filters [Required]
  2. SQUARE_CANCEL_PAYMENT - Cancel a pending payment if needed [Optional]

Key parameters:

  • begin_time / end_time: RFC 3339 timestamps for date range filtering
  • sort_order: 'ASC' or 'DESC' for chronological ordering
  • cursor: Pagination cursor from previous response
  • location_id: Filter payments by specific location

Pitfalls:

  • Timestamps must be RFC 3339 format (e.g., '2024-01-01T00:00:00Z')
  • Pagination required for large result sets; follow cursor until absent
  • Only pending payments can be cancelled; completed payments require refunds
  • SQUARE_CANCEL_PAYMENT requires exact payment_id from list results

2. Search and Manage Orders

When to use: User wants to find orders by criteria or update order details

Tool sequence:

  1. SQUARE_LIST_LOCATIONS - Get location IDs for filtering [Prerequisite]
  2. SQUARE_SEARCH_ORDERS - Search orders with filters [Required]
  3. SQUARE_RETRIEVE_ORDER - Get full details of a specific order [Optional]
  4. SQUARE_UPDATE_ORDER - Modify order state or details [Optional]

Key parameters:

  • location_ids: Array of location IDs to search within (required for search)
  • query: Search filter object with date ranges, states, fulfillment types
  • order_id: Specific order ID for retrieve/update operations
  • cursor: Pagination cursor for search results

Pitfalls:

  • location_ids is required for SEARCH_ORDERS; get IDs from LIST_LOCATIONS first
  • Order states include: OPEN, COMPLETED, CANCELED, DRAFT
  • UPDATE_ORDER requires the current version field to prevent conflicts
  • Search results are paginated; follow cursor until absent

3. Manage Locations

When to use: User wants to view business locations or get location details

Tool sequence:

  1. SQUARE_LIST_LOCATIONS - List all business locations [Required]

Key parameters:

  • No required parameters; returns all accessible locations
  • Response includes id, name, address, status, timezone

Pitfalls:

  • Location IDs are required for most other Square operations (orders, payments)
  • Always cache location IDs after first retrieval to avoid redundant calls
  • Inactive locations may still appear in results; check status field

4. Invoice Management

When to use: User wants to list, view, or cancel invoices

Tool sequence:

  1. SQUARE_LIST_LOCATIONS - Get location ID for filtering [Prerequisite]
  2. SQUARE_LIST_INVOICES - List invoices for a location [Required]
  3. SQUARE_GET_INVOICE - Get detailed invoice information [Optional]
  4. SQUARE_CANCEL_INVOICE - Cancel a scheduled or unpaid invoice [Optional]

Key parameters:

  • location_id: Required for listing invoices
  • invoice_id: Required for get/cancel operations
  • cursor: Pagination cursor for list results
  • limit: Number of results per page

Pitfalls:

  • location_id is required for LIST_INVOICES; resolve via LIST_LOCATIONS first
  • Only SCHEDULED, UNPAID, or PARTIALLY_PAID invoices can be cancelled
  • CANCEL_INVOICE requires the invoice version to prevent race conditions
  • Cancelled invoices cannot be uncancelled

Common Patterns

ID Resolution

Location name -> Location ID:

1. Call SQUARE_LIST_LOCATIONS
2. Find location by name in response
3. Extract id field (e.g., 'L1234ABCD')

Order lookup:

1. Call SQUARE_SEARCH_ORDERS with location_ids and query filters
2. Extract order_id from results
3. Use order_id for RETRIEVE_ORDER or UPDATE_ORDER

Pagination

  • Check response for cursor field
  • Pass cursor value in next request's cursor parameter
  • Continue until cursor is absent or empty
  • Use limit to control page size

Date Range Filtering

  • Use RFC 3339 format: 2024-01-01T00:00:00Z
  • For payments: begin_time and end_time parameters
  • For orders: Use query filter with date_time_filter
  • All timestamps are in UTC

Known Pitfalls

ID Formats:

  • Location IDs are alphanumeric strings (e.g., 'L1234ABCD')
  • Payment IDs and Order IDs are longer alphanumeric strings
  • Always resolve location names to IDs before other operations

Versioning:

  • UPDATE_ORDER and CANCEL_INVOICE require current version field
  • Fetch the resource first to get its current version
  • Version mismatch returns a 409 Conflict error

Rate Limits:

  • Square API has per-endpoint rate limits
  • Implement backoff for bulk operations
  • Pagination should include brief delays for large datasets

Response Parsing:

  • Responses may nest data under data key
  • Money amounts are in smallest currency unit (cents for USD)
  • Parse defensively with fallbacks for optional fields

Quick Reference

TaskTool SlugKey Params
List paymentsSQUARE_LIST_PAYMENTSbegin_time, end_time, location_id, cursor
Cancel paymentSQUARE_CANCEL_PAYMENTpayment_id
Search ordersSQUARE_SEARCH_ORDERSlocation_ids, query, cursor
Get orderSQUARE_RETRIEVE_ORDERorder_id
Update orderSQUARE_UPDATE_ORDERorder_id, version
List locationsSQUARE_LIST_LOCATIONS(none)
List invoicesSQUARE_LIST_INVOICESlocation_id, cursor
Get invoiceSQUARE_GET_INVOICEinvoice_id
Cancel invoiceSQUARE_CANCEL_INVOICEinvoice_id, version

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.14%
按下载量换算77

Claude

31.95%
按下载量换算66

Cursor

19.43%
按下载量换算40

Gemini CLI

8.88%
按下载量换算18

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

来源信息

继续浏览同类 Skills