bulk-import-issues

bulk-import-issues is a command for coding agents from davepoon/buildwithclaude. It costs 7 tokens per session (2,682 once invoked), scanned A, original, MIT.

A command for copying many GitHub Issues into Linear at once. It examines the issues before importing them and processes the transfer in batches.

In plain words
What is it for?
Use it to import GitHub issues into Linear, group them by state, label, or milestone, track progress, and handle import errors.
Why use it?
It avoids moving issues one by one and highlights risks such as duplicates, rate limits, and large imports before work begins.

Command

Part of the all-commands plugin — 23 commands shipped together

About the project

davepoon/buildwithclaude is a discovery hub and plugin marketplace for Claude Code extensions, including agents, commands, hooks, skills, plugins, MCP servers, and marketplace collections. Developers use it to browse, search, and find installation instructions for tools that extend Claude-related workflows. Catalogue entries include agents, plugins, commands, and skills from this collection.

davepoon/buildwithclaude · 3,415 stars · on GitHub · buildwithclaude.com

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/davepoon/buildwithclaude/bulk-import-issues
Clone the repo
git clone --depth 1 https://github.com/davepoon/buildwithclaude

Or install all-commands, the plugin that ships this one along with the rest of its 23 commands.

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 bulk-import-issues

README.md
[![agentmods](https://agentmods.dev/badge/commands/davepoon/buildwithclaude/bulk-import-issues.svg)](https://agentmods.dev/commands/davepoon/buildwithclaude/bulk-import-issues)
Your own site
<a href="https://agentmods.dev/commands/davepoon/buildwithclaude/bulk-import-issues"><img src="https://agentmods.dev/badge/commands/davepoon/buildwithclaude/bulk-import-issues.svg" alt="Measured on agentmods" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,682 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.1 $0.00007 $0.02682
Opus 5 $0.00003 $0.01341
Sonnet 5 $0.00001 $0.00536
Haiku 4.5 $0.00001 $0.00268

Measured today against content hash 959244703df8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

bulk-import-issues 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 today.

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.

plugins/all-commands/commands/bulk-import-issues.md · 430 lines

How it starts

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

bulk-import-issues

Bulk import GitHub issues to Linear

System

You are a bulk import specialist that efficiently transfers large numbers of GitHub issues to Linear. You handle rate limits, provide progress feedback, manage errors gracefully, and ensure data integrity during mass operations.

Instructions

When performing bulk imports:

  1. Pre-import Analysis

    async function analyzeImport(filters) {
      const issues = await fetchGitHubIssues(filters);
      
      return {
        totalIssues: issues.length,
        byState: groupBy(issues, 'state'),
        byLabel: groupBy(issues, issue => issue.labels[0]?.name),
        byMilestone: groupBy(issues, 'milestone.title'),
        estimatedTime: estimateImportTime(issues.length),
        apiCallsRequired: calculateAPICalls(issues),
        
        warnings: [
          issues.length > 500 && 'Large import may take significant time',
          hasRateLimitRisk(issues.length) && 'May hit rate limits',
          hasDuplicates(issues) && 'Potential duplicates detected'
        ].filter(Boolean)
      };
    }
    
  2. Batch Configuration

    const BATCH_CONFIG = {
      size: 20,                    // Items per batch
      delayBetweenBatches: 2000,   // 2 seconds
      maxConcurrent: 5,            // Parallel operations
      retryAttempts: 3,
      backoffMultiplier: 2,
      
      // Dynamic adjustment
      adjustBatchSize(performance) {
        if (performance.errorRate > 0.1) return Math.max(5, this.size / 2);
        if (performance.avgTime > 5000) return Math.max(10, this.size - 5);
        if (performance.avgTime < 1000) return Math.min(50, this.size + 5);
        return this.size;
      }
    };
    
  3. Import Pipeline

    class BulkImportPipeline {
      constructor(issues, options) {
        this.queue = issues;
        this.processed = [];
        this.failed = [];
        this.options = options;
        this.startTime = Date.now();
      }
      
      async execute() {
        // Pre-process
        await this.validate();
        await this.deduplicate();
        
        // Process in batches
        while (this.queue.length > 0) {
          const batch = this.queue.splice(0, BATCH_CONFIG.size);
          await this.processBatch(batch);
          await this.updateProgress();
          await this.checkRateLimits();
        }
        
        // Post-process
        await this.reconcile();
        return this.generateReport();
      }
    }
    

Read the full file on GitHub · 430 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. today First seen · 430 lines · 7 tokens per session scan A 959244703df8

Subscribe to this mod's changes

bulk-import-issues is a command published in the GitHub repository davepoon/buildwithclaude (3,415 stars, last pushed yesterday), licensed MIT. It adds 7 tokens to every session and 2,682 once invoked, about $0.0000 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-09-05.