linctl CLAUDE.md

linctl CLAUDE.md is an instructions file for coding agents from KyaniteHQ/linctl. It costs 674 tokens per session, scanned A, original, MIT.

Repository instructions for linctl, a Go command-line tool for safely working with Linear, a project-management service. They define its terms, commands, generated code, and tests.

In plain words
What is it for?
Use them when naming Linear concepts, building or testing linctl, checking generated GraphQL code, or working with live and integration tests.
Why use it?
They help an coding agent use the project's vocabulary and development checks correctly, while preventing unsafe updates to the wrong target.

Instructions file

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 instructions/kyanitehq/linctl/claude-md
Clone the repo
git clone --depth 1 https://github.com/KyaniteHQ/linctl

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 linctl CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/kyanitehq/linctl/claude-md.svg)](https://agentmods.dev/instructions/kyanitehq/linctl/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/kyanitehq/linctl/claude-md"><img src="https://agentmods.dev/badge/instructions/kyanitehq/linctl/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 674 This file is loaded in full into every session.
When invoked 674 The same file — it is already loaded in full.
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.00674 $0.00674
Opus 5 $0.00337 $0.00337
Sonnet 5 $0.00135 $0.00135
Haiku 4.5 $0.00067 $0.00067

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

Security

Grade A, and why

linctl CLAUDE.md 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 5d 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.

CLAUDE.md · 34 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

linctl is a schema-aligned Go CLI (cobra, Go 1.26, module github.com/KyaniteHQ/linctl) — a Linear control surface for agent-safe coordination: free reads, target-pinned guarded writes.

Domain language — read before naming anything

@CONTEXT.md

Use these exact terms. Never say "workspace" (it is a Pinned/Resolved Target), never treat a Cycle as a "Sprint" mutation (Sprint is a read-only alias), always write ProjectMilestone in full. Each command's GraphQL backing is mapped in docs/internal/domain-map.md; named test flows are in docs/internal/test-scenarios.md.

Guarded writes fail closed on Target Mismatch — a hard stop, never a soft warning. Do not add bypass flags or relax the write guard (internal/client/write_guard.go).

Build / test / lint (go-task)

Run repository tasks through the pinned Go tool dependency: go tool task <task>.

  • go tool task ci — local gate before any PR: deps-check → fmt-check → generate-check → vet → test → build → smoke-run → lint → shellcheck → actionlint → vuln.
  • go tool task coverage — enforces 100% hand-written statement coverage for product code (excludes internal/client/internal/gql/generated.go, cmd/linctl/main.go, and repo maintenance scripts under scripts/). Not part of task ci; run it separately and keep new product code fully covered.
  • go tool task fmt — gofumpt + goimports (NOT plain gofmt); this is the mutating formatter.
  • go tool task fmt-check — non-mutating formatting parity check used by task ci.
  • go tool task lint — golangci-lint v2.12.2 (pinned; ~30 linters incl. gocognit/gocyclo/funlen/lll-120/gosec). Keep functions small and typed.

Generated GraphQL client

internal/client/internal/gql/generated.go is generated by genqlient from internal/client/operations/*.graphql via go generate ./.... Regenerate and commit it whenever operations change — CI fails on drift (git diff --exit-code -- internal/client/internal/gql/generated.go). When adding operations, refresh the vendored schema first: ./scripts/refresh-schema.sh then go generate ./....

Read the full file on GitHub · 34 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. 5d ago First seen · 34 lines · 674 tokens per session scan A bd995619d16c

Subscribe to this mod's changes

linctl CLAUDE.md is an instructions file published in the GitHub repository KyaniteHQ/linctl (11 stars, last pushed yesterday), licensed MIT. It adds 674 tokens to every session, about $0.0034 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-30.