import-issues

Stages explicitly selected GitHub issues as quoted drafts on the Nightshift drafting table.

63|3|Updated Jul 14, 2026
One-click install
npx skills add https://github.com/orwa-mahmoud/nightshift --skill import-issues-orwa-mahmoud
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: import-issues
Source: https://github.com/orwa-mahmoud/nightshift/tree/main/plugins/nightshift/skills/import-issues
Command: npx skills add https://github.com/orwa-mahmoud/nightshift --skill import-issues-orwa-mahmoud

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Moving GitHub issues into an agent-driven work queue usually means copy-pasting issue text or letting the agent search repositories on its own. This Skill imports only the issues you explicitly name, quoting them as read-only source material so nothing is searched, guessed, or written back to GitHub. ## Core Features & Use Cases - Explicit selection only: Accepts full issue URLs, owner/repo#N, or --repo plus issue numbers; refuses vague requests like "import my issues" and never runs gh search or gh issue list. - Read-only preview before staging: Fetches title, body, labels, state, and review flags (destructive, secret-seeking, publishing, payment, legal, ambiguous), and shows whether each issue already exists in the drafting table, punch list, or archives. - Atomic staging with duplicate detection: Writes selected issues to the drafting table with Status: proposed, source URL, quoted acceptance text, labels, and import timestamp, skipping duplicates by canonical URL. - Use Case: You have five GitHub issues you want an agent to work on overnight. Provide their URLs, review the fetched preview including any closed issues and risk flags, then stage only the ones you approve for later promotion into the punch list. ## Quick Start Import GitHub issues https://github.com/owner/repo/issues/12 and https://github.com/owner/repo/issues/15 onto the drafting table so I can review them before promoting them to the punch list.

Frequently Asked Questions about import-issues

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I import GitHub issues into an agent work queue?

Provide explicit issue URLs, owner/repo#N references, or --repo with issue numbers. The Skill fetches each issue read-only, shows a preview with labels and review flags, then stages only the issues you approve onto the drafting table.

Can I import all open issues from a GitHub repository at once?

No. The Skill only accepts explicitly named issues and refuses requests like "import my issues" or "what's open". It never runs gh search or gh issue list, so you must supply specific URLs or issue numbers.

Does importing GitHub issues require the GitHub CLI?

Yes, the gh CLI must be installed and authenticated for the fetch step. If it is missing, the helper prints install instructions and stops without changing any files. The Skill never installs gh or requests scopes itself.

Does importing issues change anything on GitHub?

No. The import is strictly read-only against GitHub. It never creates, edits, comments on, labels, assigns, or closes issues, and never pushes code or opens pull requests. Staged drafts land only in the local drafting-table file.

What happens to closed GitHub issues during import?

Closed issues appear in the preview but are not staged by default. They are only staged if you explicitly override after seeing the preview, using the --allow-closed flag for those specific issues.

Do staged issues start executing automatically?

No. Staged issues land on the drafting table with Status: proposed. They are not punch-list work and not owner authorization until you explicitly promote them through a separate step.