home / skills / sfc-gh-dflippo / snowflake-dbt-demo / task-master-install

task-master-install skill

/.claude/skills/task-master-install

This skill installs and initializes Task-master to enable PRD parsing, task breakdown, and specification-driven development workflows.

npx playbooks add skill sfc-gh-dflippo/snowflake-dbt-demo --skill task-master-install

Review the files below or copy the command above to add this skill to your agents.

Files (1)
SKILL.md
4.0 KB
---
name: task-master-install
description:
  Install and initialize task-master for AI-powered task management and specification-driven
  development. Use this skill when users ask you to parse a new PRD, when starting a new project
  that needs structured task management, when users mention wanting task breakdown or project
  planning, or when implementing specification-driven development workflows.
---

# Task Master Install

## Overview

Task-master is an AI-powered task management system for breaking down complex projects into
manageable tasks and subtasks. It supports PRD parsing, complexity analysis, and
specification-driven development workflows.

## Installation

### Step 1: Check if already installed

```bash
task-master --version
```

If task-master is already installed and the project has a `.taskmaster/` folder, you are finished.

### Step 2: If you need to install Task-Master

**Global installation (recommended):**

```bash
npm install -g task-master-ai
```

**Local/npx alternative:**

```bash
npx task-master-ai init
```

### Step 3: If you don't have a `.taskmaster/` folder in your project

```bash
task-master init
```

**Common flags:**

- `--name <name>` - Set project name
- `--description <text>` - Set project description
- `--version <version>` - Set initial version (e.g., '0.1.0')
- `--rules <profiles>` - Specify rule profiles (e.g., `cursor,windsurf`)
- `-y, --yes` - Skip prompts, use defaults

**Example:**

```bash
task-master init --name "My Project" --description "AI-powered web app" --version "0.1.0" --rules cursor,windsurf --yes
```

## What Happens During Init

Task-master init automatically creates:

- `.taskmaster/` directory structure (config, tasks, docs, reports, templates)
- Rule files for AI coding assistants (`.cursor/rules/`, etc.)
- Configures AI provider and models to use: Cortex-Code, Claude-Code, Gemini-CLI, Codex-CLI, API,
  etc.

**The bootstrapped rules guide all future task-master workflows** - no additional setup needed.

## Installing MCP Server for AI Agents

To enable AI agents to interact with task-master through MCP tools:

**Option 1: Using Cortex (Recommended)**

```bash
# Using npx (no global install required)
cortex mcp add --args '-y, task-master-ai, mcp' taskmaster npx
snova mcp add --args "run, -i, --rm, -e, DOCUMENT_URL, -e, DOCUMENT_TOKEN, -e, DOCUMENT_ID, -e, RUNTIME_URL, -e, RUNTIME_TOKEN, -e, ALLOW_IMG_OUTPUT, datalayer/jupyter-mcp-server:latest" --env "DOCUMENT_URL=http://host.docker.internal:8888, DOCUMENT_TOKEN=jupyter_mcp_token, DOCUMENT_ID=notebooks/model_training.ipynb, RUNTIME_URL=http://host.docker.internal:8888, RUNTIME_TOKEN=jupyter_mcp_token, ALLOW_IMG_OUTPUT=true" jupyter-mcp-server docker

# Or if task-master is installed globally
cortex mcp add taskmaster task-master --args "mcp"
```

**Option 2: Manual Configuration**

Add to your MCP configuration (e.g., `.cursor/mcp.json` or `claude_desktop_config.json`):

```json
{
  "mcpServers": {
    "taskmaster": {
      "command": "npx",
      "args": ["-y", "task-master-ai", "mcp"]
    }
  }
}
```

**Or if task-master is installed globally:**

```json
{
  "mcpServers": {
    "taskmaster": {
      "command": "task-master",
      "args": ["mcp"]
    }
  }
}
```

After configuration, restart your AI agent to connect to the task-master MCP server.

## Troubleshooting

**Node.js not found** - Install Node.js v16+ using:

- Windows (with admin): `winget install OpenJS.NodeJS`
- macOS: `brew install node`
- Linux: `sudo apt install nodejs npm` (Debian/Ubuntu) or `sudo yum install nodejs` (RHEL/CentOS)
- Download installer: [nodejs.org](https://nodejs.org/)

**Installation issues** - Uninstall and reinstall globally:

```bash
npm uninstall -g task-master-ai
npm install -g task-master-ai
```

Then restart terminal and verify with `task-master --version`

**Permission errors:**

- Unix/macOS: Install via nvm using
  `curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash`, restart
  terminal, and run `nvm install 24`
- Windows without admin: Use Node.js installer's "Install for me only" option

Overview

This skill installs and initializes task-master for AI-powered task management and specification-driven development. It guides installation (global or npx), project bootstrap (creating the .taskmaster folder and rule files), and optional MCP server setup so AI agents can interact with task-master. Use it to quickly enable PRD parsing, task breakdown, and spec-driven workflows in new or existing projects.

How this skill works

The skill checks for an existing task-master install and a .taskmaster project folder, then runs the appropriate init command to create configuration, tasks, docs, reports, and templates. It writes AI assistant rule files and configures the chosen AI providers and models. For agent integration, it adds an MCP server entry either via Cortex commands or by editing MCP configuration files, and instructs on restarting agents to connect.

When to use it

  • Starting a new project that needs structured task management and spec-driven workflows
  • Parsing a new PRD or product requirements document into tasks and subtasks
  • When you want automated complexity analysis and task decomposition powered by AI
  • Integrating AI agents with your project via an MCP server
  • Onboarding a repo that lacks a .taskmaster folder or proper rule profiles

Best practices

  • Prefer global installation for frequent local use (npm install -g task-master-ai) and use npx for occasional runs
  • Run task-master init from the project root to create the .taskmaster directory and bootstrap rules
  • Provide explicit flags (--name, --description, --version, --rules) when automating initialization in CI or scripts
  • Configure your preferred AI provider and models in the generated config to match cost and performance needs
  • If agent integration is required, follow the Cortex MCP steps or add the mcp server entry to your MCP config and restart the agent

Example use cases

  • Onboard a new data engineering project to convert a PRD into a prioritized task list and subtasks
  • Initialize an app repo to enforce specification-driven development with AI-assisted coding rules
  • Add MCP server so developer-facing AI agents can create, update, and sync tasks directly from conversations
  • Automate project scaffolding in CI by running task-master init with --yes and rule flags
  • Recover from installation issues by reinstalling globally and verifying task-master --version

FAQ

What if I already have a .taskmaster folder?

If .taskmaster exists and task-master is installed, no further action is needed; the repo is already bootstrapped.

Do I need Node.js to use task-master?

Yes. Install Node.js v16+ (use nvm for isolated installs) before installing task-master or using npx.