SW-OpenC64: Skill for Claude Code

.grok/skills/xai-api/SKILL.md

xai-api is a skill for Claude Code from MasterBrogrammer/SW-OpenC64. It costs 145 tokens per session (1,657 once invoked), scanned B, original, no licence file.

A coding guide for calling the xAI API, including Grok language features, Imagine image and video generation, and text-to-speech voice output.

In plain words
What is it for?
Use it to add chat or assistant behavior, runtime image or video generation, or speech synthesis.
Why use it?
It helps server code connect AI features to an application using the available API key.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

This is MasterBrogrammer/SW-OpenC64's own configuration. It tells Claude Code how to work on SW-OpenC64 itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything SW-OpenC64 configures →

Reuse

Borrowing it

Nothing to install: this file belongs to MasterBrogrammer/SW-OpenC64. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/MasterBrogrammer/SW-OpenC64/main/.grok/skills/xai-api/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/MasterBrogrammer/SW-OpenC64

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for xai-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/masterbrogrammer/sw-openc64/xai-api/github.svg)](https://agentmods.dev/skills/masterbrogrammer/sw-openc64/xai-api)
Your own site
<a href="https://agentmods.dev/skills/masterbrogrammer/sw-openc64/xai-api"><img src="https://agentmods.dev/badge/skills/masterbrogrammer/sw-openc64/xai-api/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for xai-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/masterbrogrammer/sw-openc64/xai-api"><img src="https://agentmods.dev/badge/skills/masterbrogrammer/sw-openc64/xai-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 145 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,657 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00145 $0.01657
Opus 5.5 $0.00058 $0.00663
Sonnet 5.5 $0.00029 $0.00331
Haiku 4.5 $0.00015 $0.00166

Measured 2mo ago against content hash d35aa25eb22b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

xai-api scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

const res = await fetch("https://api.x.ai/v1/chat/completions", { method: "POST",
.grok/skills/xai-api/SKILL.md · 150 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 150 lines · 145 tokens per session scan B d35aa25eb22b

Subscribe to this mod's changes

xai-api is a skill published in the GitHub repository MasterBrogrammer/SW-OpenC64 (0 stars, last pushed 2mo ago), with no licence file. It adds 145 tokens to every session and 1,657 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it B with 1 finding (sends data to an external url). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

xai-api compared with skills from other repositories

xai-api next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
xai-apiMasterBrogrammer/SW-OpenC64Skill02mo agononeB145Claude Code
agent-platform-model-registrygoogle/skillsSkill22kyesterdayApache-2.0A60Claude Code, Codex
foundry-config-setupmicrosoft/agent-frameworkSkill15kyesterdayMITA65Claude Code, Codex
google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skillsSkill22kyesterdayApache-2.0A132Claude Code, Codex
training-checkwanshuiyin/Auto-claude-code-research-in-sleepSkill19k3d agoMITA35Claude Code
nemo-automodel-launcher-configNVIDIA/skillsSkill3.9kyesterdayApache-2.0A30Claude Code
finetuningmicrosoft/skillsSkill3.2kyesterdayMITA132Claude Code