oclif CLI

A single generator run creates the starting structure of a command-line tool for an agent to adapt to project-specific tasks.

  • 9,608 ★ on the repository
  • Last commit
  • MIT
CLI

Extended access

Why this level

  • Generation writes project files, packaging executes build steps and release commands modify S3 artifacts.
All reasons and checks

oclif/oclif

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add cli/oclif-cli

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • Generation writes project files, packaging executes build steps and release commands modify S3 artifacts.

This is third-party code. Review the repository files before installing.

What it does

oclif CLI creates a command-line project with a `hello world` example. After generation, the user opens help, runs the example and asks an agent to implement the application’s commands. The scaffold can become a standalone CLI or a plugin for an oclif application. For a release, `oclif pack` builds installable packages and `oclif readme` writes command documentation to the README. `oclif upload` sends artifacts to AWS S3; `oclif promote` assigns builds to a release channel.

Who it is for. Node.js CLI authors delegating implementation on top of an oclif scaffold.

Good fit when

  • A project needs its own multi-command utility.
  • An agent adds a command to an oclif application.
  • A release needs installable artifacts for different systems.
  • Current command documentation should be reflected in the README.

Not a fit when

  • You need a general application generator unrelated to oclif.
  • The existing application uses an incompatible command architecture.
  • Uploading builds to S3 is not authorized by the account owner.

Example request

Generate a local CLI scaffold with oclif, show its commands and an implementation plan without uploading artifacts.

Limitations

The generator requires Node.js 18 or later on a supported LTS release; the generated CLI’s runtime requirements are configured separately. The hello-world example does not implement your application logic or tests. The old `oclif multi`, `oclif plugin` and `oclif single` commands have been removed; existing scripts must use `oclif generate`. Artifact upload and promotion access real AWS S3 resources with the configured account’s permissions.

How to disable. Stop generation or packaging. Remove the generated project and uploaded S3 artifacts separately if no longer needed.

FAQ

Which command creates a CLI?

The example uses `npx oclif generate mynewcli`.

What does the first generator prompt ask for?

The npm package name of the new utility.

How do I check the generated example?

Enter the project directory and run `./bin/run.js hello world` for the sample greeting. `./bin/run.js --help` lists the commands.

Where can I inspect oclif commands?

Run `oclif help`.

What does oclif upload do?

It uploads installable CLI artifacts to AWS S3.

Discussion

No questions or reviews yet.

CLI tools

A CLI that scaffolds an application from selected stack parts and helps add capabilities to an existing generated project.

CLIExtended access819Repository stars

Black-box auditor runs a released CLI, catches side writes to disk and gives agents a command index with a readiness score.

CLIExtended access441Repository stars

AI Code Toolkit

aicode-toolkit

Plugins and MCP servers for coding agents: template-based projects, patterns before a file edit and review against YAML rules.

PluginExtended access160Repository stars

Pake CLI packages a website or local web build as a desktop app with a chosen name, icon and window configuration.

CLIExtended access62.8KRepository stars

clihub turns any MCP server into a ready CLI: each tool becomes a subcommand and the result is one static binary with no runtime dependencies

CLIBroad access668Repository stars

The CLI manages Python projects, environments and package builds so agents can run repeatable repository-defined commands.

CLIExtended access7.2KRepository stars

README in short

New commands and hooks use `oclif generate:command` and `oclif generate:hook`. The `@oclif/core` library can also be used without the generator.

README badge

Report a problem

Foxx AIoclif CLI
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.