Skip to content
Agentmart
Submit a tool

Linear Todo Sync

This skill fetches open tasks assigned to the user from the Linear API and generates a markdown todo list file in the project root.

Skill by lilinji

IndexedMIT★ 16
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/lilinji-linear-todo-sync

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

This skill fetches open tasks assigned to the user from the Linear API and generates a markdown todo list file in the project root. This skill should be used when the user asks about their work items, wants to see what they need to work on, or requests to load/sync their Linear tasks. Requires Python 3.7+, requests, mdutils, and python-dotenv packages. Requires LINEAR_API_KEY in .env file.

Use cases: documents, backend, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/linear-todo-sync

Tools it pre-approves 4

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Read,
  • Write,
  • Bash,
  • Glob

What's inside

Skill name
Linear Todo Sync
Description
This skill fetches open tasks assigned to the user from the Linear API and generates a markdown todo list file in the project root. This skill should be used when the user asks about their work items, wants to see what they need to work on, or requests to load/sync their Linear tasks. Requires Python 3.7+, requests, mdutils, and python-dotenv packages. Requires LINEAR_API_KEY in .env file.
License
MIT
Allowed tools
Read,, Write,, Bash,, Glob
Instructions
294 lines in SKILL.md · view on GitHub

Before installing

  • Pre-approves some shell commands

Agent Skills spec issues

  • name: only lowercase letters, digits and single hyphens allowed
  • name: "Linear Todo Sync" does not match folder "Linear-Todo-Sync"
  • files: referenced but missing: scripts/sync_linear_tasks.py

Files (2)

  • SKILL.md
  • metadata.json

SKILL.md (first lines)

# Linear Todo Sync

Automatically fetch assigned Linear tasks and generate a comprehensive markdown todo list in your project root. This skill queries the Linear GraphQL API to retrieve all open tasks assigned to you, organizing them by project with full details including status, priority, labels, estimates, and due dates.

## Setup

### 1. Install Required Packages

Install the Python dependencies:

```bash
pip install requests mdutils python-dotenv
```

Or using conda:

```bash
conda install requests python-dotenv
pip install mdutils
```

### 2. Obtain Linear API Key

1. Navigate to [Linear API Settings](https://linear.app/settings/api)
2. Click "Create new key" under Personal API Keys
3. Give it a descriptive name (e.g., "Claude Code Sync")
4. Copy the generated API key

### 3. Configure Environment

Create a `.env` file in your project root:

```bash
cp .claude/skills/linear-todo-sync/assets/.env.example .env
```

Edit `.env` and add your API key:

```
LINEAR_API_KEY=lin_api_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
```

**Important**: Ensure `.env` is in your `.gitignore` to protect your API key.

### 4. Verify Setup

Test the configuration by running:

```bash
python .claude/skills/linear-todo-sync/scripts/sync_linear_tasks.py
```

A markdown file named `linear-todos-YYYY-MM-DD.md` should appear in your project root.

## How It Works

When triggered, this skill:

1. **Loads credentials** from the `.env` file in your project root
2. **Queries Linear API** using GraphQL to fetch all assigned issues in non-completed states
3. **Retrieves task details** including title, description, status, priority, labels, estimates, due dates, project, and URL
4. **Groups tasks by project** for better organization
5. **Generates markdown file** with filename `linear-todos-YYYY-MM-DD.md` in the project root
6. **Outputs summary** showing total tasks and project count

The generated markdown file provides a comprehensive view of your work with all relevant task metadata, making it easy to review priorities and plan your day.

## Usage

Trigger this skill with phrases like:

- "What do I need to work on this morning"
- "Show me my work"
- "Load work"
- "Sync my Linear tasks"
- "Get my todo list from Linear"

The skill will execute the sync script and create a dated markdown file in your project root.

## Generated File Format

The markdown file follows this structure:

```markdown
# Linear Tasks - January 18, 2025

Generated: 2025-01-18 09:30:45
Total Tasks: 12

## Project Alpha

### Implement user authentication (High)
- **Status**: In Progress
- **Labels**: backend, security
- **Estimate**: 5 points
- **Due**: 2025-01-20
- **Link**: https://linear.app/team/issue/PROJ-123

Add JWT-based authentication to the API endpoints...

### Fix login bug (Urgent)
- **Status**: Todo
- **Labels**: bug, frontend
- **Estimate**: 2 points
- **Due**: 2025-01-19
- **Link**: https://linear.app/team/issue/PROJ-124

Users cannot log in when using Safari...

## Project Beta

...
```

## Customization

To modify the skill's behavior, edit `scripts/sync_linear_tasks.py`:

### Change GraphQL Query

From lilinji/GeneTind-Life-Skills, MIT.

More from lilinji/GeneTind-Life-Skills

Signals

Stars
16
Forks
3
Open issues
1
Last commit (this folder)
Aug 21, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from lilinji

Cite this page

Linear Todo Sync skill. Agent Mart. https://agentmart.dev/skills/lilinji-linear-todo-sync (last updated 2026-10-24)