Command Palette

Search for a command to run...

Назад к скиллам
скилл № 54001

linear-fetch

This skill should be used when a user input contains a Linear issue reference (e.g., SOL-39 or linear.app/.../issue/<ID>) and the downstream agent needs the…

БесплатноЗапускает вложенные скрипты
jikig-aiот jikig-ai★ 21 звезда на GitHub

Установить linear-fetch в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Grok Build (plugins/soleur/lib/harness.ts invokeSkill()): Read this SKILL.md in this process and run it to completion. A one-segment soleur:<name> in this document names a SKILL — on Grok Build, Read plugins/soleur/skills/<name>/SKILL.md in this process; it is not a nested tool_use. A multi-segment id such as soleur:<domain>:<name> names an AGENT: spawn it, never Read it, and on Grok Build spawn_subagent takes the id with its colons replaced by hyphens (agentIdToGrokSubagentType). Claude Code: Skill tool for a skill (soleur:<name>), Task tool with subagent_type for an agent. Forbidden is executing a subset, not the Read.

Linear Issue Image Context

This skill detects Linear issue references in caller input, fetches the issue body and recent comments, and streams the embedded screenshots directly into the active model conversation. The caller (typically soleur:one-shot Step 0a or soleur:brainstorm Phase 0.4) receives two return artifacts and is responsible for choosing the right one for each downstream consumer.

Caller Contract

This skill returns two artifacts. Mixing them up is the load-bearing failure mode the skill exists to prevent.

  1. Agent context — the full markdown blob (description + comment bodies) with Linear image content blocks streamed into the active conversation by mcp__linear-server__extract_images. Callers MUST NOT write this artifact to disk, a PR body, a commit message, or any file under knowledge-base/. The Linear image URLs inside it (uploads.linear.app/*) are signed bearer credentials that grant public-internet read access for their validity window.
  2. Persist-safe summary — the same text with every uploads.linear.app/* URL redacted to the literal token [linear-image: REDACTED]. Callers MUST use this variant for any persistence: writes to knowledge-base/, PR descriptions, commit messages, learning files, downstream subagent prompts.

The redaction primitive lives at scripts/redact-linear-urls.sh. It uses a case-insensitive hostname match ([Hh][Tt][Tt][Pp][Ss]?://[Uu][Pp][Ll][Oo][Aa][Dd][Ss]\.[Ll][Ii][Nn][Ee][Aa][Rr]\.[Aa][Pp][Pp]/) — DNS is case-insensitive and https://Uploads.Linear.App/... serves the same signed bearer credential as the lowercase form. The URL path uses a positive ASCII-only character class (RFC 3986 unreserved + reserved set), so Unicode separators (U+2028, U+2029, NBSP) and markdown/HTML terminators (< > " ' ) ]) all terminate the match cleanly. The full justification per character is inline in the script. The companion CI pii-grep job in .github/workflows/pr-quality-guards.yml mirrors the case-insensitive matching with grep -iE.

The repository is public on GitHub. A single leaked uploads.linear.app URL is a single-user incident brand-survival event per knowledge-base/project/specs/archive/20261013-014038-feat-linear-issue-image-context/spec.md.

Phases

Phase A — Reference detection

Scan the input string for substrings matching either:

  • The identifier shape [A-Z]{2,}-[0-9]+ (matches SOL-39, LIN-12, ENG-100, but also PR-123, HTTP-200, CVE-2024 — false positives are handled in Phase B, not at the regex level), OR
  • The URL shape linear\.app/[^/]+/issue/([A-Z]+-[0-9]+) — extract the captured identifier.

Uppercase each captured identifier and deduplicate (case-sensitive after uppercasing, exact-match on the number — SOL-39 and sol-39 collapse to one entry).

If more than 5 distinct identifiers match, use the AskUserQuestion tool to ask the user how to proceed before any MCP call:

  • Header: "Linear cap"
  • Question: "Found N Linear references; the default cap is 5 to bound prompt size and MCP cost. Process the first 5, all N, or abort?"
  • Options: "Process first 5 (default)", "Process all (may bloat context)", "Abort". The "Other" escape is appended automatically by the runtime.

Take the user's choice as the working set for Phase B.

If 5 or fewer matches, proceed directly.

If zero matches, return immediately with no disclosure line — the skill is a no-op for inputs that do not reference Linear.

Phase B — Fetch + comment scan

For each identifier in the working set:

  1. Invoke mcp__linear-server__get_issue(id=<identifier>). On a 404 Not Found response, silently drop the identifier — this converts false-positive matches like PR-123 or CVE-2024 into no-ops with no user-visible failure. On any other failure (403, network error, token expired), emit the warning from Phase E and skip to the next identifier; do not abort.
  2. Invoke mcp__linear-server__list_comments(issueId=<identifier>, orderBy="createdAt", limit=250). The MCP schema (verified at Phase 0 of the plan) supports orderBy: createdAt | updatedAt and limit up to 250. The schema does NOT expose an order-direction parameter, so the response order is treated a
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01Bash
  2. 02mcp__linear-server__get_issue
  3. 03mcp__linear-server__list_comments
  4. 04mcp__linear-server__extract_images

Вложенные файлы

  • scripts/assert-no-linear-telemetry.sh
  • scripts/redact-linear-urls.sh
  • scripts/render-caller-template.sh

FAQ

Что делает скилл linear-fetch?

This skill should be used when a user input contains a Linear issue reference (e.g., SOL-39 or linear.app/.../issue/<ID>) and the downstream agent needs the screenshots embedded in the issue as visual context.

Как установить скилл linear-fetch?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл linear-fetch запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить linear-fetch с