npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@donihadimas/aios

v0.5.0

Published

Small CLI for AI-Native Development OS.

Readme

AIOS CLI

NPM Version License: Apache 2.0 Node Version

aios is the small CLI for AI-Native Development OS. It is only for setup, validation, and generating AIOS template files. It helps you create an AI-ready project with a local .aios/ workflow kit, generate common planning documents from templates, and validate that a project has the expected AI workflow structure.

It does not replace Codex or another coding agent. For AI-native development, use the AI agent directly inside the project. The CLI only creates, copies, numbers, renders, and validates files. Your agent still does the product thinking, planning, implementation, testing, and review with the generated docs as context.

📑 Table of Contents

📥 Install

After the package is published:

npm install -g @donihadimas/aios
aios --help

Requirements:

  • Node.js 20 or newer.
  • npm for global install.

🧭 Guided Setup

For most users, start with the guided setup wizard:

aios

The main menu can:

  • create a new project,
  • adopt an existing project,
  • install native agent skills,
  • set up optional external integrations,
  • validate a project,
  • show the next recommended step,
  • browse reusable AIOS prompts.

When creating or adopting a project, the wizard asks for:

  • project type: blank AIOS project or one of the bundled starters,
  • project name or existing project path,
  • project shape: fullstack, frontend, backend, mobile, library, or docs-only,
  • setup mode: full AIOS setup or lite project docs only,
  • docs root: docs/, .aios/project-docs/, or custom path,
  • native agent targets: Codex, Qwen Code, OpenCode, Antigravity, or generic agent skills,
  • skill set: core, planning, delivery, all, or a custom checkbox selection,
  • skill delivery: native agent folders, portable .aios/skills, or both,
  • optional RTK/Caveman/Ponytail integration rules.

Before writing files, AIOS prints a setup summary so you can confirm the target path, project shape, docs root, selected agents, selected skills, and skill delivery mode.

Choose Full AIOS setup for normal AI-native development. It installs the local .aios/ kit with commands, prompts, references, templates, workflows, integrations, config, and optionally portable skills.

Choose Lite setup only when you want the base project docs without the local .aios/ workflow kit.

Choose Native agent folders only when you selected one or more AI agents and want skills installed directly into agent-readable folders:

.agents/skills/      # Codex or generic
.qwen/skills/        # Qwen Code
.opencode/skills/    # OpenCode
.agent/skills/       # Antigravity

Choose Portable .aios/skills only when you want all skill instructions to stay inside the generated .aios/ kit.

Optional integrations are safe by default. AIOS writes project-local rules first. External install or uninstall commands run only after you explicitly approve them.

⚡ Command Quickstart

Use the command quickstart when you already know the setup you want or need a non-interactive flow.

Create a new AI-ready project:

aios init demo-project
aios validate demo-project
aios next demo-project
cd demo-project

By default, generated projects include .aios/ with skills, prompts, references, templates, and workflows. Use --lite only when you want a minimal structure without the local workflow kit. Lite still writes .aios/config.json so agents can resolve mode, docsRoot, and projectShape.

For a compact .aios/ with native skills:

aios init demo-native --agents codex,qwen --skills core --skill-delivery native
aios agent install demo-native --agents opencode,antigravity --skills testing
aios init demo-web --shape frontend
aios init demo-api --shape backend

Or start from a lightweight V2.x starter:

aios starter fullstack-saas demo-saas
aios validate demo-saas
aios next demo-saas
cd demo-saas

Create the first planning artifacts:

aios create feature "Habit reminders"
aios create design "Habit reminders"
aios create openapi "Habit API"
aios create migration "Create habits table"
aios create security "Habit API"
aios create adr "Use server date for habit completion"
aios create task "Implement habit API"
aios create review "Habit API"
aios create release "0.3.1"

Or adopt an existing project:

cd existing-project
aios adopt
aios validate

Open the project in your IDE and ask Codex to start from the generated docs:

Read AGENTS.md, docs/context/context-map.md, .aios/skill-router.md, and docs/tasks/TASK-001-implement-habit-api.md. Use the matching native agent skill when installed, otherwise use the portable .aios skill. Create an implementation plan before coding.

🔄 Recommended Workflow

aios init <project-name>
↓
aios next <project-name>
↓
Use product-discovery to interview user and fill docs/product/vision.md
↓
Use Codex with the prompts from .aios/prompts/
↓
aios create adr <decision-name>
↓
aios create task <task-name>
↓
Codex plans and implements one task
↓
aios create review <name>
↓
Codex reviews the diff against acceptance criteria
↓
aios validate

For V2.x workflow docs, add only the pieces the project needs:

aios create design <feature-name>
aios create openapi <api-name>
aios create migration <migration-name>
aios create security <review-name>
aios create release <release-name>

For an existing project, replace the first step with:

