factory-setup-linear

factory-setup-linear is a skill for Claude Code, Codex from nonlinear-xyz/factory-kit. It costs 31 tokens per session (596 once invoked), scanned A, original, MIT.

A setup workflow for configuring Linear, a project-management tool for tracking teams, projects, and issues, in a Factory Kit project.

In plain words
What is it for?
Use it to inspect or migrate Linear settings, choose an accessible team, optionally select a project, and confirm the workflow's issue-status names.
Why use it?
It creates one portable configuration file and can migrate settings from the older project location.

Skill for Claude CodeCodex

Part of the factory-kit plugin — 37 skills, 8 commands, 12 agents, 1 MCP server 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 skills/nonlinear-xyz/factory-kit/factory-setup-linear
Any agent
npx skills add nonlinear-xyz/factory-kit --skill factory-setup-linear
Clone the repo
git clone --depth 1 https://github.com/nonlinear-xyz/factory-kit

Made for: Claude Code, Codex.

Or install factory-kit, the plugin that ships this one along with the rest of its 37 skills, 8 commands, 12 agents, 1 MCP server.

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 factory-setup-linear

README.md
[![agentmods](https://agentmods.dev/badge/skills/nonlinear-xyz/factory-kit/factory-setup-linear.svg)](https://agentmods.dev/skills/nonlinear-xyz/factory-kit/factory-setup-linear)
Your own site
<a href="https://agentmods.dev/skills/nonlinear-xyz/factory-kit/factory-setup-linear"><img src="https://agentmods.dev/badge/skills/nonlinear-xyz/factory-kit/factory-setup-linear.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 596 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.00031 $0.00596
Opus 5 $0.00015 $0.00298
Sonnet 5 $0.00006 $0.00119
Haiku 4.5 $0.00003 $0.00060

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

Security

Grade A, and why

factory-setup-linear 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.

skills/factory-setup-linear/SKILL.md · 44 lines

How it starts

The opening of the file, as written. The whole thing — 44 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You're configuring this project to use the Factory Kit Linear workflows. The other workflows read .factory-kit/linear.json from the project root; this workflow creates or migrates it.

What to do

  1. Check for configuration. Read .factory-kit/linear.json. If it exists, show the current contents and ask whether the user wants to overwrite, edit, or abort. If it is absent but legacy .claude/linear.json exists, use that as a migration fallback, show it, and offer to write the equivalent canonical file.

  2. Discover Linear context. Use the connected Linear integration's available capabilities:

    • List teams the user can access. Show key — name (id) lines.
    • Ask which team to use through the host's user-interaction capability, or directly in chat when no structured prompt exists. Capture both key (e.g., NON) and id (UUID).
    • List projects filtered to the chosen team. Ask whether standup should be scoped to one active project; "no" means team-wide.
    • If a project is chosen, capture id and name.
  3. Confirm state names. Defaults are "In Review" and "Done". List issue statuses for the chosen team through the Linear integration and verify both names exist. If not, ask the user for the actual names.

  4. Write .factory-kit/linear.json with this shape:

    {
      "teamKey": "NON",
      "teamId": "<uuid>",
      "projectId": "<uuid-or-omit>",
      "projectName": "<name-or-omit>",
      "states": {
        "inReview": "In Review",
        "done": "Done"
      },
      "branchPattern": "<owner>/<teamKey-lower>-<number>-<topic>"
    }
    
    • projectId / projectName are optional — omit the keys entirely if the user didn't pick a project.
    • branchPattern is documentation-only — /submit and /close parse the branch with a regex (-(\d+)-) and don't depend on this string. Include it so future readers know the convention.
  5. Show the file path and confirm — print "Wrote .factory-kit/linear.json. Factory Kit's standup, entry, submit, and close workflows are ready." Don't commit it; the user decides whether to check it in.

Read the full file on GitHub · 44 lines

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 · 44 lines · 31 tokens per session scan A 0971e8aea823

Subscribe to this mod's changes

factory-setup-linear is a skill published in the GitHub repository nonlinear-xyz/factory-kit (9 stars, last pushed 29d ago), licensed MIT. It adds 31 tokens to every session and 596 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.

Related

Other skills, from other repositories