More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    deepseek balance check

    1

    Check the Deepseek余额查询-DeepSeek account balance, with a one-time key setup that needs no export.

    Free

    Security scanned

    deepseek balance check

    Example session with this skill installed

    Check my DeepSeek balance and let me know if I have enough for a long coding session.

    • Read your context and instructions
    • Compiled the deepseek balance check

    I have retrieved your current DeepSeek account status using the balance endpoint.

    DeepSeek Balance Report

    TypeAmount (CNY)
    Total Balance142.50
    Topped Up120.00
    Granted Credits22.50

    Your balance is currently healthy. With CNY 142.50 remaining, you have sufficient credit for several long coding sessions at current token rates.

    Next steps

    • No immediate action required; your credits are sufficient.
    • If you notice a high burn rate, run python3 scripts/deepseek_balance.py --json for the raw payload.
    • Use the spend-audit skill if you need to calculate the specific cost of this transcript.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Running out of credits mid-task halts production. This skill allows your agent to monitor and report DeepSeek account balances directly within your workflow.

    What it does

    • Check balance queries DeepSeek's official endpoint to retrieve current credit levels.
    • Secure setup uses a dedicated script to store keys in a local config file with restricted permissions.
    • Diagnostics identifies environment issues like filesystem sandboxing or missing paths.
    • Low credit alerts provides a contextual warning when remaining funds might not last a full session.
    • Formatted reporting splits data into topped-up vs. granted amounts for clear billing visibility.

    How it works

    1. Run the one-time setup script in a terminal to securely store your API key in ~/.config/deepseek/api_key.
    2. Invoke the balance check command to fetch the current account-wide credit status.
    3. Review the report which displays total balance, grants, and top-ups in the account currency.
    4. Use the diagnostic flag if the key is unreachable due to container or shell sandboxing.

    Frameworks & tools

    The skill requires Python 3.9 or newer. It interacts specifically with the DeepSeek API balance endpoint.

    Why this beats prompting it yourself

    Manual credit checks require leaving your IDE to log into a web dashboard. This skill automates the check via the API, handles secure local key storage to prevent leakage in logs, and correctly interprets HTTP error codes like 401 and 402.

    Use cases

    • Monitor credit levels when a DeepSeek API call fails with a balance error.
    • Verify that a newly generated API key is valid and active.
    • Audit remaining granted vs. purchased credits before starting a long batch task.
    • Troubleshoot key reachability issues in sandboxed developer environments.

    Known limitations

    This skill reports account-wide balance only. It cannot calculate the specific cost of an individual session or distinguish spend between multiple concurrent users on the same key.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.

    Requires Python 3.9+. Cannot calculate per-session costs. Setup script must be run in a local terminal, not through a piped input.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 5 days ago

    • Free with an Agensi account

    Accounts
    Deepseek
    Software
    Python

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Environment Variables

    Allowed Hosts

    api.deepseek.com
    Listed5 days ago

    What's inside

    Frequently Asked Questions

    This skill eliminates manual dashboard logins by allowing your AI agent to fetch real-time credit data directly, helping you avoid abrupt 'Insufficient Balance' errors mid-workflow.

    For security, your DeepSeek API key is stored in a local configuration file with restricted file permissions, rather than being hardcoded or passed as an insecure environment variable.

    The skill provides a specialized diagnostic flag to identify if your agent's environment is sandboxed, helping you adjust filesystem permissions so the key remains accessible.

    Yes, the skill provides a detailed breakdown of 'top-up' funds versus 'granted' credits, allowing you to see exactly when promotional balances are about to expire.

    You will receive the Python-based skill files, a secure setup script for key management, and comprehensive documentation for integrating the balance check into your existing AI workflows.

    New in LLM Ops

    Free