/oxgh:issuefrom oxgh
Creates GitHub issues with sub-issues, milestones, project fields, and issue types via the GitHub CLI and REST API.
Ships in oxgh. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
gh repo view --json nameWithOwner --jq '.nameWithOwner'Issue types (Bug, Feature, Task) are NOT labels - they're a separate GitHub feature. The gh CLI doesn't support them directly yet, so use the REST API:
gh api -X PATCH repos/{owner}/{repo}/issues/{number} --field type=Bug
Valid types: Bug, Feature, Task
To make an issue a subissue of a parent, get the numeric ID (not the issue number) and POST it:
gh api repos/{owner}/{repo}/issues/{child_number} --jq '.id'
# Returns: 3860943964
echo '{"sub_issue_id": 3860943964}' | gh api -X POST repos/{owner}/{repo}/issues/{parent_number}/sub_issues --input -
The sub_issues endpoint requires the numeric ID as an integer in JSON, hence piping through --input -.
When creating a subissue, it should have the same milestone and project triage as its parent.
gh api repos/{owner}/{repo}/issues/{parent_number} --jq '.milestone.number // empty'
First get the parent's project item ID:
gh project item-list {project_number} --owner {owner} --limit 300 --format json | jq '.items[] | select(.content.number == PARENT_NUMBER) | {id, component: .component, priority: .priority, size: .size}'
gh api -X PATCH repos/{owner}/{repo}/issues/{number} --field milestone={milestone-number}
First get the new issue's project item ID (issue must be added to project first):
gh project item-list {project_number} --owner {owner} --limit 300 --format json | jq '.items[] | select(.content.number == NEW_ISSUE_NUMBER) | .id'
Then copy each field using the option IDs from context:
gh project item-edit --id {item-id} --project-id {project-id} --field-id {field-id} --single-select-option-id {option-id}
Based on the user's request:
gh issue create --title "..." --body "..."What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub oxidian/cc-plugins --plugin oxgh4 skills in this plugin
Other plugins' skills for the same job