nocobase-app-plugin-cli-example SKILL.md skillA

nocobase-app-plugin-cli-example from nocobase/nocobase is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add nocobase/nocobase/nocobase-app-plugin-cli-example@git:20261012.693e43d

Pins git:20261012.693e43d in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
nocobase/nocobase
Path
packages/examples/app-plugin-cli-example/skills/nocobase-app-plugin-cli-example/SKILL.md
Versions recorded
5
Latest version
git:20261012.693e43d, committed Oct 12, 2026
First version recorded
Sep 8, 2026
Size
5,701 bytes
Repository stars
24,822
License
none declared

Use when adding commands to an application's nocobase CLI, or when working out how a plugin contributes CLI commands. Covers the ./cli entry, defineCliPlugin, and how topics are assembled.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# CLI Example Plugin

This plugin contributes commands to the application's `nocobase` CLI. Read it as the reference implementation when
writing commands for another plugin.

## What a CLI plugin is

A plugin contributes commands by exporting a `./cli` entry. The application lists that entry in `cli/plugins.ts`, and `pnpm nocobase` assembles it into one command tree alongside the built-in commands of `@nocobase/app-cli`, such as `config *`, `db *`, `plugin *` and `build`, and the application's own `app *` commands.

Every command extends `AppCommand` from `@nocobase/app-cli`: it returns its result, throws `CommandError` on failure, and gets `--json` from the base class. By default a command is static tooling that operates on files and packages; one that needs the application creates it with `this.withApp(async ({ app }) => …)`. The `nocobase-app-plugin-development` Skill's CLI reference has the whole contract.

## The three pieces

**A command** is an `AppCommand` subclass — the same base the built-in commands use:

```ts
// cli/greet.ts
import { AppCommand } from '@nocobase/app-cli';
import { Args, Flags } from '@oclif/core';

export default class Greet extends AppCommand {
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add nocobase/nocobase/nocobase-app-plugin-cli-example@sha256:a46a7da3d52d8fb4

The line at the top of this page pins the label git:20261012.693e43d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_7jwdzhylc7brkmba.svg)](https://markdownregistry.com/a/art_7jwdzhylc7brkmba)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Sep 8, 2026 and Oct 12, 2026, about one every 8 days.

versioncommittedcommitsizeaudit
git:20261012.693e43d latest2026-10-12 693e43d 5,701 BA view · diff
git:20260926.ec92b202026-09-26 ec92b20 5,697 BA view · diff
git:20260926.dbf56312026-09-26 dbf5631 4,915 BA view · diff
git:20260925.02d54022026-09-25 02d5402 4,232 BA view · diff
git:20260908.ec576ba2026-09-08 ec576ba 4,205 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5701 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

nocobase/nocobase · 24,822 stars · license none declared · pushed 2026-11-03 · branch v3-develop

API

GET https://markdownregistry.com/api/v1/artifacts/art_7jwdzhylc7brkmba
GET https://markdownregistry.com/api/v1/resolve?ref=nocobase/nocobase/nocobase-app-plugin-cli-example
GET https://markdownregistry.com/api/v1/blob/a46a7da3d52d8fb48aadd3059468c0d3587b9d550fa07b1e91bacf3a394e6111

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from nocobase/nocobase

AGENTS.md AGENTS.md file
nocobase/nocobase · AGENTS.md
git:20261027.df09e63 · audit A · 24,822 stars
CLAUDE.md CLAUDE.md file
nocobase/nocobase · CLAUDE.md
git:20260821.8103b01 · audit B · 24,822 stars
AGENTS.md@docs AGENTS.md file
nocobase/nocobase · docs/AGENTS.md
git:20261018.90e5a99 · audit A · 24,822 stars
CLAUDE.md@docs CLAUDE.md file
nocobase/nocobase · docs/CLAUDE.md
git:20260915.5c73abe · audit B · 24,822 stars
nb-studio-cli SKILL.md skill
nocobase/nocobase · packages/app/app-cli-client/tests/fixtures/packaged-cli/skills/nb-studio-cli/SKILL.md · A synthetic Studio Skill for offline CLI tests.
git:20261013.6758f9f · audit B · 24,822 stars
nocobase-app-development SKILL.md skill
nocobase/nocobase · packages/app/app-skills/skills/nocobase-app-development/SKILL.md · Primary entry for building complete NocoBase 3 applications and individual features: business and administration pages…
git:20261031.e9256f4 · audit B · 24,822 stars
shadcn SKILL.md skill
nocobase/nocobase · packages/app/app-skills/skills/nocobase-app-development/references/frontend/shadcn/SKILL.md · Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including…
git:20261010.98e79a5 · audit A · 24,822 stars
nocobase-app-plugin-development SKILL.md skill
nocobase/nocobase · packages/app/app-skills/skills/nocobase-app-plugin-development/SKILL.md · Create and maintain NocoBase 3 plugins inside an existing App or a NocoBase 3 source workspace, including Client…
git:20261028.a56182e · audit A · 24,822 stars
nocobase-app-upgrade SKILL.md skill
nocobase/nocobase · packages/app/app-skills/skills/nocobase-app-upgrade/SKILL.md · Upgrade this application to a newer release of the template it was generated from, which is how this application moves…
git:20261028.d3f0c92 · audit A · 24,822 stars
nocobase-deployment SKILL.md skill
nocobase/nocobase · packages/app/app-skills/skills/nocobase-deployment/SKILL.md · Plan, build, deploy, verify, upgrade, and troubleshoot NocoBase 3 applications on an existing Studio or a standalone…
git:20261031.e9256f4 · audit A · 24,822 stars
AGENTS.md@packages/examples/app-plugin-authorization-example AGENTS.md file
nocobase/nocobase · packages/examples/app-plugin-authorization-example/AGENTS.md
git:20261026.05f800a · audit A · 24,822 stars
CLAUDE.md@packages/examples/app-plugin-authorization-example CLAUDE.md file
nocobase/nocobase · packages/examples/app-plugin-authorization-example/CLAUDE.md
git:20260919.64b3fdb · audit B · 24,822 stars

Every file in nocobase/nocobase

Browse by kind, by grade A, or by owner.