Skip to content
NewNexus 2.0 is here, and it’s open source. Read the launch post

CLI reference

skills

Your own skills: SKILL.md files, kept in versions that never change; import one, export it unchanged, delete it. Promote one to your organization or a team. It is held until an approver who is not you approves it.

View as Markdown

nexus skills list

nexus skills list

Your skills, most recently written first: name, latest version and description.

nexus skills create

nexus skills create <name>

Write a new skill in your editor ($VISUAL or $EDITOR), from a SKILL.md skeleton.

Examples
nexus skills create release-notes

nexus skills import

nexus skills import <path> [--update]

Add a SKILL.md, or a folder that holds one, as a new skill (version 1); only SKILL.md is sent, and the other files are named; --update writes a new version if you already have a skill of that name, unless the file is already its latest version.

OptionMeaning
--updateWrite a new version if you already have a skill of that name, unless the file is already its latest version
Examples
nexus skills import ./pdf-processing
nexus skills import ./pdf-processing --update

nexus skills export

nexus skills export <name|id> [<version>] [--out dir]

Write a skill's SKILL.md, unchanged, to <dir>/<name>/SKILL.md. The version is a number or latest. A name that a library skill has exports that skill, at an approved version.

OptionMeaning
--out <dir>The folder to write <name>/SKILL.md in (default: the working directory; made if it is missing)
Examples
nexus skills export pdf-processing --out skills

nexus skills delete

nexus skills delete <name|id> --yes

Delete a skill, every version and its content, for good.

OptionMeaning
--yesConfirm a change that deletes or sends more than one thing
Examples
nexus skills delete pdf-processing --yes

nexus skills promote

nexus skills promote <name|id> [<version>] --to org|team/<slug> [--note TEXT]

Ask to promote a version of your skill (default: the latest) to the organization or a team you are in. The request is held until an owner, admin or team lead who is not you approves it.

OptionMeaning
--to <org|team/<slug>>Where to promote it: org, or team/<slug> for a team you are in
--note <TEXT>Why you ask, for the approvers (at most 500 characters)
Examples
nexus skills promote pdf-processing --to org --note "For the whole team"
nexus skills promote pdf-processing 2 --to team/web

nexus skills promotions

nexus skills promotions [--state STATE] [--to TARGET] [--mine] [--limit N] [--cursor C]
nexus skills promotions <id>

The promotion requests you can see, newest first: your own, and those you may approve. STATE is held, approved, refused or withdrawn.

  • nexus skills promotions <id>: One promotion request: who asked and from which version, a diff from the last approved version, and the full text.
OptionMeaning
--state <STATE>Only requests in this state: held, approved, refused or withdrawn
--to <TARGET>Only requests to this target: org or team/<slug>
--mineOnly the promotion requests you made
--limit <N>Requests per page (1 to 200, default 50)
--cursor <C>The next page: the cursor the last page printed
Examples
nexus skills promotions --state held
nexus skills promotions spr_…

nexus skills approve

nexus skills approve <id> [--reason TEXT]

Approve a held promotion request, so its version joins the library. Your sign-in decides; an API key cannot.

OptionMeaning
--reason <TEXT>Why you approve it, for the author (optional, at most 500 characters)
Examples
nexus skills approve spr_…

nexus skills refuse

nexus skills refuse <id> --reason TEXT

Refuse a held promotion request; the reason is required, and the author reads it.

OptionMeaning
--reason <TEXT>Why you refuse it, for the author (required, at most 500 characters)
Examples
nexus skills refuse spr_… --reason "Say when to use it in the description"

nexus skills withdraw

nexus skills withdraw <id> [--reason TEXT] [--all-versions]

Withdraw your held request, or (as an owner, admin or team lead) an approved version. --all-versions withdraws every approved version of that skill.

OptionMeaning
--reason <TEXT>Why you withdraw it, for the author and the audit log (optional, at most 500 characters)
--all-versionsWithdraw every approved version of that library skill, not only this one
Examples
nexus skills withdraw spr_… --all-versions

nexus skills library

nexus skills library [--to TARGET]

The skills your organization and teams approved for you to load, with scope and approved version. A name that two skills share is marked duplicate_name.

OptionMeaning
--to <TARGET>Only skills promoted to this target: org or team/<slug>
Examples
nexus skills library

Generated from the CLI's own command list (nexus help --json), version 0.45.0. nexus help and nexus <command> --help always show your installed version.