Back to list
justinstimatze

undercity

by justinstimatze

Multi-agent orchestrator for Claude Max - Gas Town for normal people

0🍴 0📅 Jan 26, 2026

SKILL.md


name: undercity description: Dispatch tasks to the undercity orchestrator for autonomous batch execution. Use when adding tasks, checking status, or running parallel work. Ideal for multi-task workloads that benefit from autonomous verification. allowed-tools: Bash(node ./bin/undercity.js:), Bash(pnpm start:)

Undercity Task Orchestrator

Dispatch work to undercity for autonomous, parallel execution with built-in verification (typecheck, test, lint).

When to Use Undercity

Good fit:

  • Multi-step tasks that can run independently
  • Batch refactoring across many files
  • Work that benefits from verification loops
  • Tasks to run overnight/in background

Skip undercity for:

  • Single quick fixes (do directly)
  • Questions/explanations
  • Exploratory debugging

Commands

Add a Task

node ./bin/undercity.js add "task description"

Examples:

node ./bin/undercity.js add "Fix all TypeScript strict null check errors in src/"
node ./bin/undercity.js add "Add JSDoc comments to all exported functions"
node ./bin/undercity.js add "Migrate deprecated API calls to v2"

Add Task with Context (Handoff)

Pass context to help workers start with relevant information:

# Pass files you've already analyzed
node ./bin/undercity.js add "Refactor auth module" --files-read "src/auth.ts,src/types.ts"

# Pass notes about decisions or constraints
node ./bin/undercity.js add "Fix validation bug" --notes "Issue is in validateInput(), not the schema"

# Pass full context via JSON file
node ./bin/undercity.js add "Implement feature X" --context ./handoff.json

Context JSON format:

{
  "filesRead": ["src/api.ts", "src/types.ts"],
  "decisions": ["Use zod for validation", "Keep backward compatible"],
  "notes": "Auth token is in request headers"
}

Check Task Board

# All tasks
node ./bin/undercity.js tasks

# Only pending
node ./bin/undercity.js tasks pending

# Only completed
node ./bin/undercity.js tasks complete

Mark Tasks Complete

# Mark task as complete
node ./bin/undercity.js complete <task-id>

# With resolution notes
node ./bin/undercity.js complete <task-id> --resolution "Fixed in commit abc"

# With reason (alias for --resolution, useful for closures)
node ./bin/undercity.js complete <task-id> --reason "Already implemented"
node ./bin/undercity.js complete <task-id> --reason "Deferred"

Start Autonomous Execution

# Process all pending tasks
node ./bin/undercity.js grind

# Limit concurrent workers
node ./bin/undercity.js grind --parallel 2

# Process specific number of tasks
node ./bin/undercity.js grind -n 5

Monitor Progress

# Live TUI dashboard
node ./bin/undercity.js watch

# Current status snapshot
node ./bin/undercity.js status

# Rate limit status
node ./bin/undercity.js limits

Workflow Patterns

Batch Task Setup

Add multiple related tasks, then let grind handle them:

node ./bin/undercity.js add "Migrate UserService to new auth pattern"
node ./bin/undercity.js add "Migrate OrderService to new auth pattern"
node ./bin/undercity.js add "Migrate PaymentService to new auth pattern"
node ./bin/undercity.js grind --parallel 3

Conservative Execution

For careful work, run single-threaded:

node ./bin/undercity.js grind --parallel 1

Check Before Starting

Always verify what's queued:

node ./bin/undercity.js tasks pending

Task Description Guidelines

Write clear, actionable task descriptions:

Good:

  • "Fix TypeScript error TS2345 in src/api/client.ts"
  • "Add input validation to all POST endpoints in src/routes/"
  • "Replace deprecated lodash _.pluck with _.map"

Vague (avoid):

  • "Fix bugs" (which bugs?)
  • "Improve performance" (where? how?)
  • "Clean up code" (too broad)

Output Modes

Undercity auto-detects output format:

  • TTY: Human-friendly with colors
  • Pipe: Machine-readable JSON

Force a mode:

node ./bin/undercity.js tasks --human
node ./bin/undercity.js tasks --agent

Important Notes

  • Tasks execute in isolated git worktrees
  • All changes verified (typecheck, test, lint) before commit
  • Tasks merge to main serially (no conflicts)
  • Failed tasks can be retried with model escalation
  • Check node ./bin/undercity.js limits before large batches

Score

Total Score

65/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon