testy-claw init

Scaffold a claw.config.ts in the current directory. Detects your stack and writes sensible defaults.

Usage

terminal
testy-claw init [options]

What it does

Running init will:

terminal
testy-claw init

  ✓ Detected: Node.js / TypeScript
  ✓ Created claw.config.ts
  ✓ Added .claw/ to .gitignore
  ✓ Ready — run: testy-claw run "your task"

Options

FlagDescription
--forceOverwrite existing claw.config.ts
--no-gitignoreSkip updating .gitignore
--model <id>Set the default model in the generated config

Generated config

claw.config.ts
import { defineConfig } from "testy-claw";

export default defineConfig({
  model: "gpt-4o",
  tools: ["fs", "shell"],
  maxSteps: 20,
  timeout: 30_000,
});