is-ai-native
v0.1.4
Published
CLI scanner for AI-native repository assessment
Downloads
13
Readme
Is AI-Native CLI
Use the standalone CLI to scan either the current workspace or a GitHub repository from any terminal.
The standalone CLI uses the same shared scan engine as the web app, VS Code extension, and GitHub CLI extension.
Overview
- Package name:
is-ai-native - Executable:
is-ai-native - Scope: local filesystem scans and GitHub repository scans
- Runtime: Node.js 22 or newer
What You Get
- Shared scoring model with the rest of the project surfaces
- Per-assistant results for GitHub Copilot, Claude Code, and OpenAI Codex
- Primitive-level detection for instructions, prompts, agents, skills, MCP config, and agent hooks
- Multiple output formats for interactive use, CI, and export workflows
Install
Install from npm:
npm install is-ai-native
is-ai-native --helpIf you prefer not to install from npm, tagged releases also publish portable standalone bundles. After extracting a release bundle, run:
.\is-ai-native.exe --helpOn Linux:
./is-ai-native --helpEach standalone bundle includes the executable, the bundled CLI module, and the config/ directory required by the scanner, so keep the extracted files together.
Usage
is-ai-native scan [target] [--output human|json|csv|summary] [--branch <branch>] [--token <token>] [--fail-below <score>]Targets can be:
- a local path such as
.orC:\repo - a GitHub short reference such as
microsoft/vscode - a GitHub URL such as
https://github.com/microsoft/vscode
If target is omitted, the CLI scans the current workspace.
Examples:
is-ai-native scan
is-ai-native scan .
is-ai-native scan microsoft/vscode --output summary
is-ai-native scan https://github.com/microsoft/vscode --branch main
is-ai-native scan . --output summary --fail-below 60Output Modes
human: readable console report with a preferred-agent headline plus full per-assistant detailjson: full structured scan resultcsv: one row per primitivesummary: one-line CI-friendly output based on the preferred agent
Exit Codes
0: success1: usage or runtime error2: scan completed, but score was below--fail-below
Authentication
For remote GitHub scans, token resolution order is:
--tokenGITHUB_TOKENGH_TOKEN_FOR_SCAN
Using a token is recommended for repeated scans because unauthenticated GitHub API usage is rate-limited.
Related Components
- ../../README.md for the project overview and web app
- ../gh-extension/README.md for the GitHub CLI extension
- ../vscode-extension/README.md for the VS Code extension
Development And Release
Run from source from the repository root:
npm install
node packages/cli/bin/cli.js --helpExpose the command in your shell during local development:
npm install
npm link .\packages\cli
is-ai-native --helpBuild and validate the CLI package:
npm install
npm run build:cli
npm run build:cli:standalone
npm run test:cli
npm run pack:cli
npx .\artifacts\cli\pack\is-ai-native-<version>.tgz --helpCoordinated release from the repository root:
npm run release:all -- --publish --pushIf you omit the version, the release script reads the CLI, VS Code extension, and GitHub CLI extension manifests, takes the highest current version, and bumps the patch once to create the next unified release version.
Trusted publishing on npm should be configured for GitHub Actions OIDC with:
Organization or user: webmaxru
Repository: is-ai-native
Workflow filename: publish-cli.yml