nb skill
nb skill lets you inspect the skills loaded into your NimbleBrain workspace. Skills are markdown files with YAML frontmatter that control how the agent’s system prompt is composed and which tools are available for a given request.
nb skill <action> [args] [flags]Actions
Section titled “Actions”| Action | Description |
|---|---|
list | List all loaded skills |
info <name> | Show details for a specific skill |
| Flag | Description |
|---|---|
--config <path> | Config file path |
--json | Output as JSON (with list) |
Listing skills
Section titled “Listing skills”Show all loaded skills — both core (built-in) and user-defined:
nb skill listNAME TYPE PRIORITY SOURCEbootstrap context 100 src/skills/core/bootstrap.mdcode-review skill 50 ~/.nimblebrain/skills/code-review.mdsummarize skill 50 ~/.nimblebrain/skills/summarize.mdSkills are loaded from three sources:
- Core skills (
src/skills/core/) — always loaded, always injected into the system prompt - Global skills (
~/.nimblebrain/skills/) — available to all workspaces - Config skill dirs — directories listed in the
skillDirsarray of yournimblebrain.json
JSON output
Section titled “JSON output”nb skill list --json[{"name":"bootstrap","type":"context","priority":100,"source":"src/skills/core/bootstrap.md","description":"Teaches the agent about meta-tools and mpak"},{"name":"code-review","type":"skill","priority":50,"source":"~/.nimblebrain/skills/code-review.md","description":"Review code for quality and correctness"}]Inspecting a skill
Section titled “Inspecting a skill”Get full details for a named skill:
nb skill info bootstrapName: bootstrapType: contextPriority: 100Description: Teaches the agent about meta-tools and mpakSource: src/skills/core/bootstrap.md
--- Body ---You have access to system tools that let you manage your own capabilities:
- **nb__discover_tools** — Search across all installed bundle tools by keyword- **nb__discover_bundles** — Search the mpak registry for bundles to install- **nb__manage_bundle** — Install, uninstall, or configure a bundle- **nb__bundle_status** — Get version, health, and tool count for installed bundlesThe output includes the skill’s metadata (name, type, priority, description, source path) and the first 500 characters of its body.
If an allowed-tools list is defined, it also appears:
nb skill info code-reviewName: code-reviewType: skillPriority: 50Description: Review code for quality and correctnessSource: ~/.nimblebrain/skills/code-review.mdAllowed tools: bash_exec, bash_read
--- Body ---You are a code reviewer. Analyze the code the user provides for:- Bugs and logic errors- Security vulnerabilities- Performance issues- Readability and maintainabilityIf the skill is not found:
nb skill info nonexistentSkill "nonexistent" not found.Related commands
Section titled “Related commands”- nb status — see skill count alongside bundle info
- nb bundle — manage bundles that provide tools to skills
- CLI Overview — global flags and config resolution