Awesome-omni-skill aix-init

Initialize or upgrade aix framework in a project. Detects tech stack, generates appropriate tier structure, and sets up Claude Code integration.

install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data-ai/aix-init" ~/.claude/skills/diegosouzapw-awesome-omni-skill-aix-init && rm -rf "$T"
manifest: skills/data-ai/aix-init/SKILL.md
source content

Skill: aix-init

Initialize or upgrade the aix framework in your project.

CRITICAL: Use Scripts, Don't Generate

IMPORTANT: This skill MUST run the actual scripts from the aix framework. Do NOT generate or improvise role/workflow content. The framework files are canonical.

Framework location:

~/tools/aix
(or
$AIX_FRAMEWORK
if set)

Usage

/aix-init           # Initialize new project
/aix-init upgrade   # Upgrade existing project to next tier
/aix-init adopt     # Cherry-pick individual capabilities from higher tiers
/aix-init --add-adapter opencode

For Init (new project)

Run the bootstrap script:

~/tools/aix/bootstrap.sh

For Upgrade (existing project)

Run the upgrade script:

~/tools/aix/upgrade.sh [target-tier]

Example:

~/tools/aix/upgrade.sh 1   # Upgrade to Tier 1
~/tools/aix/upgrade.sh     # Upgrade to next tier (current + 1)

For Adopt (cherry-pick capabilities)

Adopt individual capabilities from higher tiers without full upgrade:

~/tools/aix/adopt.sh --list              # List available capabilities
~/tools/aix/adopt.sh <capability-name>   # Adopt a specific capability

Example:

~/tools/aix/adopt.sh --list           # See what's available
~/tools/aix/adopt.sh agent-browser    # Adopt browser automation skill
~/tools/aix/adopt.sh commit           # Adopt commit skill

When to Use Adopt vs Upgrade

ScenarioUse
Need one specific capability now
adopt
Ready for all capabilities of next tier
upgrade
Want to incrementally build up
adopt
multiple times
Following recommended progression
upgrade

Tracking Adopted Capabilities

Adopted capabilities are tracked in

.aix/tier.yaml
:

tier: 0
name: seed
adopted:
  - agent-browser
  - commit

This prevents re-adoption and informs the upgrade flow about what's already present.

For Add Adapter (existing project)

Add an additional coding assistant adapter without re-bootstrapping:

~/tools/aix/add-adapter.sh <adapter-name>
~/tools/aix/add-adapter.sh <adapter-name> --model-set <model-set>

Examples:

~/tools/aix/add-adapter.sh opencode
~/tools/aix/add-adapter.sh opencode --model-set codex-5.3
~/tools/aix/add-adapter.sh kiro --model-set pro

What this does:

  • Copies adapter config into
    .aix/adapters/<adapter>/
  • Enables adapter in
    .aix/tier.yaml
  • Regenerates adapter outputs with
    aix-generate.py
  • Creates tool entrypoint symlink (for adapters that need one)

Init Flow

1. Detect Existing Setup

Check if

.aix/
already exists:

  • If yes, offer upgrade flow
  • If no, proceed with init

2. Analyze Project

If existing codebase:

[Analyzing existing codebase...]

Detected tech stack:
  - Runtime: Node.js 20
  - Framework: React + Vite
  - Testing: Vitest
  - Styling: Tailwind CSS

Is this correct? [Yes / Edit]

If no code:

No existing code detected. What are you building?
  [ ] Web application (frontend + backend)
  [ ] API/Backend only
  [ ] CLI tool
  [ ] Library/Package
  [ ] Other

3. Determine Starting Tier

Based on:

  • Project complexity (files, dependencies)
  • Team size (git contributors)
  • Existing CI/CD

Usually starts at Tier 0 (Seed).

4. Generate Structure

# Create .aix directory
mkdir -p .aix/{roles,workflows,skills,state}

# Copy tier files
cp -r "$AIX_FRAMEWORK/tiers/0-seed/"* .aix/

# Create tier.yaml
cat > .aix/tier.yaml << EOF
tier: 0
name: seed
initialized_at: $(date -I)
history:
  - tier: 0
    date: $(date -I)
    reason: initial setup
EOF

5. Generate Input Documents

If not present, create templates:

  • docs/product.md
    - from template
  • docs/tech-stack.md
    - from detection or template
  • docs/design.md
    - from template (optional)

6. Setup Claude Code

# Run Claude Code adapter (submodule)
./.aix/adapters/claude-code/generate.sh 0

# Or run from the framework repo
$AIX_FRAMEWORK/adapters/claude-code/generate.sh 0

Creates:

  • CLAUDE.md
    symlink
  • .claude/agents/
    symlink
  • .claude/skills/
    symlink

7. Summary

aix initialized at Tier 0 (Seed)

Created:
  .aix/
  ├── constitution.md
  ├── config.yaml
  ├── tier.yaml
  ├── roles/
  │   ├── analyst.md
  │   ├── coder.md
  │   └── reviewer.md
  └── workflows/
      └── standard.md

  CLAUDE.md → .aix/constitution.md
  .claude/agents/

  docs/
  ├── product.md (template - please fill in)
  ├── tech-stack.md
  └── design.md (template - optional)

Next steps:
1. Fill in docs/product.md with your vision
2. Review docs/tech-stack.md
3. Start working: describe what you want to build

Run /aix-init upgrade when ready for more structure.

Upgrade Flow

1. Check Current Tier

Read

.aix/tier.yaml
for current tier.

2. Analyze Project Signals

inference_signals:
  contributors_30d: [count git authors]
  parallel_branches: [count active branches]
  files_changed_weekly: [estimate from git log]
  has_ci: [check for .github/workflows or similar]
  has_tests: [check for test files]
  test_coverage: [if measurable]

3. Recommend Next Tier

Based on signals:

  • Multiple contributors → Tier 2+
  • Parallel branches → Tier 3
  • No CI but active development → Tier 2
  • Growing complexity → Tier 1

4. Present Upgrade Options

Your project is at Tier 0 (Seed).

Based on analysis:
  - 3 contributors this month
  - 2 parallel branches
  - No CI/CD yet

Recommended: Upgrade to Tier 1 (Sprout)

This will add:
  [x] tester role
  [x] docs role
  [x] quick-fix workflow
  [x] pre-commit hooks (file sizes, focused tests)
  [x] test skill
  [x] commit skill

Proceed? [Yes / Customize / Skip]

5. Apply Upgrade

# Add tier additions
cp -r "$AIX_FRAMEWORK/tiers/1-sprout/"* .aix/

# Update tier.yaml
# Update .claude/agents/
# Setup hooks if applicable

6. Summary

Upgraded to Tier 1 (Sprout)

Added:
  - .aix/roles/tester.md
  - .aix/roles/docs.md
  - .aix/workflows/quick-fix.md
  - .husky/pre-commit
  - .aix/skills/test/
  - .aix/skills/commit/

Updated:
  - .aix/tier.yaml
  - .claude/agents/

Next tier (Tier 2 - Grow) adds:
  - GitHub Actions CI
  - orchestrator and triage roles
  - feature workflow with full phases
  - audit skills

Tech Stack Detection

Node.js/JavaScript

  • Check
    package.json
    for framework (react, next, express, etc.)
  • Check for TypeScript (
    tsconfig.json
    )
  • Check test framework (jest, vitest, mocha)
  • Check styling (tailwind, styled-components, css modules)

Python

  • Check
    requirements.txt
    ,
    pyproject.toml
    ,
    setup.py
  • Check for framework (fastapi, django, flask)
  • Check test framework (pytest, unittest)

Go

  • Check
    go.mod
  • Check for framework (gin, echo, fiber)

Other

  • Look for common config files
  • Ask user if unclear

Error Handling

Already Initialized

aix is already initialized at Tier [N].
Run /aix-init upgrade to upgrade, or delete .aix/ to reinitialize.

Unsupported Project Type

Unable to detect project type. Please specify:
  [ ] Web application
  [ ] API
  [ ] CLI
  [ ] Library
  [ ] Other: ___

Upgrade Not Available

You're at Tier 3 (Scale) - the highest tier.
No further upgrades available.