cd <existing-project>
↓
aios adopt
↓
aios validate

🛠️ Commands

aios init <project-name> [--lite] [--shape <shape>] [--docs-root <path>] [--agents <list>] [--skills <set>] [--skill-delivery <mode>]

Copies the bundled AI-ready project skeleton into a new directory and installs the local .aios/ workflow kit.

aios init my-saas
aios init my-saas-lite --lite
aios init my-saas-native --agents codex,qwen --skills core --skill-delivery native
aios init my-saas-clean --docs-root .aios/project-docs
aios init my-web --shape frontend
aios init my-api --shape backend

Behavior:

  • Creates my-saas/.
  • Refuses to overwrite an existing non-empty directory.
  • Includes AGENTS.md, optional CLAUDE.md, shared docs, frontend/, backend/, and .aios/ by default.
  • --lite skips the local .aios workflow kit but still writes .aios/config.json with mode: "lite".
  • --shape accepts fullstack, frontend, backend, mobile, library, or docs; default is fullstack.
  • Shape controls placeholder folders and validation: fullstack creates frontend/ and backend/, frontend creates frontend/, backend creates backend/, mobile creates mobile/, library creates src/, and docs creates no app placeholder folders.
  • --docs-root stores project docs somewhere other than docs/.
  • --skill-delivery accepts portable, native, or both.
  • --agents accepts codex, qwen, opencode, antigravity, and generic.
  • --skills accepts core, planning, delivery, all, or a comma-separated skill list.

aios validate [project-path] [--lite]

Checks whether a project has the expected AI-ready structure.

aios validate
aios validate my-saas
aios validate my-saas-lite --lite

It checks for:

  • AGENTS.md
  • docs/context/context-map.md
  • docs/context/development-start.md
  • docs/product/vision.md
  • docs/product/prd.md
  • docs/product/features/
  • docs/architecture/architecture.md
  • docs/design/design.md
  • docs/adr/
  • docs/tasks/
  • docs/reviews/
  • docs/api/
  • frontend/
  • backend/
  • required .aios/ workflow kit files unless --lite is provided
  • native agent skill files when .aios/config.json uses native repo-scope skill delivery

It also reports warnings, without failing validation, when optional V2.x paths are missing:

  • docs/security/
  • docs/releases/
  • docs/database/migrations/
  • OpenAPI files in docs/api/

Warnings are guidance only. Add these folders when the project needs security reviews, release notes, migration plans, or OpenAPI contracts.

aios starter <starter-name> <project-name> [--lite] [--shape <shape>] [--docs-root <path>] [--agents <list>] [--skills <set>] [--skill-delivery <mode>]

Copies a bundled AI docs only starter into a new directory and installs the local .aios/ workflow kit.

aios starter fullstack-saas my-saas
aios starter fullstack-saas my-saas-lite --lite

Available starters:

  • flutter-mobile
  • nextjs-web
  • node-api
  • nestjs-api
  • laravel-api
  • supabase-app
  • fullstack-saas

Behavior:

  • Creates my-saas/.
  • Refuses to overwrite an existing non-empty directory.
  • Includes stack-oriented placeholders, AI-ready docs, and .aios/ by default.
  • Does not include framework code or dependencies.
  • --lite skips the local .aios workflow kit but still writes .aios/config.json with mode: "lite".

aios adopt [project-path] [--lite] [--shape <shape>] [--docs-root <path>] [--agents <list>] [--skills <set>] [--skill-delivery <mode>]

Adds the AI Dev OS structure and local .aios/ workflow kit to an existing project without overwriting existing files.

cd existing-project
aios adopt
aios validate

You can also pass a path:

aios adopt path/to/existing-project
aios validate path/to/existing-project

Behavior:

  • Creates missing AI Dev OS docs and folders.
  • Installs missing .aios/ workflow kit files by default.
  • Skips files that already exist.
  • Does not overwrite your existing README.md, source code, docs, frontend, or backend folders.
  • Adds frontend/ and backend/ placeholders if they are missing so the project validates against the generic AI-ready structure.
  • --lite skips the local .aios workflow kit but still writes .aios/config.json with mode: "lite".

Use adopt when a project already exists and init would be too destructive.

aios kit install [project-path]

Installs or repairs the local .aios/ workflow kit without overwriting existing files.

aios kit install
aios kit install path/to/project

Use this when a project was created in lite mode or when .aios/ needs to be refreshed with missing assets.

aios agent list

Lists supported native agent targets and available AIOS skills.

aios agent list

Supported agent targets:

  • codex -> repo .agents/skills, user ~/.agents/skills
  • generic -> repo .agents/skills, user ~/.agents/skills
  • qwen -> repo .qwen/skills, user ~/.qwen/skills
  • opencode -> repo .opencode/skills, user ~/.config/opencode/skills
  • antigravity -> repo .agent/skills

aios agent install [project-path]

Installs selected AIOS skills into native agent skill folders.

aios agent install . --agents codex,qwen --skills core
aios agent install . --agents codex --skills planning
aios agent install . --agents opencode --skills testing --dry-run
aios agent install . --agents generic --skills all --scope user

Behavior:

  • In the interactive wizard, choose core, planning, delivery, all, or a custom checkbox selection.
  • Skips existing skill folders by default.
  • Uses --overwrite only when you intentionally want to replace existing installed skills.
  • Uses --dry-run to preview target files without writing.
  • Updates .aios/config.json after a real install.

aios integration list

Lists optional external integrations supported by AIOS.

aios integration list

Supported integrations:

  • rtk - compact noisy terminal command output before it enters AI context.
  • caveman - concise agent response style for status and debug loops.
  • ponytail - minimal-correct-code rules for coding tasks.

aios integration status [project-path]

Shows project integration config, local rules status, and detected external tool status.

aios integration status
aios integration status my-saas

Status checks are live:

  • RTK detection checks rtk on PATH and rtk --version.
  • Caveman detection checks common project and user skill/plugin locations.
  • Ponytail detection checks common project and user skill/plugin locations.
  • Detection results are not stored as permanent truth.
  • rules-only means AIOS local rules are enabled, but the external tool or native skill is not detected.

aios integration add <rtk|caveman|ponytail|all> [project-path]

Enables local integration rules in .aios/ and updates .aios/config.json.

aios integration add rtk .
aios integration add caveman . --mode lite
aios integration add caveman . --mode lite --agents codex,qwen
aios integration add ponytail . --mode full
aios integration add ponytail . --install --agents codex --yes
aios integration add all my-saas --dry-run
aios integration add rtk . --install
aios integration add caveman . --install --agents codex --yes

Behavior:

  • Without --install, AIOS writes local rules and prints manual install guidance when the external tool is missing.
  • With --install, AIOS prints the installer command.
  • Installer execution requires --yes; otherwise AIOS does not run external commands.
  • --dry-run previews config/rule changes without writing files or running installers.
  • Caveman --mode accepts lite, full, or ultra; default is lite.
  • Caveman --agents accepts the same agent names as native skills and installs only those targeted agents.
  • Ponytail --mode accepts lite, full, or ultra; default is full.
  • Ponytail --agents accepts the same agent names as native skills and installs only those targeted agents.
  • External installers run from the target project path, so repo-scoped skills are installed into that project.

aios integration remove <rtk|caveman|ponytail|all> [project-path]

Disables local integration rules, offers user-computer uninstall actions, or both.

aios integration remove rtk .
aios integration remove caveman . --scope project
aios integration remove ponytail . --scope project
aios integration remove rtk . --scope user --dry-run
aios integration remove all . --scope both --yes

Behavior:

  • Default --scope project disables config and renames local rules to *.md.disabled.
  • --scope user does not modify project config; it only plans or runs user-computer uninstall actions.
  • --scope both does both.
  • User-computer uninstall requires --yes before any external command or detected Caveman/Ponytail path removal runs.
  • AIOS does not remove RTK binaries directly; RTK uninstall removes agent hooks and prints package-manager follow-up guidance.

aios integration doctor [project-path]

Checks integration config, local rule files, external detection, and recommended fixes.

aios integration doctor
aios integration doctor my-saas

Use this after external installers fail, after manual edits to .aios/config.json, or when status reports a mismatch.

aios integration repair [project-path]

Restores missing local integration rule files for enabled integrations.

aios integration repair
aios integration repair my-saas --dry-run

Repair does not install external tools. It only restores local AIOS integration rules and missing Caveman/Ponytail target-agent config.

aios config [project-path]

Prints the resolved AIOS project config.

aios config
aios config my-saas

aios prompt list [project-path]

Lists portable AIOS command prompts available in .aios/commands/.

aios prompt list
aios prompt list my-saas

Output:

Available AIOS commands:
- discover-product
- generate-prd
- implement-task
- review-code

aios prompt show <name> [project-path]

Prints one portable AIOS command prompt. This is useful when an agent does not support native slash commands.

aios prompt show generate-prd
aios prompt show review-code my-saas

The command is read-only. It prints the Markdown prompt so you can paste or reference it in Codex or another AI agent.

aios next [project-path]

Prints the next recommended development step without changing files.

aios next
aios next my-saas

It checks whether vision, PRD, architecture, design/task readiness, and tasks are ready, then points the user to the next local prompt or command.

aios create feature <feature-name>

Creates a feature PRD stub from the PRD template.

aios create feature "Team invitations"

Output:

docs/product/features/team-invitations.prd.md

aios create adr <decision-name>

Creates the next numbered ADR from the ADR template.

aios create adr "Use JWT access tokens"

Output:

