Sync GitHub issues to local Markdown files for offline editing, batch updates, and integration with coding workflows. Benefits developers and operations teams by enabling offline work and streamlining issue management.
git clone https://github.com/mitsuhiko/gh-issue-sync.gitgh-issue-sync is a command-line tool that mirrors GitHub issues into local Markdown files with YAML front matter, enabling offline editing and batch updates. The tool supports creating new issues locally with temporary IDs that get replaced with real issue numbers after pushing to GitHub. It uses three-way comparison to detect conflicts between local, original, and remote versions, automatically handling references and creating missing labels or milestones during sync. Developers and coding agents can pull issues, refine them locally in their preferred editor, and push changes back in a single operation. The tool integrates with popular AI agents including Claude Code, Cursor, and others through customizable skill files.
["Install GitHub CLI (gh) and authenticate with 'gh auth login'","Run the sync command with your repository and directory parameters","Review the summary report to verify changes","Edit the Markdown files offline as needed","Push changes back to GitHub using 'gh issue create' or manual PRs","Tip: Use 'gh issue list --label [LABEL]' to preview issues before syncing"]
Batch editing multiple GitHub issues offline before syncing changes
Using AI agents like Claude Code to iteratively refine issues locally
Creating new issues locally with temporary IDs before publishing to GitHub
Managing issues offline for teams without constant internet access
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/mitsuhiko/gh-issue-syncCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Sync GitHub issues for repository [REPO_NAME] to local Markdown files in directory [LOCAL_DIR]. Include issues labeled [LABEL_FILTER] and exclude those with status [EXCLUDE_STATUS]. Generate a summary report of changes made during the sync. Use GitHub CLI (gh) for the operation.
Sync completed for repository 'acme-web-app' in directory './issues-backup'. Processed 42 issues (23 updated, 19 new, 0 skipped). Issues excluded due to 'closed' status: 5. Labels processed: 'bug', 'enhancement', 'critical'. **Summary Report:** - Total issues synced: 42 - New Markdown files created: 19 - Existing files updated: 23 - Issues excluded: 5 (all 'closed' status) - Largest issue: #124 (245 lines) - 'Login timeout on mobile devices' - Most commented: #89 (14 comments) - 'Dark mode implementation' **Files Modified:** - ./issues-backup/bug/issue-124-login-timeout.md - ./issues-backup/enhancement/issue-89-dark-mode.md - ./issues-backup/critical/issue-203-api-rate-limiting.md All Markdown files include frontmatter with GitHub metadata (title, number, labels, assignees, created_at, updated_at) and are formatted for easy editing. The sync took 47 seconds to complete.
IronCalc is a spreadsheet engine and ecosystem
Get more done every day with Microsoft Teams – powered by AI
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Agentic AI Workflow platform
Connected workspace for docs, wikis, and projects
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan