speckit.maqa-linear.populate

speckit.maqa-linear.populate is a command for Claude Code from Badminton-Apps/badman. It costs 37 tokens per session (837 once invoked), scanned A, original, Apache-2.0.

A command that creates one Linear issue for each feature listed in a specification task file. Linear is a project-management service for tracking issues, and the command skips issues that already exist.

In plain words
What is it for?
Use it to populate a Linear team from prepared specs and include each feature's tasks in the issue description.
Why use it?
It turns written feature specifications into a team task list without creating duplicates when run again.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

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/badminton-apps/badman/speckit.maqa-linear.populate
Clone the repo
git clone --depth 1 https://github.com/Badminton-Apps/badman

Made for: Claude Code.

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 speckit.maqa-linear.populate

README.md
[![agentmods](https://agentmods.dev/badge/commands/badminton-apps/badman/speckit.maqa-linear.populate.svg)](https://agentmods.dev/commands/badminton-apps/badman/speckit.maqa-linear.populate)
Your own site
<a href="https://agentmods.dev/commands/badminton-apps/badman/speckit.maqa-linear.populate"><img src="https://agentmods.dev/badge/commands/badminton-apps/badman/speckit.maqa-linear.populate.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 837 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.1 $0.00037 $0.00837
Opus 5 $0.00018 $0.00418
Sonnet 5 $0.00007 $0.00167
Haiku 4.5 $0.00004 $0.00084

Measured yesterday against content hash 13afce479347, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

speckit.maqa-linear.populate scanned grade A with 1 finding 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 yesterday.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

EXISTING=$(curl -s -X POST https://api.linear.app/graphql \
.specify/extensions/maqa-linear/commands/speckit.maqa-linear.populate.md · 103 lines

How it starts

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

You are populating a Linear team from spec-kit specs. Safe to re-run — existing issues are never duplicated.

Step 1 — Read config

source <(python3 -c "
import re
with open('maqa-linear/linear-config.yml') as f:
    for line in f:
        m = re.match(r'^(\w+):\s*\"?([^\"#\n]+)\"?', line.strip())
        if m and m.group(2).strip():
            print(f'{m.group(1).upper()}={m.group(2).strip()}')
")

Step 2 — Get existing issue titles from team

EXISTING=$(curl -s -X POST https://api.linear.app/graphql \
  -H "Authorization: $LINEAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"query\":\"{ team(id: \\\"$TEAM_ID\\\") { issues { nodes { title } } } }\"}" | \
  python3 -c "
import json,sys
data = json.load(sys.stdin)
for i in data['data']['team']['issues']['nodes']:
    print(i['title'].lower().strip())
")

Step 3 — Discover local specs

python3 - <<'EOF'
import os, glob
for path in sorted(glob.glob('specs/*/tasks.md')):
    name = os.path.basename(os.path.dirname(path))
    has_plan = os.path.exists(f'specs/{name}/plan.md')
    print(f"{name}|{path}|{'ready' if has_plan else 'no-plan'}")
EOF

Skip specs with no-plan status.

Step 4 — For each ready spec not already in Linear

Parse tasks from tasks.md

python3 - <<'EOF'
import re
content = open("specs/$SPEC_NAME/tasks.md").read()
title_match = re.search(r'^#\s+(.+)$', content, re.M)
title = title_match.group(1).strip() if title_match else "$SPEC_NAME"
tasks = []
for line in content.split('\n'):
    m = re.match(r'^\s*-\s*\[[ x]\]\s*(.+)', line) or re.match(r'^\s*(?:\*\*)?\d+\.(?:\*\*)?\s+(.+)', line)
    if m:
        text = re.sub(r'\*\*', '', m.group(1)).strip()
        if len(text) > 5:
            tasks.append(text)
print("TITLE=" + title)
for t in tasks[:20]:
    print("TASK=" + t)
EOF

Build description with markdown task list

## Tasks

- [ ] Task one
- [ ] Task two
...

Deps: <from spec.md or "none">

Create the issue in Todo state

Read the full file on GitHub · 103 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. yesterday First seen · 103 lines · 37 tokens per session scan A 13afce479347

Subscribe to this mod's changes

speckit.maqa-linear.populate is a command published in the GitHub repository Badminton-Apps/badman (13 stars, last pushed yesterday), licensed Apache-2.0. It adds 37 tokens to every session and 837 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.