Command Palette

Search for a command to run...

Назад к скиллам
скилл № 03745

nocobase-env-manage

NocoBase 2 only; never use in a NocoBase 3 project. Use when users need NocoBase bootstrap, runtime lifecycle, CLI maintenance, and skills maintenance with nb…

БесплатноБез исполняемых скриптов
nocobaseот nocobase★ 54 звезды на GitHub

Установить nocobase-env-manage в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Goal

Use nb CLI only to complete NocoBase bootstrap, lifecycle, and maintenance actions.

Scope

  • Bootstrap or connect NocoBase environments through nb init.
  • Manage saved CLI environments through nb env.
  • Manage app runtime lifecycle through nb app.
  • Check and update the nb CLI through nb self.
  • Check and update installed NocoBase skills through nb skills.
  • Inspect built-in database runtime only when it helps verify or diagnose the selected environment.

Non-Goals

  • Do not implement NocoBase business models, UI pages, workflows, or plugins.
  • Do not run repository-local helper scripts for install or lifecycle work.
  • Do not bypass the official install guide when the user provides an official install URL.

Hard Rules

  • Only run direct nb commands.
  • Never run local scripts (*.mjs, *.ps1, *.sh).
  • Never use template-driven install flows.
  • For task=install, if the user provides an official NocoBase install or quick-start URL, read that URL first and follow the official guide flow. Ignore local install command tables when they conflict with the official guide.
  • For task=install, use nb init --ui as the guided install entrypoint unless the current official guide says otherwise.
  • nb init --ui is not a completion condition. Keep following CLI output until setup reaches a finished state or the CLI exits with an actionable failure.
  • When executing nb init --ui, use a CLI timeout of 30 minutes and do not interrupt the command before it exits.
  • If install flow exposes a URL that cannot be opened because the agent is running in a sandboxed environment, explicitly ask to elevate/open outside the sandbox; if the user refuses, provide the URL directly to the user.
  • Never proactively fill install/setup forms on the user's behalf; only surface the URL, explain the next step, and let the user complete the form.
  • If the CLI prints a continuation or recovery command, especially nb init ... --resume ..., execute that exact direct nb command unless it is destructive or conflicts with the user's latest instruction.
  • Use nb app <command> for runtime lifecycle operations.
  • Use nb self <command> only for CLI self-check/update.
  • Use nb skills <command> only for installed skills check/update.
  • Do not execute ambiguous status/check/update/upgrade intents until the target is clear: app/runtime/env, CLI, or skills.
  • Do not add extra precheck gates before executing user-requested nb commands.
  • Prefer executing user-requested runtime commands first; use nb --help when user asks for diagnostics/help output or command discovery is needed.
  • Surface CLI outputs and hints directly to users.

Supported Tasks

  • install
  • app-manage
  • upgrade
  • stop
  • start
  • restart
  • logs
  • down
  • self-check
  • self-update
  • skills-check
  • skills-update

Input Contract

Input Required Default Notes
task yes inferred one of install/app-manage/upgrade/start/stop/restart/logs/down/self-check/self-update/skills-check/skills-update
app_env_action for task=app-manage list one of add/use/current/list/remove; current is derived from list output
app_env_name conditional none required for add/use/remove
app_base_url conditional none required for add; accepts URL with or without /api (auto-normalized)
cli_auth_mode for env add oauth one of oauth/token
app_token conditional none required when cli_auth_mode=token
runtime_env_name optional for upgrade/start/stop/restart/logs/down current env explicit runtime env name

Execution Policy

  • Execute the target nb command directly.
  • Intent clarification is not a precheck gate. If the user's wording is ambiguous, ask one concise clarification question before running any command.
  • Install routing:
    • when the user provides an official NocoBase install or quick-start URL, read it first and follow that official flow, ignoring local install command tables on conflict
    • otherwise use nb init --ui as the guided install entrypoint
  • For task=install, treat nb init --ui as a long-running interactive command:
    • set command timeout to 30 minutes
    • do not interrupt/wait-short/poll in a way that aborts the CLI before completion
    • do not stop just because a local setup URL was printed
    • continue until the CLI reports readiness, workspace completion, or an explicit failure
  • If nb init --ui prints a local URL and browser open fails in sandbox, first ask to elevate/open outside sandbox; if that is declined, surface the URL so the user can open it manually.
  • During install/setup flows, never submit or fill web forms for the user; provide instructions only.
  • If install fails and CLI prints a resume command, run the printed nb init ... --resume ... command next. Do not rerun a fresh setup unless the CLI asks for it or the user explicitly requests it.
  • Do not run separate preflight c
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01Bash
  2. 02Read
  3. 03Write
  4. 04Grep
  5. 05Glob

Вложенные файлы

  • agents/openai.yaml
  • references/install-runbook.md
  • references/preflight-checklist.md
  • references/troubleshooting.md
  • references/upgrade-runbook.md
  • references/usage-guide.md

FAQ

Что делает скилл nocobase-env-manage?

NocoBase 2 only; never use in a NocoBase 3 project. Use when users need NocoBase bootstrap, runtime lifecycle, CLI maintenance, and skills maintenance with nb CLI only.

Как установить скилл nocobase-env-manage?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл nocobase-env-manage запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить nocobase-env-manage с