Square
БесплатноБез исполняемых скриптовНе проверенSquare API integration with managed OAuth. Install only if you need Square administration. Connect with the least-privileged Square account and OAuth scopes…
от byungkyu7 825 установок в других каталогахОб этом скилле
Square
Access the Square API with managed OAuth authentication. See the API Reference below for supported endpoints.
Quick Start
maton login # authenticate once (device flow, recommended)
maton connection create squareup # connect the account (needs user approval)
maton api '/squareup/v2/locations' # first call
Installation
NPM
npm install -g @maton/[email protected]
Homebrew
brew install maton-ai/cli/maton
brew pin maton
Versions are pinned to the release this skill was reviewed against. Upgrade deliberately - check the release notes, then move the pin - rather than by re-running an unpinned install. Homebrew cannot select a version from a tap, so brew pin maton holds the installed build until you choose to upgrade; maton-ai/cli is Maton's own tap.
Authentication
maton login
Prints a login link. Open it in a browser and copy the verification code shown. Then run maton login --code <CODE> to finish signing in. Once complete, it creates a profile in config.toml (eg. $HOME/.config/maton/config.toml) and stores the access and refresh tokens in the operating system's credential store (Keychain on macOS, Credential Manager on Windows, Secret Service on Linux), auto-renewed on expiry. The CLI reads them when it needs them.
Verify
maton whoami --json
{
"authenticated": true,
"profile_name": "[email protected]",
"auth_type": "oauth"
}
- If
authenticatedisfalse, stop and login again viamaton login. - If
auth_typeisapi_key, it is recommended to login viamaton loginand avoid keeping a long-lived credential.
Connections
List Connections
maton connection list squareup --status ACTIVE
{
"connections": [
{
"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=5e9...",
"app": "squareup",
"method": "OAUTH2",
"metadata": {}
}
]
}
Refer to maton connection list --help for possible flags and values.
Create Connection
Requires explicit user approval. Confirm that the user intends to authorize Square access before running this. Never create a connection on your own initiative.
maton connection create squareup
maton connection create squareup --scopes PAYMENTS_READ
Square offers a choice of OAuth scopes: ask the user which permissions they want and propose the narrowest set the task needs, then pass them with --scopes (repeatable or comma-separated). The required scopes are always added, and leaving --scopes out requests the defaults. An unsupported scope returns 400 with the scopes Square offers. --access-policy '<json>' (or --access-policy-file policy.json) limits which Square endpoints the connection may call; see Change Access Policy.
references/scopes.md lists the OAuth scopes Square offers, and references/access-policy.md the read-only access policy (its read endpoints are listed with descriptions at https://docs.maton.ai/squareup#permissions).
Refer to maton connection create --help for possible flags and values.
Get Connection
maton connection get {connection_id}
{
"connection": {
"connection_id": "{connection_id}",
"status": "PENDING",
"creation_time": "2025-12-08T07:20:53.488460Z",
"last_updated_time": "2026-01-31T20:03:32.593153Z",
"url": "https://connect.maton.ai/?session_token=5e9...",
"app": "squareup",
"metadata": {},
"access_policy": null
}
}
Open the returned URL in a browser to complete authorizing Square. If Square offers scope selection, choose only the scopes the current task needs.
Once the connection is ACTIVE, metadata.granted_scopes lists the OAuth scopes Square actually granted; the user may grant fewer than were chosen.
access_policy is null when the connection has full access, or the allow and deny rules it is limited to. If a call returns 403 from Square and the response's maton_hint names a missing permission, tell the user; don't retry and don't create a new connection. Offer to change the connection's scopes (see Reauthorize Connection), only if the user agrees.
Reauthorize Connection
Requires explicit user approval. Confirm the connection and that the user intends to authorize access again. Never reauthorize a connection on your own initiative.
maton connection reauthorize {connection_id}
Reauthorizes a FAILED or PENDING connection in place: the user authorizes the app again in the browser and the connection keeps its ID, so anything using that ID keeps working. To change the OAuth scopes of an ACTIVE connection, run `maton co
Установить Square в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadGrepGlobFAQ
Что делает скилл Square?
Square API integration with managed OAuth. Install only if you need Square administration. Connect with the least-privileged Square account and OAuth scopes available, verify the intended connection ID before each request, and revoke unused connections promptly. This integration can mutate Square data — approve only specific write actions after checking the exact endpoint, account, resource ID, and consequence. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key. Calls run through the `maton` CLI with OAuth login, or over raw HTTP with a Maton API key where the CLI cannot be installed. Every call is authenticated as the user's connection and reaches only what that connection's authorization allows, which the provider enforces on every request; the endpoints documented here are the ones this skill uses, and any other endpoint of this app needs the user to ask for it by name. Default to read and list calls, and confirm every write or new connection with the user. This file also documents the three constructs that turn a Square connection into automation, in the order they are used: the connection (the first step), a hosted function that runs a Square action through the Maton SDK, and a trigger that calls that function on a schedule or on an event. Running that automation includes administering it, and the skill covers that too: listing, reauthorizing and deleting connections, and changing or clearing a connection's access policy, which sets the endpoints it may call; creating, deploying, searching, updating and deleting functions and their environment variables; creating, updating and deleting triggers and their destinations, including pointing a destination at a URL the user supplies and rotating its signing secret; listing, inspecting and replaying a trigger's past events, where a replay delivers that event again and re-runs whatever it starts; reading the account's request
Как установить скилл Square?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Square запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic