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.
A Claude Code skill that automatically fetches your assigned Linear tasks and generates a prioritized markdown todo list.
Linear Todo Sync integrates Claude Code with Linear's project management platform, allowing you to instantly view and manage your work items without leaving your development environment. It queries the Linear GraphQL API, organizes tasks by priority, and creates a clean markdown file with checkboxes, metadata, and direct links to issues.
# Already included in Claude Command Suite
# Skills are located at: .claude/skills/linear-todo-sync/
# Copy to your personal skills directory
mkdir -p ~/.claude/skills
cp -r linear-todo-sync ~/.claude/skills/
# Copy to project skills directory
mkdir -p .claude/skills
cp -r linear-todo-sync .claude/skills/
git add .claude/skills/linear-todo-sync
git commit -m "Add Linear Todo Sync skill"
pip install requests python-dotenv mdutils
Or add to your requirements.txt:
requests>=2.31.0
python-dotenv>=1.0.0
mdutils>=1.6.0
Create a .env file in your project root:
# Get your API key
# 1. Visit https://linear.app/settings/api
# 2. Click "Create new key"
# 3. Copy the key (starts with lin_api_)
# Create .env file
echo "LINEAR_API_KEY=lin_api_your_key_here" > .env
chmod 600 .env # Secure the file
IMPORTANT: Add .env to your .gitignore to prevent committing secrets:
echo ".env" >> .gitignore
Simply ask Claude:
Claude will automatically:
The skill activates when you use phrases like:
Run the sync script directly:
python .claude/skills/linear-todo-sync/scripts/sync_linear_tasks.py
View the generated tasks:
cat linear_tasks.md
# Linear Tasks
**Generated**: 2025-10-18 09:30:15
**Total Tasks**: 8
**Priority Breakdown**:
- Urgent: 2 tasks
- High: 3 tasks
- Medium: 2 tasks
## Urgent Priority
- [ ] **[ENG-123](https://linear.app/team/issue/ENG-123)** Fix login bug
`In Progress` | Estimate: 5pts | **Due: 2025-10-18 (OVERDUE)** | Labels: `bug`, `security`
*Users unable to login with SSO after latest deployment*
User: "What should I discuss in standup?"
Claude: Syncs tasks, highlights in-progress work and blockers
User: "What's on my plate this sprint?"
Claude: Shows all assigned tasks with story point estimates
User: "What's urgent?"
Claude: Filters and displays only urgent/high priority tasks
User: "What's left for tomorrow?"
Claude: Shows uncompleted work and suggests priorities
Modify filters in the script to show:
See reference.md for detailed examples.
See reference.md for implementation details.
.claude/skills/ directoryLINEAR_API_KEY in .env filelin_api_)# Check what's missing
python -c "import requests, dotenv, mdutils" 2>&1
# Install all at once
pip install requests python-dotenv mdutils
System Requirements:
Python Packages:
requests - HTTP library for API callspython-dotenv - Environment variable managementmdutils - Markdown file generationLinear Requirements:
.env files, never in code.env to .gitignore.env (chmod 600)The skill is designed for efficiency:
For large workspaces (>50 tasks), see pagination documentation in reference.md.
This skill is part of the Claude Command Suite. To contribute:
Part of the Claude Command Suite project.
Potential future enhancements:
Created as part of the Claude Command Suite to enhance developer productivity by integrating Linear project management with Claude Code's intelligent assistant capabilities.
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer