linear-check

linear-check is a command for coding agents from toolwright-adk/toolwright-monorepo. It costs 32 tokens per session (454 once invoked), scanned A, original, MIT.

A diagnostic command that checks whether the Linear MCP connections are available and working. Linear MCP lets an agent interact with Linear, an issue-tracking tool.

In plain words
What is it for?
Use it to test the bootstrap and official Linear connections, see which tools are available, and review errors such as missing credentials or configuration.
Why use it?
It identifies whether the required connection is missing, misconfigured, or failing before other Linear workflows are attempted.

Command

Part of the linear-project-manager plugin — 3 skills, 2 commands, 2 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/toolwright-adk/toolwright-monorepo/linear-check
Clone the repo
git clone --depth 1 https://github.com/toolwright-adk/toolwright-monorepo

Or install linear-project-manager, the plugin that ships this one along with the rest of its 3 skills, 2 commands, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for linear-check

README.md
[![agentmods](https://agentmods.dev/badge/commands/toolwright-adk/toolwright-monorepo/linear-check.svg)](https://agentmods.dev/commands/toolwright-adk/toolwright-monorepo/linear-check)
Your own site
<a href="https://agentmods.dev/commands/toolwright-adk/toolwright-monorepo/linear-check"><img src="https://agentmods.dev/badge/commands/toolwright-adk/toolwright-monorepo/linear-check.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 454 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00032 $0.00454
Opus 5 $0.00016 $0.00227
Sonnet 5 $0.00006 $0.00091
Haiku 4.5 $0.00003 $0.00045

Measured 3d ago against content hash 3147e858e969, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

linear-check scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/linear-project-manager/commands/linear-check.md · 52 lines

What it actually says

Linear MCP Health Check

Probe both MCP servers and report status.

Steps

1. Check linear-bootstrap MCP

Call mcp__linear-bootstrap__list-teams. Interpret the result:

  • Success (returns team list): linear-bootstrap MCP is healthy. Note the teams.
  • Tool not found: linear-bootstrap MCP server is not configured. The user needs to add it to .mcp.json.
  • Error response: Server is configured but failing. Show the error. Common causes:
    • LINEAR_API_KEY missing or invalid
    • LLM_API_KEY / LLM_BASE_URL / LLM_MODEL not set (needed for plan generation)
    • Binary not found (check which linear-bootstrap or use absolute path)

2. Check official Linear MCP

Call mcp__linear__list_teams. Interpret the result:

  • Success: Official Linear MCP is healthy.
  • Tool not found: Official Linear MCP is not installed. The user needs to enable the Linear integration in Claude Code settings.
  • Error response: Show the error.

3. Report

Present a summary:

## Linear MCP Status

| Server            | Status | Details              |
| ----------------- | ------ | -------------------- |
| linear-bootstrap  | ✅/❌  | [teams or error]     |
| official Linear   | ✅/❌  | [teams or error]     |

Then explain what's available:

  • Both healthy: Full functionality — project creation, batch operations, status reports, individual issue management.
  • Only official Linear: Can read/write individual issues, check status, manage cycles. Cannot create projects or add epics in batch.
  • Only linear-bootstrap: Can create projects and batch operations. Cannot read existing issues, post status updates, or manage individual items.
  • Neither: No Linear tools available. Guide the user to set up at least one.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 52 lines · 32 tokens per session scan A 3147e858e969

Subscribe to this mod's changes

linear-check is a command published in the GitHub repository toolwright-adk/toolwright-monorepo (1 stars, last pushed 5mo ago), licensed MIT. It adds 32 tokens to every session and 454 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.