setup-environment
Initialize and configure a new user's local development environment for App Factory. Triggers on /setup, "set me up", or "configure my environment".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Initialize and configure a new user's local development environment for App Factory. Triggers on /setup, "set me up", or "configure my environment".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Anicca earn skill (GATE-0). The automaton loop calls run.sh each wake to discover and execute an earn (x402 / 0xwork / litcoin / nookplot), then VERIFIES it on-chain (tx receipt 0x1 + USDC before/after delta) and appends one line to state/earn-ledger.jsonl. One profitable wake (net>0 AND status 0x1) is the real launch gate. Use when wiring earn into the agent loop, recording an earn outcome, or verifying a profitable wake.
Universal AI-powered web scraper for any platform. Scrape data from Instagram, Facebook, TikTok, YouTube, Google Maps, Google Search, Google Trends, Booking.com, and TripAdvisor. Use for lead generation, brand monitoring, competitor analysis, influencer discovery, trend research, content analytics, audience analysis, or any data extraction task.
Build and deploy production apps using AppFactory's 7 pipelines (websites, mobile, dApps, AI agents, plugins, mini apps, bots). One prompt → live URL.
iOS Simulator automation using AXe CLI for touch gestures, text input, hardware buttons, screenshots, video recording, and accessibility inspection. Use when automating iOS Simulator interactions, writing UI tests, capturing screenshots/video, or inspecting accessibility elements. Triggers on iOS Simulator automation, AXe CLI usage, simulator tap/swipe/gesture commands, or accessibility testing tasks.
Deep competitive analysis for iOS/macOS apps including feature comparison, pricing analysis, strengths/weaknesses, market positioning, and differentiation opportunities. Use when user asks for competitive analysis, competitor research, feature comparison, market positioning, or wants to understand competition in detail.
Configure notification integrations (Telegram, Discord, Slack) via natural language
| name | setup-environment |
| description | Initialize and configure a new user's local development environment for App Factory. Triggers on /setup, "set me up", or "configure my environment". |
| disable-model-invocation | false |
| user-invocable | true |
| allowed-tools | Read, Grep, Glob, Edit, Write, Bash |
Automatically configure a new user's local development environment for App Factory.
/setup, "set me up", or "configure my environment"When triggered, execute the following checks in order. Skip tools that are already installed and at the correct version. Show a plan before executing any installations.
These MUST pass before proceeding. If any fail, show the fix and stop.
node --version 2>/dev/null
brew install node (macOS), nvm install 18, or https://nodejs.orgnpm --version 2>/dev/null
git --version 2>/dev/null
xcode-select --install (macOS) or sudo apt-get install git (Linux)claude --version 2>/dev/null
npm install -g @anthropic-ai/claude-codeVerify the repo is intact and all 6 pipelines are present.
Check each directory exists and contains a CLAUDE.md:
app-factory/CLAUDE.md
website-pipeline/CLAUDE.md
dapp-factory/CLAUDE.md
agent-factory/CLAUDE.md
plugin-factory/CLAUDE.md
miniapp-pipeline/CLAUDE.md
Check these critical files/directories exist:
plugins/factory/commands/factory.md
scripts/local-run-proof/verify.mjs
scripts/factory_ready_check.sh
core/package.json
.claude/settings.json
.mcp.json
# Check if node_modules exists
ls node_modules/.package-lock.json 2>/dev/null
npm install at repository root (requires user approval)ls .husky/_/husky.sh 2>/dev/null
npx husky install (requires user approval)# Check .env exists
test -f .env
Check .mcp.json exists and .claude/settings.json has MCP servers enabled:
github, playwright, filesystem, context7, semgrep
These improve the development experience but are not required.
watchman --version 2>/dev/null
brew install watchman on macOS)xcode-select -p 2>/dev/null
xcode-select --install)Verify these work from root package.json scripts:
npx eslint --version 2>/dev/null
npx prettier --version 2>/dev/null
npx tsc --version 2>/dev/null
Run the validation script to confirm everything:
bash scripts/validate-setup.sh
After all phases, display a summary table:
============================================================
App Factory Environment Setup Report
============================================================
Core Requirements:
Node.js 18+ PASS (v20.11.0)
npm PASS (v10.2.4)
Git PASS (v2.43.0)
Claude Code CLI PASS (v1.x.x)
Repository Integrity:
app-factory PASS
website-pipeline PASS
dapp-factory PASS
agent-factory PASS
plugin-factory PASS
miniapp-pipeline PASS
Core infrastructure PASS
Dependencies:
npm install PASS
Husky hooks PASS
Environment:
.env file PASS
MCP servers PASS (5/5 configured)
Optional Tools:
watchman SKIP (not needed unless using app-factory)
Xcode CLI Tools PASS (macOS)
ESLint PASS
Prettier PASS
TypeScript PASS
============================================================
Result: READY
You're all set! Next steps:
1. Run /factory help to see available commands
2. Run ./quickstart.sh for an interactive guide
3. cd into any pipeline directory and run claude
============================================================
If any BLOCKING check fails:
/setupIf any OPTIONAL check fails: