A skill your agent uses when developing Node.js backend services or CloudBase cloud functions (Express/Koa/NestJS, serverless, backend APIs) that need AI capabilities.
Install the "ai-model-nodejs" agent skill from https://github.com/majiayu000/claude-skill-registry/tree/main/skills/ai-llm/ai-model-nodejs into .claude/skills/ai-model-nodejs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ai-model-nodejs", then confirm the skill loads.
Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
skills CLI
$ npx skills add majiayu000/claude-skill-registry --skill ai-model-nodejs -a codex
Project install goes to .agents/skills/; add -g for ~/.codex/skills/.
Install the "ai-model-nodejs" agent skill from https://github.com/majiayu000/claude-skill-registry/tree/main/skills/ai-llm/ai-model-nodejs into .agents/skills/ai-model-nodejs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ai-model-nodejs", then confirm the skill loads.
Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add majiayu000/claude-skill-registry --skill ai-model-nodejs -a cursor
Project install goes to .agents/skills/; add -g for ~/.cursor/skills/.
Install the "ai-model-nodejs" agent skill from https://github.com/majiayu000/claude-skill-registry/tree/main/skills/ai-llm/ai-model-nodejs into .cursor/skills/ai-model-nodejs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ai-model-nodejs", then confirm the skill loads.
Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
skills CLI
$ npx skills add majiayu000/claude-skill-registry --skill ai-model-nodejs -a gemini-cli
Project install goes to .agents/skills/; add -g for ~/.gemini/skills/.
Install the "ai-model-nodejs" agent skill from https://github.com/majiayu000/claude-skill-registry/tree/main/skills/ai-llm/ai-model-nodejs into .gemini/skills/ai-model-nodejs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ai-model-nodejs", then confirm the skill loads.
Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
skills CLI
$ npx skills add majiayu000/claude-skill-registry --skill ai-model-nodejs -a github-copilot
Project install goes to .agents/skills/; add -g for ~/.copilot/skills/.
Install the "ai-model-nodejs" agent skill from https://github.com/majiayu000/claude-skill-registry/tree/main/skills/ai-llm/ai-model-nodejs into .github/skills/ai-model-nodejs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ai-model-nodejs", then confirm the skill loads.
GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add majiayu000/claude-skill-registry --skill ai-model-nodejs -a opencode
OpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
Install the "ai-model-nodejs" agent skill from https://github.com/majiayu000/claude-skill-registry/tree/main/skills/ai-llm/ai-model-nodejs into .opencode/skills/ai-model-nodejs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ai-model-nodejs", then confirm the skill loads.
OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Facts
Skill name
ai-model-nodejs
GitHub stars
666
Used in
2 other repos
Token cost
~1.7k tokens
SKILL.md length
232 words
Files
2
Skills in repo
971
Repo updated
First seen
Licence
MIT
At a glance
A skill your agent uses when developing Node.js backend services or CloudBase cloud functions (Express/Koa/NestJS, serverless, backend APIs) that need AI capabilities.
Developing Node.js backend services
SKILL.md covers When to use this skill, Available Providers and Models, Installation and Initialization, plus 4 more sections
Calls npm
CloudBase cloud functions (Express/Koa/NestJS
What it does
AI Model Nodejs is an agent skill from majiayu000/claude-skill-registry. Use this skill when developing Node.js backend services or CloudBase cloud functions (Express/Koa/NestJS, serverless, backend APIs) that need AI capabilities. Features text generation (generateText), streaming (streamText), AND image generation (generateImage) via @cloudbase/node-sdk ≥3.16.0. Built-in models include Hunyuan (hunyuan-2.0-instruct-20251111 recommended), DeepSeek (deepseek-v3.2 recommended), and hunyuan-image for images. This is the ONLY SDK that supports image generation. NOT for browser/Web apps…
Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `metadata.json`).
It sits in Backend & APIs, covering Serverless, Image generation and Messaging and chat bots. It works with Node.js, WeChat, DeepSeek and NestJS. The repository describes itself as: Searchable Claude Code skills catalog with source-linked guides and generated registry artifacts. The licence is MIT.
When your agent uses it
Developing Node.js backend services
CloudBase cloud functions (Express/Koa/NestJS
Backend APIs) that need AI capabilities
Example prompts
“/ai-model-nodejs”
Requirements
Node.js
A credential in YOUR_SECRET_KEY
What it can do on your machine
Read from SKILL.md and the folder at commit 000116a. It shows what the files ask for, not the result of running them.
Tool permissions
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Runs code
Shell commands in SKILL.md call:
npm
From the folder's file list and the shell code blocks in SKILL.md.
Network
No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Credentials
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Context cost
AI Model Nodejs loads about 1.7k tokens when it runs. Until then it costs about 149 tokens; SKILL.md has 232 words of instructions outside code blocks.
Always· name and description, kept in context so the agent knows when to use it
~149
When it runs· the whole SKILL.md, loaded when a task matches
~1.7k
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
Safety
Auto-check passed
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Download SKILL.mdSave it as .claude/skills/ai-model-nodejs/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
ai-model-nodejs
description
Use this skill when developing Node.js backend services or CloudBase cloud functions (Express/Koa/NestJS, serverless, backend APIs) that need AI capabilities. Features text generation (generateText), streaming (streamText), AND image generation (generateImage) via @cloudbase/node-sdk ≥3.16.0. Built-in models include Hunyuan (hunyuan-2.0-instruct-20251111 recommended), DeepSeek (deepseek-v3.2 recommended), and hunyuan-image for images. This is the ONLY SDK that supports image generation. NOT for browser/Web apps (use ai-model-web) or WeChat Mini Program (use ai-model-wechat).
alwaysApply
false
When to use this skill
Use this skill for calling AI models in Node.js backend or CloudBase cloud functions using @cloudbase/node-sdk.
Use it when you need to:
Integrate AI text generation in backend services
Generate images with Hunyuan Image model
Call AI models from CloudBase cloud functions
Server-side AI processing
Do NOT use for:
Browser/Web apps → use ai-model-web skill
WeChat Mini Program → use ai-model-wechat skill
HTTP API integration → use http-api skill
Available Providers and Models
CloudBase provides these built-in providers and models:
⚠️ AI feature requires version 3.16.0 or above. Check with npm list @cloudbase/node-sdk.
Initialization
In Cloud Functions
js
const tcb = require('@cloudbase/node-sdk');
const app = tcb.init({ env: '<YOUR_ENV_ID>' });
exports.main = async (event, context) => {
const ai = app.ai();
// Use AI features
};
Cloud Function Configuration for AI Models
⚠️ Important: When creating cloud functions that use AI models (especially generateImage() and large language model generation), set a longer timeout as these operations can be slow.
Using MCP Tool createFunction:
Set the timeout parameter in the func object:
Parameter: func.timeout (number)
Unit: seconds
Range: 1 - 900
Default: 20 seconds (usually too short for AI operations)
const model = ai.createModel("hunyuan-exp");
const result = await model.generateText({
model: "hunyuan-2.0-instruct-20251111", // Recommended model
messages: [{ role: "user", content: "你好,请你介绍一下李白" }],
});
console.log(result.text); // Generated text string
console.log(result.usage); // { prompt_tokens, completion_tokens, total_tokens }
console.log(result.messages); // Full message history
console.log(result.rawResponses); // Raw model responses
streamText() - Streaming
js
const model = ai.createModel("hunyuan-exp");
const res = await model.streamText({
model: "hunyuan-2.0-instruct-20251111", // Recommended model
messages: [{ role: "user", content: "你好,请你介绍一下李白" }],
});
// Option 1: Iterate text stream (recommended)
for await (let text of res.textStream) {
console.log(text); // Incremental text chunks
}
// Option 2: Iterate data stream for full response data
for await (let data of res.dataStream) {
console.log(data); // Full response chunk with metadata
}
// Option 3: Get final results
const messages = await res.messages; // Full message history
const usage = await res.usage; // Token usage
generateImage() - Image Generation
⚠️ Image generation is only available in Node SDK, not in JS SDK (Web) or WeChat Mini Program.
We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in majiayu000/claude-skill-registry, which our catalogue first saw on October 7, 2026.
AI Model Nodejs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
AI Model Nodejs compared with similar skills
Skill
Stars
Used in
Tokens
Auto-check
Licence
Repo updated
AI Model Nodejs this skillmajiayu000/claude-skill-registry
A skill your agent uses for Node.js backend AI via @cloudbase/node-sdk (=3.16.0) — cloud functions, CloudRun, Express/Koa/NestJS, serverless APIs, scheduled jobs, LLM proxies, agent orchestration.
A skill your agent uses when a browser/Web app (React, Vue, Next, Nuxt, static sites, SPAs, dashboards, AI chat UI, 页面, 前端, 网页) needs AI models via @cloudbase/js-sdk.
A skill your agent uses when developing Node.js backend services or CloudBase cloud functions (Express/Koa/NestJS, serverless, backend APIs) that need AI capabilities. AI Model Nodejs is an agent skill from majiayu000/claude-skill-registry.js backend services or CloudBase cloud functions (Express/Koa/NestJS, serverless, backend APIs) that need AI capabilities.
When should I use AI Model Nodejs?
AI Model Nodejs fits situations like: developing Node.js backend services; cloudBase cloud functions (Express/Koa/NestJS; backend APIs) that need AI capabilities.
How do I install AI Model Nodejs in Claude Code?
Run `npx skills add majiayu000/claude-skill-registry --skill ai-model-nodejs -a claude-code`. Or copy the skill folder (skills/ai-llm/ai-model-nodejs in majiayu000/claude-skill-registry) into .claude/skills/ai-model-nodejs in your project. Claude Code loads it when a task matches its description.
How do I install AI Model Nodejs in Codex?
Run `npx skills add majiayu000/claude-skill-registry --skill ai-model-nodejs -a codex`. Or copy the skill folder (skills/ai-llm/ai-model-nodejs in majiayu000/claude-skill-registry) into .agents/skills/ai-model-nodejs in your project. Codex loads it when a task matches its description.
Can I use AI Model Nodejs in Cursor, Gemini CLI or GitHub Copilot?
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add majiayu000/claude-skill-registry --skill ai-model-nodejs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ai-model-nodejs, .gemini/skills/ai-model-nodejs, .github/skills/ai-model-nodejs and .opencode/skills/ai-model-nodejs in your project.
What does AI Model Nodejs need to run?
Going by SKILL.md and its folder, AI Model Nodejs needs the command-line tools its instructions call (npm). Our summary lists: Node.js; A credential in YOUR_SECRET_KEY.
Does AI Model Nodejs access the network?
SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Is AI Model Nodejs safe to install?
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
What licence does AI Model Nodejs use?
AI Model Nodejs is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
How many tokens does AI Model Nodejs use?
About 1.7k tokens (SKILL.md is roughly 6.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
What are the alternatives to AI Model Nodejs?
Skills that share tags, products or a category with AI Model Nodejs: AI Model Nodejs (TencentCloudBase/CloudBase-AI-Toolkit, 1.1k stars), AI Model Web (TencentCloudBase/CloudBase-AI-Toolkit, 1.1k stars), AI Model Wechat (TencentCloudBase/CloudBase-AI-Toolkit, 1.1k stars) and Auth Wechat Miniprogram (LeoYeAI/openclaw-master-skills, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Who maintains AI Model Nodejs?
majiayu000 (a GitHub user) maintains it in majiayu000/claude-skill-registry, which has 666 GitHub stars. The repository holds 971 skills in this directory. The repository was last updated on October 7, 2026.