I'll help you understand the workflow for running through all the commands in this AgentRC project. Let me first load the repository structure and command reference to give you a comprehensive guide.Let me try a different approach to find the commands:Based on the semantic and lexical search results, here's a comprehensive workflow for running through all the commands in the AgentRC project:
The project has 9 main commands. Here's the recommended execution order for a complete walkthrough:
npx agentrc init [path]Purpose: Guided interactive setup for a repository
- Analyzes the repo
- Generates instructions and configs
- Optionally clones from GitHub or Azure DevOps
- Use
--yesto skip prompts,--githubor--provider azureto specify source - Creates
.agentrc-cachefor remote repos
npx agentrc analyze [path]
npx agentrc analyze --output report.json # Save report
npx agentrc analyze --output report.md # Markdown formatPurpose: Detect languages, frameworks, monorepo structure, areas
- Scans for: languages, package manager, build system, test setup
- Detects monorepo workspaces
- Output: JSON or Markdown
npx agentrc readiness [path]
npx agentrc readiness --visual # HTML report
npx agentrc readiness --output report.html
npx agentrc readiness --per-area # Per-area breakdown
npx agentrc readiness --fail-level 3 # CI gate (fail if < level 3)Purpose: Score repo across 9 maturity pillars:
- Repo Health: Style, Build, Testing, Docs, Dev Environment, Code Quality, Observability, Security
- AI Setup: AI Tooling setup
Maturity levels: 1 (Functional) → 5 (Autonomous)
npx agentrc instructions # Default: .github/copilot-instructions.md
npx agentrc instructions --areas # Root + all detected areas
npx agentrc instructions --areas-only # File-based area instructions only
npx agentrc instructions --area frontend # Single area
npx agentrc instructions --strategy nested # AGENTS.md + detail files
npx agentrc instructions --claude-md # Generate CLAUDE.md (nested)Purpose: Generate AI instructions for Copilot SDK
- Strategies:
flat(single file) ornested(hub + area details) - Integrates with Copilot CLI for model selection
npx agentrc eval --init # Scaffold eval config (agentrc.eval.json)
npx agentrc eval --init --count 10 # Generate 10 test cases
npx agentrc eval agentrc.eval.json # Run evaluation
npx agentrc eval --model gpt-4 --judge-model claude-sonnet-4.5
npx agentrc eval --fail-level 80 # CI gate: fail if pass rate < 80%
npx agentrc eval --output results.json # Save resultsPurpose: Measure instruction quality by comparing with/without instructions
- Judge model rates responses
- Generates trajectory viewer
npx agentrc generate instructions [path] # Same as `agentrc instructions`
npx agentrc generate agents [path] # Generate AGENTS.md
npx agentrc generate mcp [path] # MCP server config
npx agentrc generate vscode [path] # VS Code settingsPurpose: Generate ecosystem configs
- Supports monorepos with
--per-app
npx agentrc pr owner/repo # GitHub
npx agentrc pr org/project/repo --provider azure
npx agentrc pr owner/repo --branch custom-branchRequires:
GITHUB_TOKEN/GH_TOKENfor GitHubAZURE_DEVOPS_PATfor Azure DevOps
Purpose: Clone repo, generate instructions + configs, create PR
npx agentrc batch owner/repo1 owner/repo2 owner/repo3
npx agentrc batch --provider azure org/project/repo1 org/project/repo2
npx agentrc batch --output results.jsonPurpose: Run instructions generation across multiple repos in parallel
npx agentrc batch-readiness
npx agentrc batch-readiness --output report.html
npx agentrc batch-readiness --policy ./policies.jsonPurpose: Generate HTML report comparing readiness across multiple repos
npx agentrc tui # Full interactive mode
npx agentrc tui --repo /path/to/repo
npx agentrc tui --no-animation # Skip bannerPurpose: Interactive menu for generation, evaluation, batch workflows
- Default when run with no args
# 1. Set up repo
npx agentrc init /path/to/repo
# 2. Analyze structure
npx agentrc analyze /path/to/repo --output analysis.json
# 3. Assess readiness
npx agentrc readiness /path/to/repo --visual --output readiness.html
# 4. Generate instructions
npx agentrc instructions --repo /path/to/repo --areas
# 5. Create eval scaffold
npx agentrc eval --init --repo /path/to/repo
# 6. Run evaluation (after editing agentrc.eval.json)
npx agentrc eval agentrc.eval.json --repo /path/to/repo
# 7. Create PR with all configs
npx agentrc pr owner/repo
# 8. For multiple repos
npx agentrc batch owner/repo1 owner/repo2 --output batch-results.jsonnpm run build # Compile TypeScript → dist/
npm run typecheck # Type check
npm run lint # ESLint
npm run test # Single run
npm run test:watch # Watch modeRun without building:
npx tsx src/index.ts <command> [options]--json— Machine-readable JSON to stdout--quiet— Suppress progress output--accessible— Screen reader friendly