~ / rigs / alipasakaratas / alpa-studio

alipasakaratas/alpa-studio

Local-first Claude Code studio framework for Unity mobile games: fresh session per task, approval gates, measured token savings.

↗ GitHub ★ 0 NOASSERTION updated today project Claude Code
stack: Python
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~1.5k tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
4/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · details
Quality 53/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit alipasakaratas/alpa-studio/templates/project/.claude ./rig-alpa-studio  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ npx degit alipasakaratas/alpa-studio/templates/project/.claude/skills/design-authority .claude/skills/design-authority
$ npx degit alipasakaratas/alpa-studio/templates/project/.claude/skills/device-test .claude/skills/device-test
$ npx degit alipasakaratas/alpa-studio/templates/project/.claude/skills/next-task .claude/skills/next-task
$ npx degit alipasakaratas/alpa-studio/templates/project/.claude/skills/release-gate .claude/skills/release-gate
$ npx degit alipasakaratas/alpa-studio/templates/project/.claude/skills/research-game .claude/skills/research-game
$ npx degit alipasakaratas/alpa-studio/templates/project/.claude/skills/studio-start .claude/skills/studio-start
$ npx degit alipasakaratas/alpa-studio/templates/project/.claude/skills/visual-qa .claude/skills/visual-qa
$ curl -fsSL --create-dirs -o .claude/agents/2d-artist.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/2d-artist.md
$ curl -fsSL --create-dirs -o .claude/agents/3d-artist.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/3d-artist.md
$ curl -fsSL --create-dirs -o .claude/agents/accessibility.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/accessibility.md
$ curl -fsSL --create-dirs -o .claude/agents/android-engineer.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/android-engineer.md
$ curl -fsSL --create-dirs -o .claude/agents/animator.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/animator.md
$ curl -fsSL --create-dirs -o .claude/agents/art-director.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/art-director.md
$ curl -fsSL --create-dirs -o .claude/agents/audio-director.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/audio-director.md
$ curl -fsSL --create-dirs -o .claude/agents/backend-engineer.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/backend-engineer.md
$ curl -fsSL --create-dirs -o .claude/agents/build-engineer.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/build-engineer.md
$ curl -fsSL --create-dirs -o .claude/agents/child-safety.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/child-safety.md
$ curl -fsSL --create-dirs -o .claude/agents/competitor-analyst.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/competitor-analyst.md
$ curl -fsSL --create-dirs -o .claude/agents/composer.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/composer.md
$ curl -fsSL --create-dirs -o .claude/agents/concept-artist.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/concept-artist.md
$ curl -fsSL --create-dirs -o .claude/agents/continuity-manager.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/continuity-manager.md
$ curl -fsSL --create-dirs -o .claude/agents/copyright.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/copyright.md
$ curl -fsSL --create-dirs -o .claude/agents/data-analyst.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/data-analyst.md
$ curl -fsSL --create-dirs -o .claude/agents/device-lab.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/device-lab.md
$ curl -fsSL --create-dirs -o .claude/agents/economy-designer.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/economy-designer.md
$ curl -fsSL --create-dirs -o .claude/agents/editor-tools-engineer.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/editor-tools-engineer.md
$ curl -fsSL --create-dirs -o .claude/agents/game-designer.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/game-designer.md
$ curl -fsSL --create-dirs -o .claude/agents/game-director.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/game-director.md
$ curl -fsSL --create-dirs -o .claude/agents/gameplay-qa.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/gameplay-qa.md
$ curl -fsSL --create-dirs -o .claude/agents/ios-engineer.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/ios-engineer.md
$ curl -fsSL --create-dirs -o .claude/agents/level-designer.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/level-designer.md
$ curl -fsSL --create-dirs -o .claude/agents/localization.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/localization.md
$ curl -fsSL --create-dirs -o .claude/agents/monetization-auditor.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/monetization-auditor.md
$ curl -fsSL --create-dirs -o .claude/agents/narrative-designer.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/narrative-designer.md
$ curl -fsSL --create-dirs -o .claude/agents/performance-qa.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/performance-qa.md
$ curl -fsSL --create-dirs -o .claude/agents/privacy-security.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/privacy-security.md
$ curl -fsSL --create-dirs -o .claude/agents/producer.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/producer.md
$ curl -fsSL --create-dirs -o .claude/agents/product-manager.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/product-manager.md
$ curl -fsSL --create-dirs -o .claude/agents/qa-lead.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/qa-lead.md
$ curl -fsSL --create-dirs -o .claude/agents/release-manager.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/release-manager.md
$ curl -fsSL --create-dirs -o .claude/agents/research-analyst.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/research-analyst.md
$ curl -fsSL --create-dirs -o .claude/agents/resource-manager.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/resource-manager.md
$ curl -fsSL --create-dirs -o .claude/agents/review-miner.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/review-miner.md
$ curl -fsSL --create-dirs -o .claude/agents/sound-designer.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/sound-designer.md
$ curl -fsSL --create-dirs -o .claude/agents/studio-director.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/studio-director.md
$ curl -fsSL --create-dirs -o .claude/agents/systems-designer.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/systems-designer.md
$ curl -fsSL --create-dirs -o .claude/agents/technical-artist.md https://raw.githubusercontent.com/alipasakaratas/alpa-studio/main/templates/project/.claude/agents/technical-artist.md

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(./.env.*)",
      "Read(./**/*.p12)",
      "Read(./**/*.keystore)",
      "Bash(git push --force *)",
      "Bash(git reset --hard *)",
      "Bash(git clean -f *)",
      "Bash(* --dangerously-skip-permissions*)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash|Write|Edit|MultiEdit|NotebookEdit",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR/.claude/hooks/studio_hook.py\""
          }
        ]
      }
    ]
  }
}

