ai-model-nodejs

ai-model-nodejs is a skill for Claude Code, Codex from whyzsm/tiny-agents. It costs 230 tokens per session (6,438 once invoked), scanned A, original, no licence file.

A Node.js integration for CloudBase's software kit, letting backend applications and serverless jobs call text and image AI models.

In plain words
What is it for?
Use it in Express, Koa, NestJS, CloudRun, or serverless applications for text generation, streaming text, and image generation.
Why use it?
It gives Node.js services one documented way to connect AI model calls to web servers, cloud functions, scheduled jobs, and API proxies.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it in Express, Koa, NestJS, CloudRun, or serverless applications for text generation, streaming text, and image generation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/whyzsm/tiny-agents/ai-model-nodejs
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add whyzsm/tiny-agents --skill ai-model-nodejs
Clone the repo
git clone --depth 1 https://github.com/whyzsm/tiny-agents

Made for: Claude Code, Codex.

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 ai-model-nodejs

README.md
[![agentmods](https://agentmods.dev/badge/skills/whyzsm/tiny-agents/ai-model-nodejs/github.svg)](https://agentmods.dev/skills/whyzsm/tiny-agents/ai-model-nodejs)
Your own site
<a href="https://agentmods.dev/skills/whyzsm/tiny-agents/ai-model-nodejs"><img src="https://agentmods.dev/badge/skills/whyzsm/tiny-agents/ai-model-nodejs/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 ai-model-nodejs

Your own site · 80×15
<a href="https://agentmods.dev/skills/whyzsm/tiny-agents/ai-model-nodejs"><img src="https://agentmods.dev/badge/skills/whyzsm/tiny-agents/ai-model-nodejs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 230 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,438 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00230 $0.06438
Opus 5.5 $0.00092 $0.02575
Sonnet 5.5 $0.00046 $0.01288
Haiku 4.5 $0.00023 $0.00644

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

Security

Grade A, and why

ai-model-nodejs scanned grade A 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Runtimes without a CloudBase SDK (Python, Go, PHP, curl, etc.) → use the `http-api` skill (it now includes the `ai_model` OpenAPI spec for direct HTTP calls to the AI model endpoint; do NOT wrap this SDK behind an HTTP
skills/ai-model-nodejs/SKILL.md · 455 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

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 455 lines · 230 tokens per session scan A 4f816afaa476

Subscribe to this mod's changes

ai-model-nodejs is a skill published in the GitHub repository whyzsm/tiny-agents (2 stars, last pushed 5d ago), with no licence file. It adds 230 tokens to every session and 6,438 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

gemini-api-agent-platform

Guides the usage of the Gemini API on Agent Platform with the Google Gen AI SDK for enterprise AI applications. Covers SDK usage (Python, JS/TS, Go, Java, C#), capabilities like Live API, tools, multimedia generation, caching, and batch prediction.

davila7/claude-code-templates · 61 tokens

open-source

Documentation reference for writing Python code using the browser-use open-source library. Use this skill whenever the user needs help with Agent, Browser, or Tools configuration, is writing code that imports from browseruse, asks about @sandbox deployment, supported LLM models, Actor API, custom tools, lifecycle…

browser-use/browser-use · 137 tokens

gemini-api-dev

Use this skill when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, speech generation (TTS), voice design, voice replication, streaming responses, background research tasks, function calling, structured output, or migrating from…

google-gemini/gemini-skills · 85 tokens

deepstream-sop

Use this skill when building, deploying, evaluating, debugging, or measuring latency for the DeepStream SOP Inference Microservice — a GPU-accelerated FastAPI service that detects whether operators perform assembly-line steps in order via event boundary detection (GEBD) plus VLM classification. Trigger even if the…

NVIDIA/skills · 219 tokens

azure-search-documents-dotnet

Azure AI Search SDK for .NET (Azure.Search.Documents). Use for building search applications with full-text, vector, semantic, and hybrid search. Covers SearchClient (queries, document CRUD), SearchIndexClient (index management), and SearchIndexerClient (indexers, skillsets). Triggers: "Azure Search .NET"…

microsoft/skills · 102 tokens

data-engineering

A guide to data engineering, the work of collecting, moving, processing, and checking data. It covers workflow tools such as Airflow, Dagster, and Prefect, plus streaming and data-quality tools.

fengshao1227/ccg-workflow · 53 tokens