Linear automation

From frank-luongt/faos-skills-marketplace · View interactive version

Linear automation is an AI agent skill from the GitHub repository frank-luongt/faos-skills-marketplace. Automate Linear tasks via Rube MCP (Composio): issues, projects, cycles, teams, labels. Always search tools first for current schemas.

How to use this skill

Skill file

<!-- AUTO-GENERATED by export-skills.py — DO NOT EDIT -->


name: linear-automation

description: "Automate Linear tasks via Rube MCP (Composio): issues, projects, cycles, teams, labels. Always search tools first for current schemas."


Linear Automation via Rube MCP

Automate Linear operations through Composio's Linear toolkit via Rube MCP.

Prerequisites

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit linear
  3. If connection is not ACTIVE, follow the returned auth link to complete Linear OAuth
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. Manage Issues

When to use: User wants to create, search, update, or list Linear issues

Tool sequence:

  1. LINEAR_GET_ALL_LINEAR_TEAMS - Get team IDs [Prerequisite]
  2. LINEAR_LIST_LINEAR_STATES - Get workflow states for a team [Prerequisite]
  3. LINEAR_CREATE_LINEAR_ISSUE - Create a new issue [Optional]
  4. LINEAR_SEARCH_ISSUES / LINEAR_LIST_LINEAR_ISSUES - Find issues [Optional]
  5. LINEAR_GET_LINEAR_ISSUE - Get issue details [Optional]
  6. LINEAR_UPDATE_ISSUE - Update issue properties [Optional]

Key parameters:

Pitfalls:

2. Manage Projects

When to use: User wants to create or update Linear projects

Tool sequence:

  1. LINEAR_LIST_LINEAR_PROJECTS - List existing projects [Optional]
  2. LINEAR_CREATE_LINEAR_PROJECT - Create a new project [Optional]
  3. LINEAR_UPDATE_LINEAR_PROJECT - Update project details [Optional]

Key parameters:

Pitfalls:

3. Manage Cycles

When to use: User wants to work with Linear cycles (sprints)

Tool sequence:

  1. LINEAR_GET_ALL_LINEAR_TEAMS - Get team ID [Prerequisite]
  2. LINEAR_GET_CYCLES_BY_TEAM_ID / LINEAR_LIST_LINEAR_CYCLES - List cycles [Required]

Key parameters:

Pitfalls:

4. Manage Labels and Comments

When to use: User wants to create labels or comment on issues

Tool sequence:

  1. LINEAR_CREATE_LINEAR_LABEL - Create a new label [Optional]
  2. LINEAR_CREATE_LINEAR_COMMENT - Comment on an issue [Optional]
  3. LINEAR_UPDATE_LINEAR_COMMENT - Edit a comment [Optional]

Key parameters:

Pitfalls:

5. Custom GraphQL Queries

When to use: User needs advanced queries not covered by standard tools

Tool sequence:

  1. LINEAR_RUN_QUERY_OR_MUTATION - Execute custom GraphQL [Required]

Key parameters:

Pitfalls:

Common Patterns

ID Resolution

Team name -> Team ID:

1. Call LINEAR_GET_ALL_LINEAR_TEAMS
2. Find team by name in response
3. Extract id field

State name -> State ID:

1. Call LINEAR_LIST_LINEAR_STATES with team_id
2. Find state by name
3. Extract id field

Pagination

Known Pitfalls

Team Scoping:

Priority Values:

Quick Reference

| Task | Tool Slug | Key Params |

|------|-----------|------------|

| List teams | LINEAR_GET_ALL_LINEAR_TEAMS | (none) |

| Create issue | LINEAR_CREATE_LINEAR_ISSUE | team_id, title, description |

| Search issues | LINEAR_SEARCH_ISSUES | query |

| List issues | LINEAR_LIST_LINEAR_ISSUES | team_id, filters |

| Get issue | LINEAR_GET_LINEAR_ISSUE | issue_id |

| Update issue | LINEAR_UPDATE_ISSUE | issue_id, fields |

| List states | LINEAR_LIST_LINEAR_STATES | team_id |

| List projects | LINEAR_LIST_LINEAR_PROJECTS | (none) |

| Create project | LINEAR_CREATE_LINEAR_PROJECT | name, team_ids |

| Update project | LINEAR_UPDATE_LINEAR_PROJECT | project_id, fields |

| List cycles | LINEAR_LIST_LINEAR_CYCLES | team_id |

| Get cycles | LINEAR_GET_CYCLES_BY_TEAM_ID | team_id |

| Create label | LINEAR_CREATE_LINEAR_LABEL | name, color |

| Create comment | LINEAR_CREATE_LINEAR_COMMENT | issue_id, body |

| Update comment | LINEAR_UPDATE_LINEAR_COMMENT | comment_id, body |

| List users | LINEAR_LIST_LINEAR_USERS | (none) |

| Current user | LINEAR_GET_CURRENT_USER | (none) |

| Run GraphQL | LINEAR_RUN_QUERY_OR_MUTATION | query, variables |

<!-- Source: .faos/custom/skills/devops/linear-automation/SKILL.md -->

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.