← Back to Skills Marketplace
limingdev-tech-2024

Aiclient2api Usage

cross-platform ⚠ suspicious
261
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install aiclient2api-usage
Description
Check AIClient2API usage statistics, quotas, and account status. Use when the user asks about AIClient2API usage, credits, quotas, subscription status, or wh...
README (SKILL.md)

AIClient2API Usage Checker

Query and display AIClient2API usage statistics, including credits consumed, remaining quotas, subscription type, and expiration dates.

Quick Start

Check current usage:

bash scripts/check_usage.sh

Refresh usage data:

bash scripts/refresh_usage.sh

Or read the usage cache file directly:

cat ~/web/AIClient-2-API/configs/usage-cache.json

Usage Information

The script reads from ~/web/AIClient-2-API/configs/usage-cache.json and displays:

  • Account information: Email, user ID, subscription type
  • Free trial status: Current usage, limit, expiration date
  • Monthly quota: Credits used, limit, reset date
  • Overage policy: Rate, cap, current charges

Key Metrics

  • Credits: Usage units for API calls
  • Free Trial: Temporary promotional credits (if active)
  • Monthly Quota: Recurring monthly allocation
  • Next Reset: When the monthly quota refreshes

Notes

  • Usage data is cached and updated periodically by AIClient2API (every few minutes)
  • The cache file is located at ~/web/AIClient-2-API/configs/usage-cache.json
  • For real-time data, access the web UI at http://127.0.0.1:16825 (requires authentication)
  • To manually trigger a refresh via Web UI:
    1. Visit http://127.0.0.1:16825
    2. Login with password from configs/pwd
    3. Navigate to Providers section and click refresh button
Usage Guidance
This skill is meant to read a local AIClient2API cache and optionally trigger a refresh via the local web API. Before installing or running it: 1) Review the scripts yourself — they will read ~/web/AIClient-2-API/configs/usage-cache.json and ~/web/AIClient-2-API/configs/pwd (these contain account info and a password). 2) Understand that it executes local commands (curl, node, jq, bc, ps, awk, grep, stat). The metadata does not declare these dependencies; make sure those binaries are available and trustworthy. 3) Only use this if you run AIClient2API locally and trust the service and scripts. 4) If you are uncomfortable with a tool reading a local password file, do not install; consider running the commands manually after inspecting them. 5) If you want higher assurance, ask the publisher to: (a) declare required binaries, (b) avoid reading plain-text password files or at least document and justify that access, and (c) avoid executing transient scripts without explicit user consent.
Capability Analysis
Type: OpenClaw Skill Name: aiclient2api-usage Version: 1.0.0 The skill bundle provides tools to monitor AIClient2API usage by reading local configuration files and interacting with a local API endpoint (127.0.0.1:16825). The scripts (check_usage.sh, refresh_usage.sh) perform authentication using a local password file to retrieve and display usage metrics like credits and quotas. No evidence of data exfiltration, remote execution, or malicious intent was found; the behavior is entirely consistent with the stated purpose of monitoring a local service.
Capability Assessment
Purpose & Capability
The skill's purpose (check local AIClient2API usage) matches what the scripts do (read ~/web/AIClient-2-API/configs/usage-cache.json, hit localhost API, read configs/pwd). However the package metadata declares no required binaries or credentials while the scripts clearly rely on tools (curl, jq, bc, node, ps, awk, grep, stat). Not declaring those dependencies is an incoherence that could cause silent failures or unexpected behavior.
Instruction Scope
SKILL.md and the scripts confine actions to a local AIClient2API installation and its cache file, and to 127.0.0.1:16825. That is in-scope for usage-checking. The instructions explicitly tell the agent to read ~/web/AIClient-2-API/configs/usage-cache.json and configs/pwd; this is sensitive but coherent with the stated purpose.
Install Mechanism
This is instruction-only (no install spec). No remote downloads or archive extraction occur. The scripts do create and run a temporary Node.js file under /tmp, but that's local execution rather than an installer. No high-risk install mechanism detected.
Credentials
The skill requests no environment variables or registry credentials, yet its runtime behavior reads a local password file (configs/pwd) and the usage cache. Access to local credential files is sensitive; the skill does not declare or warn about this. Also required CLI tools (curl, node, jq, bc) are not declared, meaning the skill assumes the environment has broad tooling available.
Persistence & Privilege
always is false and the skill does not modify system-wide configuration or other skills. It writes a temporary /tmp/refresh_usage.js file to trigger a refresh and removes it; this transient file creation is limited in scope and does not persist beyond the run.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install aiclient2api-usage
  3. After installation, invoke the skill by name or use /aiclient2api-usage
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
aiclient2api-usage 1.0.0 initial release - New skill to check AIClient2API usage statistics, quotas, and account status. - Provides scripts and instructions for viewing credits, quotas, subscription type, and expiration dates. - Supports checking free trial status, monthly quotas, and overage policies. - Usage data is sourced from a local cache file and can be refreshed manually or via web UI.
Metadata
Slug aiclient2api-usage
Version 1.0.0
License
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Aiclient2api Usage?

Check AIClient2API usage statistics, quotas, and account status. Use when the user asks about AIClient2API usage, credits, quotas, subscription status, or wh... It is an AI Agent Skill for Claude Code / OpenClaw, with 261 downloads so far.

How do I install Aiclient2api Usage?

Run "/install aiclient2api-usage" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Aiclient2api Usage free?

Yes, Aiclient2api Usage is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Aiclient2api Usage support?

Aiclient2api Usage is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Aiclient2api Usage?

It is built and maintained by limingdev-tech-2024 (@limingdev-tech-2024); the current version is v1.0.0.

💬 Comments