/nocobase-dev:nocobase-ai-manager [action: inspect|configure|update|delete|verify] [target: llm-provider|llm-service|vector-db] [mode?: direct-cli|ui] [consumer?: core-ai|employee|knowledge-base] [env?: name]from nocobase-dev
NocoBase 2 only; never use in a NocoBase 3 project. Use when users need to inspect or maintain NocoBase core AI prerequisites through nb api, including LLM providers, saved services, CLI-versus-UI configuration routing, chat models, embedding discovery, secure credentials, and dependency-safe changes.
Ships in nocobase-dev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Prepare and maintain the core NocoBase AI runtime and saved LLM services required by AI employees and, after the commercial capability gate has passed, knowledge bases. Require explicit direct-CLI-versus-UI routing for LLM service and vector database connection configuration, and keep chat-model configuration, embedding-model discovery, credentials, dependency checks, and verification separate and explicit.
nb environment, authentication, runtime refresh, and generated ai command surface.nocobase-ai-employee.nocobase-ai-knowledge-base-manager only after that skill has confirmed knowledge-base capability.nocobase-ai-employee.nocobase-ai-knowledge-base-manager.kb command as proof of Community Edition.nb api command exists.| Input | Required | Default | Validation | Clarification Question |
|---|---|---|---|---|
action | yes | inspect | one of inspect/configure/update/delete/verify | "Which AI prerequisite action should I perform?" |
target | mutation: yes | llm-provider for inspect | one of llm-provider/llm-service/vector-db; vector-db is routing/UI only | "Should I inspect providers, manage a saved LLM service, or route a vector database connection configuration?" |
consumer | no | core-ai | one of core-ai/employee/knowledge-base | "Is this readiness check for core AI, an AI employee, or a knowledge base?" |
env | no | current env from nb env list | configured, reachable, authenticated | "Which NocoBase CLI environment should I target?" |
identifier | update/delete/verify: yes as applicable | none | exact saved LLM service name or vector database identifier for UI update | "What is the exact service name or vector database identifier?" |
configurationMode | configure/update of llm-service or vector-db: yes | none; never choose implicitly | one of direct-cli/ui | "Should this configuration use direct CLI parameters or the NocoBase UI flow?" |
payload | direct-CLI configure/update of llm-service: yes | none | allowed fields only; secrets supplied by the user | "Which provider, chat models, options, and enabled state should be used?" |
knowledgeBaseCapability | consumer=knowledge-base or target=vector-db: yes before mutation/UI opening | none | readiness result from nocobase-ai-knowledge-base-manager with runtimeCapability=available | "Has the knowledge-base edition/plugin capability preflight passed?" |
confirmation | high-risk action: yes | none | fresh explicit confirmation after exact target and impact are shown | "Confirm this exact disruptive LLM service change?" |
Rules:
direct-cli or ui; do not choose on the user's behalf.--ui flags and optional provider selection. Never include request-body fields, credentials, or secrets.--ui command only opens a form. Stop after opening it, resume only after the user reports completion, and independently verify safe fields before any dependent operation.enabledModels.models accepts only large-language/chat models. Never place an embedding model there.2.3.configurationMode. For ui, verify current help exposes --ui; after opening the form, wait for explicit user completion and then perform independent readback.target=vector-db, require current KB capability before opening the UI or handing direct CLI work to the KB manager.nocobase-ai-knowledge-base-manager; this skill does not perform or bypass the commercial edition gate.unknown and block disruptive service changes.destroy.nb env list; use nb env info <env> only for environment, API, database, and authentication context, not edition detection.nb env update <env> --verbose, then verify nb api ai --help, nb api ai llm-providers --help, and nb api ai llm-services --help.direct-cli or ui; never infer a mode.ui, require current help to expose --ui. For vector databases, also require an available KB capability result. Run only the documented UI command with at most its optional provider flag, stop while the user completes the form, then independently read back safe fields before continuing.target=vector-db with direct-cli, hand off to nocobase-ai-knowledge-base-manager; this skill does not write vector database configuration.test-flight with a chat model before saving.consumer=knowledge-base, consume the passed capability result and discover embedding models separately. Never add them to the saved service's enabledModels.options.name, title, provider, enabled, and chat-only enabledModels.coreAI from conditional knowledgeBasePrerequisites, including configuration mode and UI completion/readback when applicable.| Reference | Use When | Notes |
|---|---|---|
| Command map | Selecting exact environment, provider, service, model, employee, or KB dependency commands. | Includes excluded command surface and capability boundaries. |
| UI-mode workflow | Creating or changing an LLM service or vector database connection through the UI. | Defines mode selection, supported --ui commands, required pause, and independent readback. |
| LLM service workflow | Testing, creating, updating, disabling, deleting, or verifying a saved service. | Defines chat/embedding separation, idempotency, readiness, and dependency behavior. |
| Security and troubleshooting | Handling credentials or runtime, auth, provider, capability, timeout, or rollback failures. | Defines protected files and safe output. |
High-impact actions are the high-risk actions listed below:
options, API keys, access tokens, UI credentials, or secret-bearing response bodies.Secondary confirmation template:
<action> on LLM service <name> in <env>. Expected impact: <employee/knowledge-base dependency and availability impact>. Type confirm to continue."Rollback guidance:
ai command groups exist.direct-cli or ui.enabledModels.models[] item is a chat/LLM model.enabledModels.test-flight with a chat model.modelOptions.destroy received fresh confirmation for that exact service immediately before execution.options are absent from command summaries and final output.enabledModels, read back, and separately report embedding models for an already capability-approved KB consumer.ai help fails and the skill stops with actionable recovery guidance.Final response must include:
direct-cli or ui mode and, for UI, the user's completion report plus independent readback result;coreAI and conditional knowledgeBasePrerequisites readiness;nb env and nb api ai surface.--ui commands, required user-completion pause, and post-UI verification.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub agents-store/claude-plugins --plugin nocobase-dev25 skills in this plugin
/api-referenceReference-only skill (loaded on demand) that maps the NocoBase v2 REST API surface — base URL, authentication, action-style endpoint convention, and pointers into the bundled OpenAPI 3.0.3 specification. Loaded by the model when it needs an exact endpoint path or schema; not auto-triggered./authUse when the user wants to authenticate to a NocoBase v2 instance, asks "how do I get a token for NocoBase", "how do I log in via API or CLI", "how do I connect an agent or MCP client", "why is my request returning 401 from NocoBase", or needs working curl/Node samples that send the bearer token. Covers the CLI path (`nb env add` / `nb env auth`), the upstream login flow (NB_USER + NB_PASSWORD → auth:signIn → token), the long-lived API Key path, OAuth through the IdP: OAuth plugin, and the separate Auth: OIDC SSO plugin./cli-recipesUse when the user asks how to install or run NocoBase from the terminal — "install nb CLI", "how do I bootstrap NocoBase", "run nb commands", "start/stop/upgrade NocoBase", "add an environment", "backup NocoBase", "enable a plugin". Provides the install one-liner (`@nocobase/cli`, stable channel), the env, lifecycle, plugin and backup recipes in their `nb` 2.2 canonical forms, and a routing table that hands deeper tasks to the upstream `nocobase-env-manage`, `nocobase-plugin-manage`, and `nocobase-publish-manage` skills./examplesUse when the user asks for an end-to-end example, walkthrough, or sample of doing something in NocoBase v2 — "show me how to", "walk me through", "give me a complete example", "sample script for NocoBase". Indexes worked scenarios that mix REST API and `nb` CLI calls./nocobase-acl-manageNocoBase 2 only; never use in a NocoBase 3 project. Task-driven ACL governance through nb CLI for role lifecycle, global role mode, permission policy, Portal entry access, user-role membership, and risk assessment. Use when users describe business permission outcomes instead of raw command arguments, including which roles may enter a Portal./nocobase-ai-builderNocoBase 2 only; never use in a NocoBase 3 project. Design, build, and verify source-code applications in NocoBase AI Portals based on @nocobase/portal-template-default. This skill is mandatory whenever the selected Portal has portalType "ai". Use it for complete systems, pages, navigation, CRUD, dashboards, forms, dialogs, drawers, URL-addressable subpages, authentication UI, frontend access control, localization, themes, NocoBase API integration, responsive design, test-driven verification, and safe upgrades of existing Portal template, SDK, and Registry source.