Skills (7)

Subagents (46)

2d-artist
model: opus
Produces 2D asset specifications within the approved style.
3d-artist
model: opus
Produces topology, material, rig, and export specifications.
accessibility
model: opus
Audits motor, visual, hearing, cognitive, and motion access.
android-engineer
model: sonnet
Handles Android builds, emulators, devices, and store constraints.
animator
model: opus
Designs readable, responsive animation systems and clips.
art-director
model: opus
Owns the approved Art Bible and cross-asset consistency.
audio-director
model: opus
Owns sonic identity, budgets, and licensing evidence.
backend-engineer
model: opus
Designs optional online services with offline-safe fallbacks.
build-engineer
model: opus
Owns deterministic local builds and CI-ready build scripts.
child-safety
model: sonnet
Audits age-appropriate design, parental gates, and dark patterns.
competitor-analyst
model: sonnet
Compares current competitors from primary store evidence.
composer
model: opus
Specifies original adaptive music and loop requirements.
concept-artist
model: opus
Creates three distinct original visual concept directions.
continuity-manager
model: haiku
Maintains checkpoints, handoffs, queue state, and session rotation.
copyright
model: sonnet
Tracks provenance, licenses, similarity, and rights risks.
data-analyst
model: sonnet
Defines event schemas, metrics, experiments, and truthful analyses.
device-lab
model: sonnet
Runs truthful simulator, emulator, and physical-device matrices.
economy-designer
model: opus
Designs ethical currencies, rewards, and sinks.
editor-tools-engineer
model: opus
Builds safe Unity Editor automation and validation tools.
game-designer
model: opus
Designs rules, loops, progression, and player feedback.
game-director
model: opus
Owns coherent game vision inside approved decisions.
gameplay-qa
model: sonnet
Tests rules, regressions, edge cases, and deterministic behavior.
ios-engineer
model: sonnet
Handles iOS build, signing diagnostics, and device constraints.
level-designer
model: opus
Builds and validates levels, pacing, and difficulty.
localization
model: sonnet
Owns internationalization, translation quality, and text fit.
monetization-auditor
model: sonnet
Audits ethical ads, IAP, pricing, and owner approval gates.
narrative-designer
model: opus
Designs story, characters, dialogue, and world logic.
performance-qa
model: sonnet
Profiles frame time, memory, loading, thermal, and battery risk.
privacy-security
model: sonnet
Audits data minimization, secrets, SDKs, and attack surfaces.
producer
model: sonnet
Plans milestones, dependencies, risks, and owner gates.
product-manager
model: opus
Defines audience, product outcomes, scope, and metrics.
qa-lead
model: sonnet
Coordinates independent test stages and evidence completeness.
release-manager
model: sonnet
Prepares release evidence but never publishes without approval.
research-analyst
model: sonnet
Builds source-backed market and design research.
resource-manager
model: haiku
Schedules model, hardware, disk, and concurrency conservatively.
review-miner
model: sonnet
Extracts recurring player needs from cited real reviews.
sound-designer
model: opus
Specifies original feedback, ambience, and mix behavior.
studio-director
model: opus
Selects only the roles needed and coordinates the studio.
systems-designer
model: opus
Designs interacting game systems and balance models.
technical-artist
model: opus
Bridges art and Unity under performance budgets.

Hooks (4)

eventmatcherruns
SessionStart*python3 "$CLAUDE_PROJECT_DIR/.claude/hooks/studio_hook.py"
PreToolUseBash|Write|Edit|MultiEdit|NotebookEditpython3 "$CLAUDE_PROJECT_DIR/.claude/hooks/studio_hook.py"
PreCompact*python3 "$CLAUDE_PROJECT_DIR/.claude/hooks/studio_hook.py"
Stop*python3 "$CLAUDE_PROJECT_DIR/.claude/hooks/studio_hook.py"

Permissions

deny (8)
Read(./.env)
Read(./.env.*)
Read(./**/*.p12)
Read(./**/*.keystore)
Bash(git push --force *)
Bash(git reset --hard *)
Bash(git clean -f *)
Bash(* --dangerously-skip-permissions*)
ask (0)
—
allow (4)
Bash(scripts/alpa *)
Bash(./scripts/alpa *)
Bash(scripts/ags *)
Bash(./scripts/ags *)

Similar rigs

copied ✓