cd your-project
git submodule add https://github.com/enact-on/super-ai-github.git .super-ai-github
cd .super-ai-github # β WRONG! Don't cd into submodule
./scripts/install.sh # Now it detects the wrong directory!cd your-project
git submodule add https://github.com/enact-on/super-ai-github.git .super-ai-github
# Stay in your project root!
./scripts/install.sh # β
CORRECT! This will auto-detect your tech stackThe updated install script is smart - it automatically detects when you're inside the submodule and will check your parent project's tech stack instead!
# 1. Go to your demo project
cd C:/Users/afsai/Desktop/Files/pilot/nextjs/demo
# 2. Add SuperAI as submodule
git submodule add https://github.com/enact-on/super-ai-github.git .super-ai-github
# 3. Install from your project root (NOT from inside the submodule!)
./scripts/install.sh
# You should now see:
# [INFO] This will install SuperAI agents and skills in .claude-agents/
# [INFO] Your existing .claude/ configuration will NOT be touched.
# [INFO] Detecting technology stack...
# [SUCCESS] Detected technologies:
# - Next.js
# - Laravel
# - React
# - TypeScript
# - Node.js
# - PHP
# - ViteThe script now checks your parent project for:
package.json β React, Next.js, Vue, Node.js, TypeScript
composer.json β Laravel, PHP
requirements.txt β Python, Django, FastAPI
go.mod β Go
Cargo.toml β Rust
pom.xml β Java/Maven
build.gradle β Java/GradleTry this on your demo project:
cd C:/Users/afsai/Desktop/Files/pilot/nextjs/demo
git submodule add https://github.com/enact-on/super-ai-github.git .super-ai-github
./scripts/install.sh
# You should see both Next.js and Laravel detected!- Always run from project root - never cd into the submodule
- The script is smart now - it auto-detects parent project
- Tech detection works - it finds package.json, composer.json, etc.
- Selective installation - only relevant agents/skills are installed
Try it now on your demo project and it should work perfectly! π