AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Volcengine Ark Quota

skill-uvwt-agentdock-volcengine-ark-quota · by uvwt

Query VolcEngine Ark Coding Plan quota usage from the console endpoint using a logged-in cookie or Playwright storage state.

No reviews yet
0 installs
17 views
0.0% view→install

Install

$ agentstack add skill-uvwt-agentdock-volcengine-ark-quota

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-uvwt-agentdock-volcengine-ark-quota)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
19d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Volcengine Ark Quota? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

VolcEngine Ark Quota Skill

用于查询火山引擎 Ark 控制台 Coding Plan 页面里的额度/用量。

目标页面:https://console.volcengine.com/ark/region:cn-beijing/subscription/coding-plan

能力

  • status:检查 Coding Plan 页面、GetCodingPlanUsage 接口是否可达,并检查是否配置了登录态来源。
  • query:调用控制台接口查询 Coding Plan 的 QuotaUsage,默认同时查询订阅状态 ListSubscribeTrade

前端反查到的核心接口:

  • POST https://console.volcengine.com/api/top/ark//2024-01-01/GetCodingPlanUsage
  • CSRF 头:X-Csrf-Token
  • 未登录时提供商错误通常是 NotLogin

登录态来源

query 至少需要一种登录态:

  1. storage_state_path:Playwright storage state JSON,推荐。
  2. VOLCENGINE_ARK_STORAGE_STATE:可在 ~/.agentdock/env/skill/volcengine-ark-quota.env 或当前命令显式环境中配置,指向 storage state 文件。
  3. VOLCENGINE_ARK_COOKIE:可在同一私有环境文件或当前命令环境中配置原始 Cookie header;不得写入 Skill 包或日志。
  4. cookie 输入参数:临时 Cookie header,不推荐长期使用。

可选:VOLCENGINE_ARK_CSRF_TOKENcsrf_token。通常不需要手动传,Skill 会从 Cookie 里找 CSRF,并在缺失时先探测一次再重试。

推荐使用流程

  1. 用浏览器工具打开目标页面并登录火山引擎控制台。
  2. 导出/保存 Playwright storage state。
  3. 调用:
{
  "storage_state_path": "/path/to/storage_state.json",
  "region": "cn-beijing"
}

输出说明

quota_periods 会返回三类用量:

  • session / 当前会话
  • weekly / 近 1 周
  • monthly / 近 1 月

每一项包含 used_percentremaining_percentreset_atreset_seconds 等字段。不同账号/套餐返回字段可能有差异,include_raw=true 可返回已脱敏原始响应用于排障。

安全边界

  • Skill 不会把 Cookie、CSRF、API Key 等敏感值输出到 stdout。
  • Skill 包内不保存登录态;持久登录态应放在 skill-data/volcengine-ark-quota/;环境变量单独放在 ~/.agentdock/env/skill/volcengine-ark-quota.env
  • 这是控制台内部接口封装,不是火山引擎公开 OpenAPI;如果前端接口改版,Skill 可能需要更新。

辅助脚本执行

Skill 本体是本说明文档。确需调用包内辅助脚本时,在 Skill 包根目录使用相对路径执行;运行宿主负责切换到包根目录并把所需变量注入当前子进程。

printf '%s' '{"skill_action":""}' | python3 run.py

输入必须是 JSON 对象。写操作仍按本文档中的确认规则执行。

| 动作 | 用途 | |---|---| | status | Check whether the public Coding Plan page and quota endpoint are reachable, and report available local auth sources without exposing secrets. | | query | Query live Coding Plan quota usage and subscription status. Requires a logged-in console cookie or Playwright storage_state path. |

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

  • Author: uvwt
  • Source: uvwt/agentdock
  • License: Apache-2.0
  • Homepage: https://uvwt.github.io/agentdock-docs/

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.