Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

polar

БесплатноБез исполняемых скриптовНе проверен

Polar API integration with managed OAuth. Polar (polar.sh) is a payments and merchant-of-record platform for software: manage products and prices, checkout…

matonот maton99 установок в других каталогах

Об этом скилле

Polar

Access the Polar API with managed OAuth authentication. Manage products, checkouts, orders, subscriptions, customers, refunds, discounts, benefits, license keys, meters, and metrics for software sold through Polar. All access runs through the Maton gateway and the maton CLI.

Quick Start

maton login                                     # authenticate once (device flow, recommended)
maton connection create polar                   # connect the account (needs user approval)
maton api '/polar/v1/organizations/'            # 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 authenticated is false, stop and login again via maton login.
  • If auth_type is api_key, it is recommended to login via maton login and avoid keeping a long-lived credential.

Connections

List Connections

maton connection list polar --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": "polar",
      "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 Polar access before running this. Never create a connection on your own initiative.

maton connection create polar

Polar connects with OAuth on the Maton connect page and supports Polar production only (sandbox accounts cannot be connected). openid, profile and email are always requested, and every other Polar scope is requested by default.

Each resource has a :read and a :write scope: products, checkout_links, checkouts, orders, subscriptions, customers, members, refunds, discounts, benefits, license_keys, meters, events, files, custom_fields, disputes, wallets, payouts, transactions, webhooks, metrics, organizations, user, customer_seats, customer_portal, notifications, notification_recipients; plus payments:read, customer_meters:read, customer_sessions:write, member_sessions:write. Prefer read scopes for read tasks. On Polar's consent screen the user can also limit the token to one organization.

maton connection create polar --scopes products:read

Polar 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 Polar offers. --access-policy '<json>' (or --access-policy-file policy.json) limits which Polar endpoints the connection may call; see Change Access Policy.

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": "polar",
    "metadata": {},
    "access_policy": null
  }
}

Open the returned URL in a browser to complete authorizing Polar. If Polar offers scope selection, choose only the scopes the current task needs.

Once the connection is ACTIVE, metadata.granted_scopes lists the OAuth scopes Polar 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

Полный SKILL.md на ClawHub

Установить polar в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Read
Grep
Glob

FAQ

Что делает скилл polar?

Polar API integration with managed OAuth. Polar (polar.sh) is a payments and merchant-of-record platform for software: manage products and prices, checkout links and sessions, orders, subscriptions, customers, refunds, discounts, benefits, license keys, usage meters, and revenue metrics. Use this skill when users want to look up Polar orders, subscriptions, or customers, check revenue and MRR metrics, create or update products, checkout links, or discounts, cancel or change a subscription, issue a refund, or manage license keys. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). 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 Polar connection into automation, in the order they are used: the connection (the first step), a hosted function that runs a Polar 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

Как установить скилл polar?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл polar запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить polar с