/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. 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
$ npx -y skills add qdhenry/Claude-Command-Suite --skill linear-todo-sync --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/linear-todo-sync
Context preview
The summary Claude sees to decide when to auto-load this skill.
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
SKILL.md
linear-todo-sync.SKILL.mdname: 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.
allowed-tools: Read, Write, Bash, Glob
license: MIT
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:
pip install requests mdutils python-dotenv
Or using conda:
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:
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:
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:
# 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
Modify the `QUERY` variable to fetch additional fields:
QUERY = """
query {
viewer {
assignedIssues(filter: { state: { type: { nin: ["completed", "canceled"] } } }) {
nodes {
id
title
description
state { name }
priority
labels { nodes { name } }
estimate
dueDate
project { name }
url
# Add more fields here
createdAt
updatedAt
assignee { name }
}
}
}
}
"""Adjust Task Filtering
Modify the filter in the GraphQL query to change which tasks are fetched:
# Include completed tasks from the last week
filter: {
state: { type: { nin: ["canceled"] } }
completedAt: { gte: "2025-01-11" }
}Modify Output Format
Customize the markdown generation in the `generate_markdown()` function to change structure, add sections, or include different metadata.
Change Output Location
Update the `output_path` variable in `main()`:
# Save to a different directory
output_path = os.path.join(project_root, "docs", filename)
Troubleshooting
Error: "LINEAR_API_KEY not found in environment"
**Cause**: The `.env` file is missing or doesn't contain the API key.
**Solution**: 1. Verify `.env` exists in your project root (not in the skill directory) 2. Check that it contains: `LINEAR_API_KEY=lin_api_...` 3. Ensure no extra spaces around the `=` sign 4. Restart your terminal session if you just created the file
Error: "Authentication failed: Invalid API key"
**Cause**: The API key is incorrect or expired.
**Solution**: 1. Go to [Linear API Settings](https://linear.app/settings/api) 2. Verify your API key is still active 3. Generate a new key if needed 4. Update `.env` with the correct key
Error: "Network request failed"
**Cause**: Cannot connect to Linear API (network issue, timeout, or API downtime).
**Solution**: 1. Check your internet connection 2. Verify https://linear.app is accessible 3. Check [Linear Status](https://status.linear.app) for outages 4. Try again in a few moments
Error: "Rate limit exceeded (429)"
**Cause**: Too many API requests in a short period.
**Solution**:
- Wait 60 seconds before retrying
- Avoid running the sync multiple times in quick succession
- Linear's rate limit is 2000 requests per hour per API key
Warning: "No tasks found"
**Caus
Read more
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. allowed-tools: Read, Write, Bash, Glob license: MIT
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:
pip install requests mdutils python-dotenv
Or using conda:
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:
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:
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:
# 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
Modify the `QUERY` variable to fetch additional fields:
QUERY = """
query {
viewer {
assignedIssues(filter: { state: { type: { nin: ["completed", "canceled"] } } }) {
nodes {
id
title
description
state { name }
priority
labels { nodes { name } }
estimate
dueDate
project { name }
url
# Add more fields here
createdAt
updatedAt
assignee { name }
}
}
}
}
"""Adjust Task Filtering
Modify the filter in the GraphQL query to change which tasks are fetched:
# Include completed tasks from the last week
filter: {
state: { type: { nin: ["canceled"] } }
completedAt: { gte: "2025-01-11" }
}Modify Output Format
Customize the markdown generation in the `generate_markdown()` function to change structure, add sections, or include different metadata.
Change Output Location
Update the `output_path` variable in `main()`:
# Save to a different directory output_path = os.path.join(project_root, "docs", filename)
Troubleshooting
Error: "LINEAR_API_KEY not found in environment"
**Cause**: The `.env` file is missing or doesn't contain the API key.
**Solution**: 1. Verify `.env` exists in your project root (not in the skill directory) 2. Check that it contains: `LINEAR_API_KEY=lin_api_...` 3. Ensure no extra spaces around the `=` sign 4. Restart your terminal session if you just created the file
Error: "Authentication failed: Invalid API key"
**Cause**: The API key is incorrect or expired.
**Solution**: 1. Go to [Linear API Settings](https://linear.app/settings/api) 2. Verify your API key is still active 3. Generate a new key if needed 4. Update `.env` with the correct key
Error: "Network request failed"
**Cause**: Cannot connect to Linear API (network issue, timeout, or API downtime).
**Solution**: 1. Check your internet connection 2. Verify https://linear.app is accessible 3. Check [Linear Status](https://status.linear.app) for outages 4. Try again in a few moments
Error: "Rate limit exceeded (429)"
**Cause**: Too many API requests in a short period.
**Solution**:
- Wait 60 seconds before retrying
- Avoid running the sync multiple times in quick succession
- Linear's rate limit is 2000 requests per hour per API key
Warning: "No tasks found"
**Caus
A comprehensive development toolkit designed following Anthropic's Claude Code Best Practices for AI-assisted software development.
Repo: qdhenry/Claude-Command-Suite
Other skills on claude-command-suite.
- /audit-env-variables
Analyze environment variables in JavaScript/TypeScript projects. Identifies unused variables, infers permission scopes, detects specific services (Stripe, AWS, Supabase), and documents code paths. Includes optional cleanup of unused variables with regression detection. Use when
Open skill - /bigcommerce-api
BigCommerce API expert for building integrations, apps, headless storefronts, and automations. Full lifecycle - REST APIs, GraphQL Storefront, webhooks, authentication, app development, and multi-storefront. Use when working with BigCommerce platform APIs.
Open skill - /cloudflare-manager
Comprehensive Cloudflare account management for deploying Workers, KV Storage, R2, Pages, DNS, and Routes. Use when deploying cloudflare services, managing worker containers, configuring KV/R2 storage, or setting up DNS/routing. Requires CLOUDFLARE_API_KEY in .env and Bun
Open skill - /elevenlabs-transcribe
Transcribes audio/video files using ElevenLabs Scribe v2 API. Use when transcribing audio files, generating transcripts, or converting speech to text.
Open skill - /extract-video-frames
Extracts frames and timestamped audio segments from video files (GIF, MP4, MOV) at configurable intervals and stores them in a directory with a manifest file. Use when analyzing video content, preparing frames for visual review, extracting audio for transcription, or creating
Open skill - /file-watcher
Chokidar-based file watcher that triggers `claude -p` on changes. Useful for automated AI reactions to file changes — design sync, code validation, config regeneration, etc.
Open skill

