Local-first · No telemetry · SQLite history

Prompt to task.
Locally.

The CLI that turns natural language into structured coding tasks, calls your AI provider, and keeps everything in local SQLite — with full-text search and JSON output.

OpenAI & ClaudeReact / Laravel / WordPress auto-detect~/.prompt2task/history.db
npm install prompt2task -g

Or npx prompt2task --help to try without installing

01INSTALLATION

Install globally in seconds

Get started with a single npm command. No backend, no account, no telemetry — just a local-first CLI that works everywhere Node does.

  • Works with npm, yarn, pnpm or npx
  • Zero config required to try
  • Local-first, offline capable
Local-first$ npm i prompt2task -g
bash
# Install globally
02INIT

Configure your AI provider

Run init once and you’re done. Pick OpenAI or Claude, paste your key, choose a model and project type. Keys are stored with 0600 permissions or via env vars.

  • Interactive picker for provider & model
  • Credentials stored securely (0600)
  • Re-run anytime — prompts before overwrite
Local-first$ prompt2task init
prompt2task init
$prompt2task init
03RUN

From prompt to structured task

Just describe what you want to build. prompt2task detects your stack, structures the prompt, saves to SQLite, and streams the AI response back — with full history.

  • Natural language → structured task
  • Auto-detects React, Laravel, WordPress etc.
  • Local SQLite history + logs
Local-first$ prompt2task run
prompt2task run
$prompt2task "Build a responsive login page with Google OAuth"
04HISTORY

Every task, searchable & local

List, filter, and inspect any past task. Your history lives in ~/.prompt2task/history.db — never leaves your machine unless you pipe it.

  • Filter by status, limit, or JSON output
  • Pretty table with cli-table3
  • Zero remote sync required
Local-first$ prompt2task history
history — list
$prompt2task list --limit 3
05INSPECT

Drill into any task

Show full task details or full-text search across prompts and responses. Perfect for revisiting decisions or piping into jq.

  • show <id> with full metadata
  • search "query" with ranking
  • Both support --json
Local-first$ prompt2task inspect
inspect — show & search
$prompt2task show tsk_8f29a
06CONFIG

Configure without leaving terminal

Tweak model, provider, or project type on the fly. Manage credentials securely — prefer env vars in CI, fallback to 0600 file storage.

  • config set <key> <value> — instant update
  • provider — quick switch & inspect
  • credentials remove — revoke per-provider
Local-first$ prompt2task config
config & credentials
$prompt2task config

Ready to turn prompts into tasks?

Install once, run anywhere. Your history stays local, your keys stay secure, your workflow stays fast.

MIT LicensedLocal SQLiteNo Telemetry