Skip to main content

Documentation Index

Fetch the complete documentation index at: https://orderly.network/docs/llms.txt

Use this file to discover all available pages before exploring further.

Package: @orderly.network/devkit. Binary: orderly-devkit. All examples in this handbook use orderly-devkit. If you see orderly in older snippets, replace it with orderly-devkit. Run orderly-devkit <command> --help for flags. Requirements: Node.js v20.19.0+.

Authentication

CommandPurpose
orderly-devkit loginBrowser OAuth; writes ~/.orderly/auth.json
orderly-devkit login --forceRe-authenticate
orderly-devkit whoamiShow current session
orderly-devkit logoutClear session
The OAuth redirect callback listens on a fixed port shipped with @orderly.network/devkit (CLI_CALLBACK_PORT, default 9876); there is no --port flag. If that port is in use, free it and retry. Marketplace commands submit, list, update, and view require a logged-in session (Bearer token).

create plugin

Scaffolds from OrderlyNetwork/orderly-plugin-template, optionally writes .orderly-manifest.json.

Interactive

orderly-devkit create plugin

Non-interactive

Requires --no-interactive plus --name and --interceptor. If --id or --target are omitted, they default from --name (see devkit implementation). You can also pass all four to skip prompts.
OptionDescription
--name / -nPlugin display name; normalized to PascalCase
--id / -iPlugin id; kebab-style string, also used for registerPlugin / manifest when valid
--interceptorOne of CLI INTERCEPTOR_TARGETS (subset of SDK—see Interceptors)
--target / -tOutput directory; must be empty or non-existent
--skip-installSkip npm install in generated folder
--no-interactiveNo prompts
orderly-devkit create plugin --no-interactive \
  --name MyPlugin \
  --id my-plugin \
  --interceptor Trading.OrderEntry.SubmitSection \
  --target ./MyPlugin

create module

orderly-devkit create module
orderly-devkit create module --name my-module
Note: Module file generation may be not implemented—the command can collect choices and print a summary only. Check orderly-devkit create module --help for current behavior.

submit

Register a new plugin from a local directory. Resolves metadata from .orderly-manifest.json and/or package.json; can pick up repoUrl from git remote origin when missing.
OptionDescription
--path / -pPlugin root (default: prompt or ./)
--tags / -tComma-separated; valid tags
--storybook-urlOptional Storybook base URL
--dry-run / -dValidate and print payload only
orderly-devkit submit --path ./my-plugin --dry-run
orderly-devkit submit -p ./my-plugin --tags UI,Trading

list

Lists plugins for the authenticated account.
orderly-devkit list
orderly-devkit list --json

update

PATCH metadata for an existing listing. Requires pluginId in .orderly-manifest.json.
orderly-devkit update --path ./my-plugin --dry-run
orderly-devkit update -p ./my-plugin

view

Fetch one plugin by Marketplace id (JSON to stdout).
orderly-devkit view <plugin-id>
Requires login in the current CLI implementation.

mcp install

Installs Orderly SDK Docs MCP config for AI clients. Forwards to the same behavior as orderly-sdk-docs-mcp install.
OptionValues
--clientclaude, codex, cursor, opencode, all, or comma-separated
--scopeuser (default) or project
--nameMCP server key (default: orderly-sdk-docs)
--dry-runPreview without writing
--forceOverwrite existing same-name server entry
orderly-devkit mcp install --client cursor --scope project --dry-run
Details: MCP: install.

skills install

Installs agent skills (default: orderly-plugin-create, orderly-plugin-write, orderly-plugin-add, orderly-plugin-submit) via the upstream skills CLI. Concept: Prefer skills install + mcp install alongside devkit when building plugins—see Skills-first workflow.
OptionDescription
[source]GitHub owner/repo, URL, or local path (built-in default if omitted)
--listList skills without installing
--skill / -sRepeatable; restrict to named skills
--allForward to upstream
--global / -gGlobal skills CLI install
--agent / -ae.g. -a cursor
--copyCopy files instead of symlink
--yes / -yWith --list only
--Forward remaining args to upstream CLI
orderly-devkit skills install
orderly-devkit skills install --list
orderly-devkit skills install --dry-run

Troubleshooting

  • 401 / login: Run orderly-devkit login.
  • Port in use (login): Free the fixed OAuth callback port used by devkit (see CLI_CALLBACK_PORT inside the published @orderly.network/devkit package), then retry.
  • Marketplace API errors: Network or server; confirm whoami and retry.
On npm, @orderly.network/devkit publishes its own readme with the same command surface as this page.