Skip to content
AI & Agents
Command

/initx

`/initx [OPTIONS]`

BOOST
From plugin
universal
1112 skills28 agents2 commands
Install
> /plugin marketplace add Toskysun/sub-agents
> /plugin install universal@sub-agents

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/initx

Context preview

What this command does when you run it.

`/initx [OPTIONS]`

Command definition

initx.md

InitX - Project Intelligence & Agent Recruitment System

Usage

`/initx [OPTIONS]`

๐ŸŽฏ Core Function

Analyze project codebase, detect technology stack, and **CREATE NEW PROJECT-SPECIFIC AGENTS** tailored to your unique requirements. Saves custom agents to `.claude/agents/` and updates project `CLAUDE.md`.

๐Ÿš€ Command Modes

๐ŸŽฏ Basic Usage

/initx                    # Smart analysis & agent creation
/initx --preview         # Preview mode (no file creation)
/initx --force          # Force overwrite existing agents

๐Ÿ“Š Advanced Options

  • `--mode=minimal` - Create only essential agents
  • `--focus=security` - Focus on security-specific agents
  • `--exclude=ui` - Skip UI/design agents
  • `--template=mobile` - Use mobile project template
  • `--model=inherit` - Force all agents to use specified model (inherit/sonnet/opus/haiku)

๐Ÿง  Intelligence Detection Matrix

Technology Stack Recognition

Frontend: vue (*.vue, nuxt.config.js), react (*.jsx, next.config.js), angular
Backend: fastapi (main.py), spring (pom.xml), go (go.mod), node (express/koa)
Mobile: android (*.kt, AndroidManifest.xml), flutter (pubspec.yaml)
Security: reversing (*.apk, frida scripts), hooking (xposed modules)

Project Complexity Assessment

  • **Simple**: 1-2 custom agents (single stack)
  • **Medium**: 3-5 custom agents (multi-stack)
  • **Complex**: 5-8 custom agents (microservices)
  • **Enterprise**: 8+ custom agents (distributed)

๐Ÿค– Agent Creation Algorithm

Phase 1: Core Stack Agents

**Creates NEW specialized agents based on detected stack:**

  • `vue-{project-name}-developer` - Project-specific Vue expert
  • `api-{domain}-specialist` - Custom API integration expert
  • `{database}-data-architect` - Database-specific data expert

Phase 2: Domain-Specific Agents

**Creates NEW agents for unique project domains:**

  • `{domain}-business-logic-expert` - Business rules specialist
  • `{integration}-connector-agent` - Third-party integration expert
  • `{platform}-deployment-specialist` - Platform-specific deployment

Phase 3: Quality & Operations Agents

**Creates NEW agents for project-specific QA:**

  • `{stack}-testing-specialist` - Stack-specific testing expert
  • `{environment}-ops-engineer` - Environment-specific operations

๐Ÿ“ Generated Structure

project_root/
โ”œโ”€โ”€ .claude/
โ”‚   โ””โ”€โ”€ agents/                    # NEW custom agents
โ”‚       โ”œโ”€โ”€ vue-ecommerce-developer.md
โ”‚       โ”œโ”€โ”€ payment-integration-specialist.md
โ”‚       โ”œโ”€โ”€ postgres-data-architect.md
โ”‚       โ””โ”€โ”€ aws-deployment-specialist.md
โ”œโ”€โ”€ CLAUDE.md                      # Updated with new team
โ””โ”€โ”€ .gitignore                     # Updated exclusions

๐Ÿ—๏ธ Custom Agent Template

โš ๏ธ **LANGUAGE REQUIREMENT**: All agent content MUST be generated in ENGLISH.

---
name: {project-domain}-{specialization}-agent
description: Project-specific {specialization} expert for {project_name}
model: inherit  # Options: inherit | sonnet | opus | haiku
---

You are the **{Project Domain} {Specialization} Agent** for the {project_name} project.

## STRICT AGENT BOUNDARIES

**ALLOWED ACTIONS:**
- {Domain-specific actions based on project analysis}
- {Tech stack specific implementations}
- {Integration and performance optimizations}

**FORBIDDEN ACTIONS:**
- {Cross-domain work} (delegate to {appropriate_agent})
- Infrastructure concerns (delegate to devops-engineer)
- Security audits (delegate to code-review-expert)

**CORE MISSION:** {Single sentence describing the agent's purpose}

## RESPONSIBILITIES

### 1. {Primary Domain Area}
- {Specific responsibilities based on project analysis}
- {Pattern implementations from detected codebase}

### 2. {Quality & Testing}
- {Testing requirements specific to domain}
- {Performance criteria for project}

### 3. {Collaboration}
- Input from: {upstream agents}
- Output to: {downstream agents}
- Coordinate with: {peer agents}

## TECHNOLOGY STACK
**Primary**: {Detected technologies with versions}
**Integrations**: {Third-party services}
**Constraints**: Work exclusively within {project_domain} of {project_name}

๐Ÿง  Intelligent Model Selection System

Model Selection Matrix

Complex Reasoning (opus): Architecture design, security analysis, microservices
Balanced Performance (sonnet): Most development agents, API/database, testing
Simple Fast (haiku): Config generation, simple scripts, documentation
Inherit from Parent (inherit): Maintain consistency, avoid switching overhead

Force Model Option (--model parameter)

/initx --model=inherit    # All agents inherit from parent (best for cost control)
/initx --model=sonnet     # All agents use Sonnet (balanced performance)
/initx --model=opus       # All agents use Opus (maximum reasoning) 
/initx --model=haiku      # All agents use Haiku (fastest response)

โš ๏ธ Using `--model` overrides intelligent model selection for consistency/cost control.

User Confirmation Flow

Standard Mode (Intelligent Model Selection)

๐Ÿค– Agent Creation - {agent_name}
๐Ÿ“Š Recommended: {suggested_model} ({reason})

Select model: [1] โœ… Recommended [2] Opus [3] Sonnet [4] Haiku [5] Inherit
Confirm? [y/N]

Force Model Mode (--model parameter)

๐Ÿค– Agent Creation - {agent_name}
๐Ÿ“Š Model: {forced_model} (forced by --model)
Confirm? [y/N]

โš ๏ธ IMPORTANT: Language Requirements

**All generated agents MUST be created in English**, regardless of the user's input language:

  • Agent names: Always in English (e.g., `vue-ecommerce-developer`, not `vue-็”ตๅ•†-ๅผ€ๅ‘่€…`)
  • Agent descriptions: Always in English
  • Agent content: Always in English
  • Documentation comments: Always in English

This ensures consistency and compatibility across all projects and teams.

โšก Execution Flow

Phase 1: Project Intelligence (15s)

Read more
Ships withuniversal

ไธ“ไธบClaude Code่ฎพ่ฎก็š„ๅ…จ้ขAIไปฃ็†้›†ๅˆ

Get the whole plugin

Other commands on universal.