import-issues

import-issues is a skill for Claude Code from orwa-mahmoud/nightshift. It costs 24 tokens per session (930 once invoked), scanned A, original, MIT.

A workflow for copying specifically selected GitHub issues into a project's later-work list. GitHub is a service where software projects track code and tasks.

In plain words
What is it for?
Use it to stage owner-selected issues as proposed drafts on the drafting table for possible inclusion in a future work shift.
Why use it?
It preserves the issue text for planning without treating imported issues as approval or changing anything on GitHub.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions Claude Code; mentions Codex.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the nightshift plugin — 13 skills, 5 hooks shipped together

Good fit Use it to stage owner-selected issues as proposed drafts on the drafting table for possible inclusion in a future work shift.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add orwa-mahmoud/nightshift
Claude Code
/plugin install nightshift

Made for: Claude Code.

Or install nightshift, the plugin that ships this one along with the rest of its 13 skills, 5 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/orwa-mahmoud/nightshift/import-issues.svg)](https://agentmods.dev/skills/orwa-mahmoud/nightshift/import-issues)
Your own site
<a href="https://agentmods.dev/skills/orwa-mahmoud/nightshift/import-issues"><img src="https://agentmods.dev/badge/skills/orwa-mahmoud/nightshift/import-issues.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 930 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00024 $0.00930
Opus 5 $0.00012 $0.00465
Sonnet 5 $0.00005 $0.00186
Haiku 4.5 $0.00002 $0.00093

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

Security

Grade A, and why

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/nightshift/skills/import-issues/SKILL.md · 75 lines

How it starts

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

Import owner-selected GitHub issues into the host-opened project. This command stages drafts. It does not start a shift, promote into the punch list, or change GitHub.

The four state files and what each holds are in $NIGHTSHIFT_PLUGIN_ROOT/skills/nightshift/references/shift/state-map.md. Imported issues land on the drafting table as Status: proposed. They are not owner authorization and they are not punch-list work until the owner promotes them.

Resolve the installed plugin root to an absolute $NIGHTSHIFT_PLUGIN_ROOT${CLAUDE_PLUGIN_ROOT} on Claude Code, $PLUGIN_ROOT on Codex when set, otherwise the absolute path this skill was attached from (skills/import-issues/SKILL.md). Run every command below through "$NIGHTSHIFT_PLUGIN_ROOT/runtime/ns" — native Windows: & "$NIGHTSHIFT_PLUGIN_ROOT\runtime\windows\ns.ps1" in the PowerShell tool, same verbs — which resolves the host and the workspace; ns help lists the verbs, and ns bind prints the six resolved facts (TASK_ROOT, NIGHTSHIFT_WORKSPACE, NS, NIGHTSHIFT_PLUGIN_ROOT, HOST, SOURCE); $NS below is that NS. Never a bare relative path: the working directory persists between calls.

Claude Code and Codex run the same platform helper. Do not reimplement fetch or staging in prose.

"$NIGHTSHIFT_PLUGIN_ROOT/runtime/ns" import-issues --fetch …
"$NIGHTSHIFT_PLUGIN_ROOT/runtime/ns" import-issues --stage …

1. Require an explicit selection

Accept only:

  • full GitHub issue URLs (https://github.com/owner/repo/issues/N), or
  • owner/repo#N, or
  • --repo owner/repo (POSIX) or -Repo owner/repo (native Windows) plus one or more issue numbers.

If the owner says “import my issues”, “what’s open”, or names an account or repository without issue numbers, stop. Ask for explicit URLs or numbers. Never run gh search, gh issue list, or any implicit inventory. Never install gh, never request scopes, never use MCP.

No $NS/ — stop and point at Setup (/nightshift:setup on Claude Code, or ask Nightshift to set up on Codex).

Read the full file on GitHub · 75 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 Changed · -14 lines · -8 tokens per session 8bb4cc3c1435
  2. 2d ago Changed · -4 lines 67c4fc21cf6f
  3. 8d ago First seen · 93 lines · 32 tokens per session scan A b1ed9760bf73

Subscribe to this mod's changes

import-issues is a skill published in the GitHub repository orwa-mahmoud/nightshift (56 stars, last pushed today), licensed MIT. It adds 24 tokens to every session and 930 once invoked, about $0.0001 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.