docs/adr/ADR-001-use-jwt-access-tokens.md

If ADR files already exist, the CLI uses the next available number.

aios create task <task-name>

Creates the next numbered implementation task from the task template.

aios create task "Implement login endpoint"

Output:

docs/tasks/TASK-001-implement-login-endpoint.md

Use this for small, specific, Codex-sized tasks.

aios create review <name>

Creates a review report stub from the review template.

aios create review "Login endpoint"

Output:

docs/reviews/login-endpoint-review.md

aios create design <name>

Creates a UI/UX design document stub.

aios create design "Login flow"

Output:

docs/design/login-flow-design.md

aios create openapi <api-name>

Creates an OpenAPI contract stub.

aios create openapi "Login API"

Output:

docs/api/login-api.openapi.yaml

aios create migration <migration-name>

Creates the next numbered database migration plan.

aios create migration "Create users table"

Output:

docs/database/migrations/MIGRATION-001-create-users-table.md

This command does not apply a database migration.

aios create security <review-name>

Creates a security review report stub.

aios create security "Login API"

Output:

docs/security/login-api-security-review.md

aios create release <release-name>

Creates a release note and creates a changelog draft when one does not already exist.

aios create release "0.3.1"

Output:

docs/releases/0-3-0-release.md
docs/releases/CHANGELOG.md

📂 Generated Project Structure

A project created with aios init looks like this:

my-project/
├── AGENTS.md
├── CLAUDE.md
├── README.md
├── docs/
│   ├── product/
│   │   ├── vision.md
│   │   ├── prd.md
│   │   └── features/
│   ├── architecture/
│   │   └── architecture.md
│   ├── design/
│   │   └── design.md
│   ├── adr/
│   ├── tasks/
│   ├── reviews/
│   ├── api/
│   └── context/
│       ├── context-map.md
│       └── development-start.md
├── .aios/
│   ├── config.json
│   ├── skill-router.md
│   ├── commands/
│   ├── integrations/
│   ├── skills/        # portable or both skill delivery mode
│   ├── prompts/
│   ├── references/
│   ├── templates/
│   └── workflows/
├── .agents/           # optional Codex/generic native skills
├── .qwen/             # optional Qwen Code native skills
├── .opencode/         # optional OpenCode native skills
├── .agent/            # optional Antigravity native skills
├── frontend/
└── backend/

🤖 How To Use With Codex

The CLI prepares files. Codex should still follow the AI Dev OS workflow.

For PRD generation:

If docs/product/vision.md is still thin, read AGENTS.md and .aios/prompts/00-discover-product.md, interview me, and fill the vision first. Then read .aios/prompts/01-generate-prd.md and generate docs/product/prd.md using .aios/templates/prd.template.md.

For task implementation:

Read AGENTS.md, docs/context/context-map.md, .aios/skill-router.md, and the active task in docs/tasks/. Use native agent skills when installed, otherwise use .aios/skills. Create a short implementation plan before editing files. Do not modify unrelated files.

For review:

Review the diff against the active task acceptance criteria. Findings first, then test evidence, risks, and approval or revision required.

🚧 What The CLI Does Not Do

aios does not:

  • generate application code,
  • run Codex or any AI agent,
  • choose a frontend/backend framework,
  • install dependencies for your app,
  • install or uninstall optional external integrations unless you explicitly request it with --yes,
  • apply database migrations,
  • publish releases,
  • bypass human review,
  • infer your existing architecture automatically.

That restraint is intentional. The CLI keeps setup fast while preserving the core AI Dev OS principle: human-owned decisions, small tasks, and verifiable work.

💻 Local Development

Clone this repository, then from cli/:

npm install
npm test
npm run build
npm run aios -- init ../demo-project

🚢 Publishing Checklist

Before publishing to npm, follow the step-by-step checklist at ../validation/npm-publish-readiness-checklist.md. Quick summary:

npm test
npm pack --dry-run

The package must include:

  • dist/src/
  • assets/aios-kit/
  • assets/project-skeleton/
  • assets/templates/
  • assets/starters/
  • README.md
  • LICENSE

The package should not include source tests or dist/test/.

🚑 Troubleshooting

aios: command not found

Make sure the package is installed globally:

npm install -g @donihadimas/aios

Or run it locally from a package install:

./node_modules/.bin/aios --help

Refusing to overwrite non-empty directory

aios init will not overwrite existing work. Choose a new project name or move the existing directory first.

AI-ready structure is incomplete

Run aios validate from the project root, or pass the project path explicitly:

aios validate path/to/project

Then create or restore the missing files listed in the output.

I already have a project. Should I use init or adopt?

Use adopt:

cd existing-project
aios adopt

Use init only for new project directories.

📜 License

This project is licensed under the Apache License, Version 2.0. See the LICENSE and NOTICE.md files for more details.