Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Local AI Utilities - 3 Offline Model Tools

    1

    Three small utilities for people working with local or hosted language models.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Local AI Utilities - 3 Offline Model Tools

    Local AI Utilities - 3 Offline Model Tools

    Example session with this skill installed

    Request: "This is an 8B Q4 GGUF. Roughly how many tokens is my prompt, and will the model fit in 6 GB of VRAM?"

    The agent runs
    python - --text 'hello world, sample prompt' <<'PY' (ai_token.py source)
    PY
    python - model.gguf <<'PY' (ai_gguf.py source)
    PY
    python - model.gguf --vram 6 --ctx 8192 <<'PY' (ai_vram.py source)
    PY

    • Read your context and instructions
    • Compiled the local ai utilities

    Result
    TOKENS ~5 (heuristic)
    CHARS 17

    GGUF: model.gguf
    version: 3
    architecture: llama
    parameter_count: 8,000,000,000 (8.00B)
    quantization_version: 2
    tensors: 0 (header-only test file)

    VRAM estimate: 8.00B params @ Q4
    model footprint: ~4.19 GiB
    context 8192 allowance: ~0.06 GiB
    estimated need: ~4.25 GiB
    budget: 6.00 GiB verdict: FITS (headroom ~1.75 GiB)
    note: static estimate; loader/driver overhead not included

    If exact counting is needed and tiktoken is absent:
    Missing dependency: tiktoken
    Install locally with: pip install tiktoken
    Or omit --encoding for a dependency-free estimate.

    No weights were read past the header, no model was downloaded and no API was contacted.

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

    About this skill

    Three small utilities for people working with local or hosted language models. They answer "how many tokens?", "what is in this GGUF header?" and "will it fit in my VRAM?" without downloading weights or calling a model API.

    What it does

    • Token count - a dependency-free CJK-aware byte/word heuristic, or an exact count when tiktoken and an encoding name are supplied.
    • GGUF inspect - parse the GGUF header of a local file and print architecture, parameter count, quantisation and other key-value metadata.
    • VRAM estimate - estimate model footprint and fit from the header plus a VRAM budget, with a context-length allowance.

    How it works

    Every action is one self-contained Python script using only the standard library on its default path. The GGUF parser reads the header bytes and stops before tensor data, so even a very large model file is cheap to inspect. The token heuristic treats CJK characters as roughly one token and other text as roughly four characters per token; exact counting needs local tiktoken.

    Where it stops

    All numbers are static estimates for planning, not benchmarks. The heuristic is not a substitute for the tokenizer your model actually uses. VRAM estimates ignore loader overhead, drivers, other processes, MoE offload details and real context usage. The token action does not call an API, and no action downloads a model.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.

    VRAM estimates ignore system overhead, drivers, and MoE active-parameter logic. Precise token counting requires the optional tiktoken library. GGUF tools read headers only.

    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

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed today

    Software
    Python 3.9+
    Optional
    tiktoken (exact token counts)

    Requires Python 3.9+. Default paths use only the standard library; optional tiktoken may fetch its encoding table on first use.

    Permissions

    Terminal / Shell
    Read Files
    Network Access

    files read (user-selected text files and GGUF files), no files written except standard output; optional local tiktoken import; no network on the default paths; no API keys; no environment variables; no secrets stored.

    Listedtoday

    What's inside

    Frequently Asked Questions

    The VRAM tool calculates memory requirements for both the model weights and the KV cache based on the GGUF header data. This allows you to verify if a specific quantization will fit on your GPU before you commit to a multi-gigabyte download.

    The skill requires a local Python 3.9+ environment. It is designed to be lightweight, using the Python standard library for most tasks, though it can optionally utilize 'tiktoken' for more precise encoding counts.

    No, all utilities run entirely locally on your machine. The GGUF inspector only reads the file headers and the token counter processes text in-memory, ensuring your data and model files never leave your environment.

    Yes, the token estimation utility includes a CJK-aware heuristic. This ensures that Chinese, Japanese, and Korean characters are accounted for more accurately than standard whitespace-based counters, which is vital for local RAG planning.

    The VRAM estimates provide static planning figures based on model architecture; however, they do not account for background OS overhead or other active GPU processes. Users should leave a small buffer for system stability.

    You receive three distinct Python utilities: a GGUF metadata inspector, a VRAM requirement calculator, and a CJK-aware token estimator, all delivered as ready-to-execute scripts for your AI agent.

    New in Agents & Orchestration