Skip to content

agents-repo/cli

Repository files navigation

agents-repo CLI

Official CLI for installing and managing agents-repo packages from the registry.

npm run build
node dist/bin/agents-repo.js <command>

Commands (init, install, search, and more) land in later milestones. This repository currently provides contributor scaffolding and CI.

Stack

  • Node.js 24.x (.nvmrc pinned to 24.18.0)
  • npm 12.x (packageManager pinned to npm@12.0.1)
  • TypeScript
  • Vitest for unit tests
  • ESLint, markdownlint, and YAML lint for quality gates

Getting Started

nvm use
corepack enable npm
corepack prepare npm@12.0.1 --activate
npm ci

Common Commands

Command Purpose
npm run env:check Verify Node/npm versions
npm run lint:all Markdown, ESLint, and YAML lint
npm run typecheck TypeScript check
npm run test Sync script tests + Vitest
npm run check:secrets Scan tracked files for secret patterns
npm run build Compile src/bin/agents-repo.ts to dist/
npm run sync:cursor-rules Regenerate .cursor/rules/agents-cli.mdc

Run the full PR baseline locally:

npm run env:check && npm run lint:all && npm run typecheck && npm test && npm run check:secrets

IDE Agent Instructions

Tool Path
Copilot .github/copilot-instructions.md
Cursor .cursor/rules/agents-cli.mdc

Do not edit .cursor/rules/agents-cli.mdc directly. Run npm run sync:cursor-rules.

Contributing

See .github/CONTRIBUTING.md and docs/development.md.

About

The official CLI engine for agents-repo. Initialize, install, and manage AI agent configurations and development workflows directly from your terminal. Compatible with MCP.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors