github-discussion-query
Query GitHub discussions efficiently with jq argument support for filtering
Skill by az9713
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/az9713-github-discussion-query
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/github-discussion-query
What's inside
- Skill name
github-discussion-query- Description
- Query GitHub discussions efficiently with jq argument support for filtering
- License
- MIT
- Instructions
- 104 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (3)
- SKILL.md
- query-discussions.py
- query-discussions.sh
SKILL.md (first lines)
# GitHub Discussion Query Skill
This skill provides efficient querying of GitHub discussions with built-in jq filtering support.
## Important: jq Parameter is Optional
The `--jq` parameter is **optional**. When called without `--jq`, this skill returns **schema and data size information** instead of the full data.
This prevents overwhelming responses with large datasets and helps you understand the data structure before querying.
Use `--jq '.'` to get all data, or use a more specific filter for targeted results.
## Usage
Use this skill to query discussions from the current repository or any specified repository.
### Basic Query (Returns Schema Only)
To list discussions from the current repository:
```bash
./query-discussions.sh
# Returns schema and data size, not full data
```
### Get All Data
To get all discussion data:
```bash
./query-discussions.sh --jq '.'
```
### With Repository
To query a specific repository:
```bash
./query-discussions.sh --repo owner/repo
```
### With jq Filtering
Use the `--jq` argument to filter and transform the output:
```bash
# Get discussion numbers and titles
./query-discussions.sh --jq '.[] | {number, title}'
# Get discussions by a specific author
./query-discussions.sh --jq '.[] | select(.author.login == "username")'
# Get discussions in a specific category
./query-discussions.sh --jq '.[] | select(.category.name == "Ideas")'
# Get answered discussions
./query-discussions.sh --jq '.[] | select(.answer != null)'
# Count discussions by category
./query-discussions.sh --jq 'group_by(.category.name) | map({category: .[0].category.name, count: length})'
```
### Common Options
- `--limit`: Maximum number of discussions to fetch. Default: 30
- `--repo`: Repository in owner/repo format. Default: current repo
- `--jq`: (Optional) jq expression for filtering/transforming output. If omitted, returns schema info
### Example Queries
**Find discussions with many comments:**
```bash
./query-discussions.sh --jq '.[] | select(.comments.totalCount > 5) | {number, title, comments: .comments.totalCount}'
```
**Get unanswered discussions:**
```bash
./query-discussions.sh --jq '.[] | select(.answer == null) | {number, title, category: .category.name}'
```
**List discussions with their labels:**
```bash
./query-discussions.sh --jq '.[] | {number, title, labels: [.labels[].name]}'
```
**Find discussions by category:**
```bash
./query-discussions.sh --jq '.[] | select(.category.name == "Q&A") | {number, title, author: .author.login}'
```
**Get recently updated discussions:**
```bash
./query-discussions.sh --jq 'sort_by(.updatedAt) | reverse | .[0:10] | .[] | {number, title, updatedAt}'
```
## Output Format
The script outputs JSON by default, making it easy to pipe through jq for additional processing.
## Requirements
- GitHub CLI (`gh`) authenticated
- `jq` for filtering (installed by default on most systems)From az9713/gh-aw, MIT.
More from az9713/gh-aw
- 0.354score
github-issue-query
az9713
Query GitHub issues efficiently with jq argument support for filtering
SkillDFreshness: DClaude Code +9 - 0.354score
debugging-workflows
az9713
Guide for debugging GitHub Agentic Workflows - analyzing logs, auditing runs, and troubleshooting issues
SkillDFreshness: DClaude Code +9 - 0.354score
github-script
az9713
Best practices for writing JavaScript code for GitHub Actions using github-script
SkillDFreshness: DClaude Code +9 - 0.354score
console-rendering
az9713
Instructions for using the struct tag-based console rendering system in Go
SkillDFreshness: DClaude Code +9 - 0.354score
github-pr-query
az9713
Query GitHub pull requests efficiently with jq argument support for filtering
SkillDFreshness: DClaude Code +9 - 0.352score
error-pattern-safety
az9713
Error Pattern Safety Guidelines for Agentic Engines
SkillDFreshness: DClaude Code +9 - 0.352score
gh-agent-session
az9713
GitHub CLI Agent Session Extension
SkillDFreshness: DClaude Code +9 - 0.352score
gh-agent-task
az9713
GitHub CLI Agent Task Extension
SkillDFreshness: DClaude Code +9 - 0.352score
github-mcp-server
az9713
GitHub MCP Server Documentation
SkillDFreshness: DClaude Code +9 - 0.352score
documentation
az9713
Documentation Brief description for SEO and navigation
SkillDFreshness: DClaude Code +9 - 0.352score
github-copilot-agent-tips-and-tricks
az9713
Tips and Tricks for Working with GitHub Copilot Agent PRs
SkillDFreshness: DClaude Code +9 - 0.352score
error-messages
az9713
Error Message Style Guide for Validation Errors
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Feb 14, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/az9713/gh-aw
- Website
- github.com/github/gh-aw
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from az9713
- 0.461score
codex-first
az9713
Claude Code-only work routing: delegate implementation, fixing, exploratory subagents, rebasing, and PR merging/landing to Codex CLI while Claude specifies…
SkillBFreshness: BClaude Code +9 - 0.430score
offer-shaper
az9713
Convert a vague AI idea or buyer pain into a concrete paid offer with buyer, promise, deliverable, price, proof mechanism, and sales path.
SkillCFreshness: C★ 1Claude Code +9 - 0.430score
context-reset
az9713
Preserve durable project state before clearing or compacting context so Claude Code can reset without losing business, technical, and verification state.
SkillCFreshness: C★ 1Claude Code +9 - 0.430score
break-test
az9713
Red-team a project, automation, app, or offer by trying to break it technically, commercially, operationally, and in front of a buyer.
SkillCFreshness: C★ 1Claude Code +9 - 0.430score
council-session
az9713
Run the full Idea-to-Capital council loop across buyer, CFO, technical, distribution, verification, and packaging perspectives.
SkillCFreshness: C★ 1Claude Code +9 - 0.430score
opportunity-triage
az9713
Evaluate an AI project, automation, SaaS, content product, or service idea for buyer demand, profitability, speed to validation, and whether to build…
SkillCFreshness: C★ 1Claude Code +9
Cite this page
github-discussion-query skill. Agent Mart. https://agentmart.dev/skills/az9713-github-discussion-query (last updated 2026-10-24)