JT

josephgoksu/taskwing

Developer tools
87 stars 0 forks Quality 35 Trend 35

The local-first knowledge layer for AI development.

Overview

The local-first knowledge layer for AI development.

README

TaskWing

The local-first knowledge layer for AI development.

Website · Tutorial · Vision · Install


Your AI tools start every session from zero – and every session, your code context flows through someone else’s cloud.

TaskWing takes the opposite approach. One command extracts your architecture into a local knowledge base on your machine. No cloud. No account. Every AI session after that just knows – without your knowledge base leaving your infrastructure.

Without TaskWing              With TaskWing
─────────────────             ─────────────
8-12 file reads               1 taskwing ask
~25,000 tokens                ~1,500 tokens
2-3 minutes                   42 seconds
No architectural context       170+ knowledge nodes

Install

brew install josephgoksu/tap/taskwing

No signup. No account. Works offline. Everything stays local in SQLite.

Quick Start

# 1. Declare a TaskWing project + generate AI tool integration files
cd your-project
taskwing init                  # writes .taskwing.yaml + .claude/commands/taskwing/

# 2. Extract your architecture (one-time)
taskwing learn
# -> 22 decisions, 12 patterns, 9 constraints extracted

# 3. Plan and execute with your AI assistant
/taskwing:plan       # Create a plan
/taskwing:next       # Get next task with full context
# ...work...
/taskwing:done       # Mark complete, advance to next

That’s it. Your AI assistant now has local architectural context across every session.

Slash commands are pure prompts that drive the taskwing CLI directly - no MCP server, no daemon, no per-AI registration. They work in any AI client that can run shell commands.

Private by Architecture

TaskWing keeps your knowledge base on your machine. No cloud database, no account, no sync.

  YOUR MACHINE                          EXTERNAL
  ─────────────────────────────────     ─────────────────────────
                                        ┌───────────────────────┐
  ┌──────────────┐   code context       │ LLM Provider          │
  │ Your codebase ├────────────────────>│ (OpenAI, Anthropic,   │
  └──────────────┘   (bootstrap only)   │  Google, Bedrock)     │
         │                              └───────────┬───────────┘
         │                                          │ findings
         v                                          │
  ┌──────────────────────┐  <───────────────────────┘
  │ .taskwing/memory.db  │
  │ Local SQLite         │  Your knowledge base.
  │ Never uploaded.      │  Never leaves your machine.
  └──────────┬───────────┘
             │ taskwing CLI (local subprocess)
             v
  ┌──────────────────────┐              ┌───────────────────────┐
  │ AI Tool              │  may send    │ Tool's own cloud      │
  │ (Claude, Cursor,     ├─────────────>│ (per their privacy    │
  │  Copilot, Gemini)    │  to their    │  policy)              │
  └──────────────────────┘  servers     └───────────────────────┘

  FULL AIR-GAP (everything stays left of the line):

  ┌──────────────┐        ┌─────────┐        ┌──────────────┐
  │ Your codebase ├──────>│ Ollama  ├──────>│ .taskwing/   │
  └──────────────┘        │ (local) │        │ memory.db    │
                          └─────────┘        └──────┬───────┘
                                                    │ taskwing CLI
                                                    v
                                             ┌──────────────┐
                                             │ Local AI tool │
                                             └──────────────┘
                                             Zero network calls.

What TaskWing controls: Your knowledge base is stored and queried locally. AI tools invoke the taskwing CLI as a local subprocess - no network calls.

What your AI tool controls: Cloud-based tools (Claude, Cursor, Copilot) may send conversations to their own servers. Check their privacy settings (e.g., Cursor’s Privacy Mode, Copilot’s data retention policies).

Full air-gap: Use Ollama for bootstrap + a local AI tool. Nothing leaves your machine.

Works With

Supported Models

Brand names and logos are trademarks of their respective owners; usage here indicates compatibility, not endorsement.

What It Does

Capability Description
Local knowledge Extracts decisions, patterns, and constraints into local SQLite
Plan to tasks Turns a plan into decomposed tasks with architecture context
AI-driven lifecycle Task execution – next, start, complete, verify
Code analysis Symbol search, call graphs, impact analysis, simplification
Root cause first AI-powered diagnosis before proposing fixes
Works everywhere Slash commands invoke the taskwing CLI directly - works in any AI tool that runs shell commands

Slash Commands

Use these from your AI assistant once connected:

Command When to use
/taskwing:plan Clarify a goal and build an approved execution plan
/taskwing:next Start the next approved task with full context
/taskwing:done Complete the current task after verification
/taskwing:context Get full project knowledge dump for complete architectural context
  • taskwing init
  • taskwing learn
  • taskwing ask ""
  • taskwing knowledge
  • taskwing task
  • taskwing plan --params ''
  • taskwing doctor
  • taskwing config
  • taskwing start

Documentation

License

MIT

View this README on GitHub

Install

This server does not publish a one-line install command.

Open the repository installation guide