credits-quotas-plans
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "credits-quotas-plans" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-7aa89d2d40d268ec3e213437af3c258f6f2e03d3c9265751b5b3c119f5a1e41a. Verify the upstream source and version against https://github.com/clay-run/agent-plugins before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Used when a workspace's credits, quotas, or plan allowances are insufficient or when a planned task would exceed remaining allowances. Covers data credit balances, operation execution balances, search result limits, periodic quotas, and suggests upgrade paths before starting tasks that may only complete partially.
Introduction source: third_party · clay-run · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Use when the user asks about credits, quotas, or plan limits, or verified usage requires a significant-spend warning or reveals a limit. Covers data-credit balance, action-execution balance, search result caps, period quotas, and upgrade paths before starting work that would only partially complete.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: credits-quotas-plans
description: Use when the user asks about credits, quotas, or plan limits, or verified usage requires a significant-spend warning or reveals a limit. Covers data-credit balance, action-execution balance, search result caps, period quotas, and upgrade paths before starting work that would only partially complete.Credits, quotas, and plans
Follow the shared cost policy in workflows-discover-actions/cost-and-budget.md. Check headroom internally before paid work;
do not announce balances or suggest purchases just because a tool returned billing data.
Stop and explain a verified shortfall rather than knowingly starting a partial run.
An unknown cost does not establish a shortfall or require a cost-only approval.
Triage
After checking what remains (below), route by what is short:
balanceshort — CLI top-up or billing UI (addCredits). Prefer auto top-up.actionExecutionBalanceshort (when the field is present) — plan selector only. There is no top-up for action executions. Do not offeronce,auto, oraddCredits.- Search
quota_exceededor period cap exhausted — plan selector and/or wait for the named reset in the error message. Defer shrink/retry rules to thesearchskill; do not invent a top-up path for result caps.
Plan selector URL (upgrade or change plan):
clay whoami | jq -r '.workspace.id'
https://app.clay.com/workspaces/<workspaceId>/billing/plan-selector
Check what remains
clay credits balance | jq '{ balance, actionExecutionBalance }'
balance is the data-credit pool. actionExecutionBalance is optional — present
only on action-execution pricing plans; omit or ignore it when the field is null
or absent (legacy billing). Plenty of one does not cover the other.
For routine runs, clay routines get <id> includes per-item cost estimates.
When the estimate applies to the configured execution and its counts are known, multiply
each cost by the number of items and compare against the matching balance. See the
routines skill for estimate limitations and the stop-before-partial-run rule.
Read clay credits balance --help for field semantics.
CLI top-up
Applies to data-credit balance only — not actionExecutionBalance.
Prefer auto top-up. Lead with enabling (or confirming) auto so the workspace stays funded without another interrupt. Only offer a one-time purchase if the user pushes back against auto, or if auto is unavailable.
Read clay credits top-up <subcommand> --help for the exact JSON output shape,
flags, and examples; that help is the contract.
clay credits top-up auto get
clay credits top-up auto enable --threshold <n> --credits <n> [--daily-spend-limit-cents <n|none>]
clay credits top-up auto disable
clay credits top-up once --credits <n> [--open] # only if user declines auto, or auto unavailable
Auto enable limits:
--credits: at least 250 data credits; the plan-specific maximum is the number of credits currently equivalent to $1000--daily-spend-limit-cents: optional rolling 24-hour cap, 3000–500000, ornoneto clear; must cover the current price of one top-up--threshold: credit balance that triggers a top-up; must be at least 15% of the workspace subscription-cycle credit allowance (the server error includes the exact minimum when too low)
If the current balance is already at or below --threshold when auto is
enabled, a top-up runs immediately — it does not wait for the next charge.
Tell the user that enabling auto can purchase credits right away when they are
already under the threshold.
Auto get/disable return the same policy shape as enable.
Once (fallback): --credits must be at least 250. Returns a checkout url;
--open launches it in the browser. Credits land only after checkout completes —
do not treat command exit as a topped-up balance.
Errors worth knowing (from credits balance / credits top-up):
auth_forbidden(exit 3) — billing-management access requirednot_found(exit 6) — auto top-up unavailable for this workspace, or disable when not currently enabled; fall back toonceor the billing UI
Do not run top-up without explicit user confirmation. credits top-up
commands are gated from auto-approval in the plugin — present options and wait
for the user before auto enable, once, or checkout --open.
Billing UI
Prefer CLI auto first. Use the billing UI when the user wants the browser, or as the one-time fallback after they decline auto / auto is unavailable:
clay whoami | jq -r '.workspace.id'
https://app.clay.com/workspaces/<workspaceId>/home?addCredits=true
The addCredits=true query opens the buy-credits modal directly.
Search and result-cap quotas
There is no CLI to top up search result caps or period quotas. Auto top-up only replenishes credit shortfalls — it does not raise per-search or per-period result limits.
quota_exceeded (exit 1, HTTP 402) is a plan result cap or credit/usage limit —
not a transient failure (do not retry with backoff). Prefer the plan selector over top-up unless the
message is clearly a data-credit shortfall that top-up can fix. When the error
is about results already requested vs a cap, or a named period reset, stop
paging; for shrink/retry rules follow the searches skill's Quotas section — do
not invent a top-up path for result caps.
Plan selector:
clay whoami | jq -r '.workspace.id'
https://app.clay.com/workspaces/<workspaceId>/billing/plan-selector
Version history
-
clay-cli-v1.22.0
GitHub ↗
Original release notes
Standalone Clay CLI 1.22.0 binaries, consumed by the Clay agent plugin. ## What's new - `clay ad-syncs trigger <adSyncId>` starts an export of an ad sync’s audience to its destinations: a draft’s first trigger starts the sync, later triggers run it again, and a paused sync resumes. - When a command fails because of a plan limit, the agent shows the upgrade link from the error and offers a way to continue without the gated feature. - Various bug fixes and stability improvements.
-
clay-cli-v1.21.0
GitHub ↗
Original release notes
Standalone Clay CLI 1.21.0 binaries, consumed by the Clay agent plugin. ## What's new - `clay knowledge-hub skills create` saves agent skills to the workspace and resolves duplicate names without overwriting existing skills. - Various bug fixes and stability improvements.
-
clay-cli-v1.20.0
GitHub ↗
Original release notes
Standalone Clay CLI 1.20.0 binaries, consumed by the Clay agent plugin. ## What's new - `clay workflows runs bulk pause`, `resume`, and `stop` control many runs; `clay workflows triggers list` lists assignments and schedules, and `update --resume-paused-runs` resumes paused runs with a trigger. - `clay workflows groups publish-as-function` creates reusable functions; the Workflows and Enhanced Match skills guide Classify routing and hashed-email enrichment, and `clay workflows runs get` shows waterfall provider names. - `clay audiences activities` reads and summarizes record activities, retrieves Gong transcripts, and searches call content; `clay audiences records get` includes related-record references. - `clay searches query-mode reference --sections` retrieves selected reference sections. - Various bug fixes and stability improvements.
-
clay-cli-v1.19.0
GitHub ↗
Original release notes
Standalone Clay CLI 1.19.0 binaries, consumed by the Clay agent plugin. ## What's new - `clay workflows nodes insert --help` describes the Classify step: a Use AI step that sorts each record into one of a fixed set of categories with GPT 6 Luna or Jev, ready to branch on the chosen category. - `clay ad-syncs destinations delete` removes a destination from a paused or failed ad sync, not only a draft. - `clay searches preview` output includes `preview.isCurrent`, which says whether the stored preview still matches the search's current configuration. - Various bug fixes and stability improvements.
-
clay-cli-v1.18.0
GitHub ↗
Original release notes
Standalone Clay CLI 1.18.0 binaries, consumed by the Clay agent plugin. ## What's new - `clay workflows runs steps` accepts `--omit-payloads` to list steps without their input and output data, and `--step-ids s1,s2` to fetch selected steps using comma-separated IDs, up to 50 per request. - Various bug fixes and stability improvements.
Only the five most recent versions are shown. View full version history at the source ↗
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决用户积分不足、配额超限的高频刚需问题
- 提供完整的余额查询、自动充值、升级路径解决方案
- 覆盖数据积分、操作执行余额、搜索结果上限等多种场景
Highlights
- 触发描述精准完整,覆盖多种变体
- 边界清晰,明确区分不同额度类型
- 使用场景描述具体且实用
Areas to improve
-
缺少 When to Use 显式章节 Reported severity: Minor
文档结构完整但缺少显式的 When to Use 章节
Recommendation: 建议添加 When to Use 章节以增强规范性
Highlights
- 文档结构清晰,包含完整的处理流程
- 每个部分都有明确的步骤和命令示例
- frontmatter 完整,内容组织合理
Highlights
- 提供完整的 CLI 命令和参数说明
- 包含详细的错误处理机制
- 有明确的用户确认机制,防止误操作
- 工具来源明确,参数正确,覆盖主要异常场景
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- app.clay.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.