Back to Skills

import-tasks

verified

This skill should be used when you need to import tasks from another Claude Code session's TaskList into your current session, enabling coordination across sessions without restarting.

View on GitHub

Marketplace

rbw-claude-code

RBozydar/rbw-claude-code

Plugin

core

development

Repository

RBozydar/rbw-claude-code

plugins/core/skills/import-tasks/SKILL.md

Last Verified

January 24, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/RBozydar/rbw-claude-code/blob/main/plugins/core/skills/import-tasks/SKILL.md -a claude-code --skill import-tasks

Installation paths:

Claude
.claude/skills/import-tasks/
Powered by add-skill CLI

Instructions

# Import Tasks from Another Session

Import tasks from another Claude Code session's TaskList into your current session.

## When to Use

- When picking up work from a `/workflows:plan` that created tasks
- When coordinating with another Claude session
- When you want to continue work started in a different session
- When a subagent needs to work on tasks from the main session

## How It Works

Each Claude Code session has its own TaskList stored at:
```
~/.claude/tasks/[session-uuid]/
├── 1.json
├── 2.json
└── ...
```

This skill reads tasks from another session and recreates them in your current session using TaskCreate, preserving descriptions, status, and dependencies.

## Usage

**Input:** TaskList ID (the UUID from the plan's `task_list_id` frontmatter or from another session)

```
skill: import-tasks a69ce44f-1559-4052-89e2-66605323adca
```

## Execution Steps

### 1. Validate the TaskList exists

```bash
task_list_id="$ARGUMENTS"

if [ -z "$task_list_id" ]; then
  echo "Error: No TaskList ID provided"
  echo "Usage: skill import-tasks [TaskList ID]"
  exit 1
fi

if [ ! -d ~/.claude/tasks/$task_list_id ]; then
  echo "Error: TaskList not found at ~/.claude/tasks/$task_list_id"
  echo ""
  echo "Available TaskLists:"
  ls -la ~/.claude/tasks/
  exit 1
fi
```

### 2. Read and display tasks from source

```bash
echo "Tasks in source TaskList $task_list_id:"
echo ""
for f in ~/.claude/tasks/$task_list_id/*.json; do
  cat "$f" | jq -r '"#\(.id) [\(.status)] \(.subject)"'
done
```

### 3. Import tasks into current session

For each task in the source TaskList:

1. **Read the task JSON:**
   ```bash
   cat ~/.claude/tasks/$task_list_id/1.json | jq .
   ```

2. **Create in current session:**
   ```
   TaskCreate:
     subject: [from source task]
     description: [from source task]
     activeForm: [from source task]
   ```

3. **Note the ID mapping** (source ID → new ID) for dependency resolution

4. **After all tasks created, set up dependencies:**
   ```
   TaskUp

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
3293 chars