Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Spark Ai Models

ASecurity

Use when adding or updating Spark AI provider models or their compact and preflight metrics, especially baidu-oneapi, Grok, Claude, GPT, DeepSeek, OneAPI, context windows, output budgets, prices, thinking maps, or transports.

2 stars
0 votes
0 copies
1 views
Added 9/20/2026
ai-agentsapi

Works with

api

Security Analysis

A100/100

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add zendev-lab/spark --skill spark-ai-models --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Spark Ai Models?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Spark Ai Models
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/zendev-lab-spark-ai-models/badge)](https://www.skillsdirectory.com/skills/zendev-lab-spark-ai-models)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: spark-ai-models
description: >
  Use when adding or updating Spark AI provider models or their compact and
  preflight metrics, especially baidu-oneapi, Grok, Claude, GPT, DeepSeek,
  OneAPI, context windows, output budgets, prices, thinking maps, or transports.
---

# Spark AI model catalog

Owner: `packages/spark-llm-providers`. Catalog, gateway rewrites, and measured windows live
in `baidu-oneapi.ts`. Do not guess vendor ids, context, or prices.

## Workflow

1. Identify the change: new model, metric correction, or both.
2. Research current vendor docs (and gateway ids). Record source URLs and the
   exact numbers. If docs conflict with a live gateway, keep both in comments
   and register the **gateway ceiling** for `contextWindow`.
3. Edit the existing provider owner. For Baidu, follow
   [reference.md](reference.md). Do not add a second catalog or public alias.
4. If this is a successor model, replace the predecessor in default enable
   (see Baidu OneAPI). Update tests and `packages/spark-llm-providers/README.md`.
5. Run the package and registry tests listed in the reference.

## Research rules

- Prefer the vendor's current model and pricing pages over training memory,
  blogs, or aggregator tables.
- Model id uses a **dot** when the vendor does (`grok-4.6`, not `grok-4-6`).
- `contextWindow` is the prompt+output ceiling Spark compact/preflight uses.
  On Baidu, **measured provider input** beats advertised vendor context.
- `maxTokens` is Spark's output budget, not always the vendor max. If the
  vendor lists no output cap, keep the same-family budget unless measurement
  says otherwise.
- Spark `cost` is USD per million tokens:
  `{ input, output, cacheRead, cacheWrite }`. Use headline rates (Baidu/Spark
  do not model xAI `≥200k` 2× long-context pricing). If the vendor has no
  cache-write fee, set `cacheWrite` to the input rate like existing Grok rows.
- `thinkingLevelMap` only remaps Spark levels that differ from the transport.
  Confirm whether `xhigh` is real, aliased to `high`, or invalid.

## Baidu OneAPI

- Claude and DeepSeek → `anthropic-messages`. GPT-5.6 and Grok →
  `openai-responses` (`BAIDU_ONEAPI_OPENAI_RESPONSES_MODEL_IDS`).
- Local id and gateway id can differ (`claude-opus-5` → `Opus 5`). GPT/Grok
  are currently 1:1.
- Adding a model also requires `GATEWAY_MODEL_BY_ID` plus the `models[]` row.
- Catalog and default enable are separate. Keep the predecessor catalog row
  unless the user asks to delete it. Default `enabledModels` is the current
  frontier only: when a successor ships (grok-4.5 → grok-4.6), **replace** the
  old id in `DEFAULT_SPARK_ENABLED_MODEL_PATTERNS` with the new one. Do not leave
  both enabled, and do not use `baidu-oneapi/*`.
- Add the previous bundled default (including `baidu-oneapi/*`) as a legacy set
  that migrates onto the new list. A user's custom scope, such as
  `baidu-oneapi/*` alone, must not be rewritten.
- Prove default enable with membership tests: new id in `enabledModelIds`, old
  id out. Do not freeze the whole catalog as the scope contract.

## Metric edits

Changing only windows or prices still needs tests and README notes. Do not
advertise a round number (1M, 256k) when the gateway hard-fails earlier.

Attribution

zendev-labzendev-lab
View sourceMore from zendev-lab →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1074701 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

694381 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

691 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →