/claudops:cc-linearfrom Claudops
Executes Linear operations via GraphQL API — create/update issues, manage status/priority/labels, add comments, search tasks, assign work, and link PRs. Activates on Linear references or ticket IDs like ENG-123.
Ships in Claudops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
If
.claude/skills/cc-linear/SKILL.md.disabledexists, stop before reading a fallback. Project configuration: If the current project contains.claude/skills/cc-linear/SKILL.md, read and apply it instead of this bundled default. The project copy is the capability source of truth. Repository context: Read../setup/references/task-context.mdwhen resolving a task, project commands, named agent roles, or legacy.claude/resource paths. Use repository evidence and applicable project instructions; a missing local workflow copy does not require setup. Resolve bundled resources from the installed skill, never from the target cwd.
Prefix the first response in a session with a one-line tag:
[cc-linear].
Interact with Linear via the configured linear-api.sh wrapper — a direct curl wrapper
over Linear's GraphQL API. Resolve the wrapper from the active project override or the
loaded skill/package; do not assume that a plugin is copied into the target repository.
Read ../setup/references/task-context.md when the operation advances a task. A
standalone lookup or explicitly requested Linear operation does not create a fake task.
The relative .claude/scripts/linear-api.sh paths in examples describe a copied
workflow; substitute the resolved wrapper path before execution.
.claude/scripts/linear-api.sh get-issue TEAM-66
.claude/scripts/linear-api.sh search "authentication" 5
.claude/scripts/linear-api.sh ai-search "error handling in mobile app" 5
.claude/scripts/linear-api.sh create-issue "Title" "Description" 3
.claude/scripts/linear-api.sh create-issue "Title" "-" 3 <<< "Multiline desc"
.claude/scripts/linear-api.sh update-issue TEAM-66 --title "New Title"
.claude/scripts/linear-api.sh update-issue TEAM-66 --description "New desc"
.claude/scripts/linear-api.sh update-issue TEAM-66 --priority 2
.claude/scripts/linear-api.sh update-status TEAM-66 "In Progress"
.claude/scripts/linear-api.sh add-comment TEAM-66 "Comment body"
.claude/scripts/linear-api.sh add-comment TEAM-66 "-" <<'EOF'
Multiline comment here
EOF
.claude/scripts/linear-api.sh list-comments TEAM-66
Use "-" as the body argument to read from stdin — preferred for any
description or comment longer than one line or containing quotes.
.claude/scripts/linear-api.sh add-label TEAM-66 "Bug"
.claude/scripts/linear-api.sh remove-label TEAM-66 "Bug"
.claude/scripts/linear-api.sh assign TEAM-66 "<configured-user>"
.claude/scripts/linear-api.sh add-relation TEAM-66 TEAM-67 "blocks"
.claude/scripts/linear-api.sh link-pr TEAM-66 "https://github.com/org/repo/pull/123"
.claude/scripts/linear-api.sh list-issues 10
.claude/scripts/linear-api.sh my-issues # Current user's active issues
.claude/scripts/linear-api.sh my-issues 20 # With custom limit
.claude/scripts/linear-api.sh list-states
.claude/scripts/linear-api.sh list-labels
.claude/scripts/linear-api.sh list-users
The script returns raw JSON. Present results to the user clearly:
Include the Linear URL in every issue response — the user will want to click through.
Linear mutations are visible to the whole team and send notifications. Before running any of these commands, state what visible change is about to happen and confirm it unless the user or calling workflow already authorized that exact destination and scope in this task. Existing authorization covers the remaining commands in the same chain; do not ask again between dependent steps:
create-issue, add-comment, add-relation, link-pr (new visible content)update-status, update-issue, assign, add-label, remove-label (state changes)Read-only commands (get-issue, search, ai-search, list-*, my-issues)
do not need confirmation — run them freely.
For multi-step patterns below, confirm the whole chain once, then execute without re-prompting between steps.
Before creating an issue, search the intended team for duplicates and confirm the team/state/label names. Before updating an issue that is not already established in context, read it first. Then run one narrow mutation and independently read back the resulting object before reporting it. Match the read-back to the mutation:
create-issue, update-issue, update-status, add-label, remove-label, and assign:
read the affected issue with get-issue (use the identifier returned by create-issue).add-comment: read the issue's comments with list-comments; get-issue omits comments.add-relation and link-pr: this wrapper has no matching read command, so report the
mutation receipt and say independent verification is unavailable rather than treating the
mutation response as a read-back.The mutation's JSON response can help diagnose failure, but it is not the independent read-back.
| Setting | Value |
|---|---|
| Team Key | Explicit LINEAR_TEAM_KEY or a read-only discovered team confirmed before mutation |
| API Key | LINEAR_API_KEY env var |
The legacy wrapper may retain a TEAM fallback for compatibility; the skill must not
use that fallback for a visible mutation without resolving and confirming the destination.
Backlog → Todo → In Progress → In Review → Done | Canceled | Duplicate
0: None 1: Urgent 2: High 3: Normal (default) 4: Low
Common multi-step sequences. Each command is atomic. When the steps have no dependency on each other (e.g. adding a label and assigning at the same time), batch them in a single turn; run sequentially only when a later step needs output from an earlier one.
.claude/scripts/linear-api.sh update-status TEAM-66 "In Progress"
.claude/scripts/linear-api.sh add-comment TEAM-66 "Implementation started. Branch: feature/team-66-feature-name"
.claude/scripts/linear-api.sh update-status TEAM-66 "In Review"
.claude/scripts/linear-api.sh add-comment TEAM-66 "-" <<'EOF'
Implementation completed.
- Key changes: [list]
- Test coverage: [X]%
- PR ready for review.
EOF
.claude/scripts/linear-api.sh update-status TEAM-66 "Done"
.claude/scripts/linear-api.sh add-comment TEAM-66 "Task completed and PR merged. SHA: abc123"
When other skills touch Linear-adjacent work, offer the matching Linear operation as a suggestion — do not run it unprompted. Only execute when the user agrees or when the outer skill explicitly delegates to you.
| Skill | When | Linear Action |
|---|---|---|
/ct | After creating task docs | create-issue with task title + link to task doc |
/si | On implementation start | update-status → "In Progress" + comment with branch |
/sr | After code review passes | update-status → "In Review" or "Done" |
| PR creation | After gh pr create | link-pr + update-status → "In Review" |
Don't force these — suggest them when the context is clear (e.g., a TEAM-* ID is visible in the resolved task or branch). Record issue ID/URL, mutation receipt and matching read-back in that task when one exists; standalone operations return their own receipt.
list-states to refresh the cache, then retry.list-labels or list-users to check exact names.rm /tmp/linear-TEAM-*.jsonSee references/linear-api-reference.md for GraphQL queries used by the script.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alexandrbasis/claudops --plugin claudops40 skills in this plugin
/analyzeCompare a task's discovery or product requirements with its tech decomposition and report traceability gaps. Use when asked to 'analyze consistency', 'check alignment', 'verify spec matches plan', 'traceability check', 'spec drift', 'are my docs aligned', or after /ct completes to verify the plan covers the requirements. `/ct` may invoke this check when traceability is material; otherwise it remains an explicit read-only command. NOT for code review (use /sr), NOT for code analysis (use /code-analysis), NOT for debugging (use /dbg)./antigravity-cliRun Google Antigravity CLI (agy) for web-grounded research, cross-AI review, or validation when those capabilities are explicitly needed or another skill delegates to agy. One-shot only; do not select it for an ordinary review without an explicit provider choice./Other plugins' skills for the same job