ワンクリックで
linear
Linear project management — create issues, manage cycles, update projects, and query team progress via Linear API or MCP.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Linear project management — create issues, manage cycles, update projects, and query team progress via Linear API or MCP.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Compress conversation context — summarize the current session, extract key decisions and facts, then compact history to free up context window.
Generate insights about your Claude Code usage — what topics you work on most, common patterns, productivity trends.
Route Claude Code work by complexity, risk, and tool needs. Use when deciding how much reasoning depth a task needs, whether to read project memory first, whether the task should be decomposed, and whether the work is lightweight, standard, or investigation-heavy.
Query Polymarket prediction markets for probability data and research insights on real-world events.
Search and retrieve academic papers from arXiv using their free REST API. No API key needed.
Query Base (Ethereum L2) blockchain data — wallet balances, token info, transactions, gas analysis, contract inspection. No API key required.
| name | linear |
| description | Linear project management — create issues, manage cycles, update projects, and query team progress via Linear API or MCP. |
| version | 1.0.0 |
| author | hermes-CCC (ported from Hermes Agent by NousResearch) |
| license | MIT |
| metadata | {"hermes":{"tags":["Linear","Project-Management","Issues","Cycles","Productivity","GraphQL"],"related_skills":["github-issues"]}} |
Manage Linear issues, cycles, projects, and team workflows via the Linear API (GraphQL) or MCP.
# Get API key from Linear: Settings → API → Personal API Keys
export LINEAR_API_KEY="lin_api_..."
import requests
LINEAR_API = "https://api.linear.app/graphql"
HEADERS = {
"Authorization": f"Bearer {LINEAR_API_KEY}",
"Content-Type": "application/json"
}
def linear_query(query, variables=None):
resp = requests.post(LINEAR_API, json={"query": query, "variables": variables or {}}, headers=HEADERS)
return resp.json()["data"]
query = """
query {
issues(filter: {assignee: {isMe: {eq: true}}, state: {type: {nin: ["completed", "cancelled"]}}}) {
nodes {
id title priority state { name } team { name }
}
}
}
"""
data = linear_query(query)
for issue in data["issues"]["nodes"]:
print(f"[{issue['state']['name']}] {issue['title']}")
mutation = """
mutation CreateIssue($title: String!, $teamId: String!, $description: String, $priority: Int) {
issueCreate(input: {
title: $title
teamId: $teamId
description: $description
priority: $priority
}) {
success
issue { id title url }
}
}
"""
data = linear_query(mutation, {
"title": "Fix auth bug in production",
"teamId": "TEAM_ID",
"description": "Users getting 401 on refresh token",
"priority": 1 # 0=no priority, 1=urgent, 2=high, 3=medium, 4=low
})
print(data["issueCreate"]["issue"]["url"])
teams_query = """
query { teams { nodes { id name key } } }
"""
data = linear_query(teams_query)
for team in data["teams"]["nodes"]:
print(f"{team['key']}: {team['name']} ({team['id']})")
update_mutation = """
mutation UpdateIssue($id: String!, $stateId: String) {
issueUpdate(id: $id, input: { stateId: $stateId }) {
success
}
}
"""
linear_query(update_mutation, {"id": "ISSUE_ID", "stateId": "STATE_ID"})
search_query = """
query SearchIssues($query: String!) {
issueSearch(query: $query) {
nodes { id title state { name } url }
}
}
"""
data = linear_query(search_query, {"query": "auth bug"})
cycles_query = """
query {
cycles(filter: {isActive: {eq: true}}) {
nodes {
id name number startsAt endsAt
issues { nodes { id title state { name } } }
}
}
}
"""
data = linear_query(cycles_query)
If Linear MCP is installed in .mcp.json:
{
"mcpServers": {
"linear": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-linear"],
"env": {"LINEAR_API_KEY": "lin_api_..."}
}
}
}
Then Claude can use Linear tools directly without GraphQL code.
# Linear sends POST to your endpoint on issue create/update
# Payload includes: type, action, data.issue
# Verify with: X-Linear-Signature header
import hmac, hashlib
def verify_signature(payload, signature, secret):
expected = hmac.new(secret.encode(), payload, hashlib.sha256).hexdigest()
return hmac.compare_digest(f"sha256={expected}", signature)