How to Use GitHub repository labels in n8n
Fetch a repository's label names, descriptions, colors, and default-label flags. Use the actual label vocabulary to find relevant issues and build meaningful backlog counts.
Prompts to try with GitHub repository labels in n8n
Copy an example into n8n, or ask in your own words.
Every Monday at 9am: use GitHub repository labels to look this up and give me the result as a table.
Pull the latest numbers from GitHub repository labels and tell me what changed since last week.
Check GitHub repository labels and summarize what you find in three bullet points.
Pull the newest data from GitHub repository labels and give me the result as a table.
Check GitHub repository labels every morning and tell me only when something changed.
How to set up GitHub repository labels in n8n
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send n8n this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use Spiral's MCP server
- Create a key
Create a key under API keys in the console.
- Add an MCP Client node
In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:
https://api.spiral.ai/mcp
- Pick a tool
The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:
{ "provider": "fal", "model": "fal-ai/flux/schnell", "input": { "prompt": "a lighthouse at dawn" }, "wait": true } - Run GitHub repository labels in a workflow step
Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds GitHub repository labels, prices it and runs it each time the step fires.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run GitHub repository labels
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "github-com/repositories/labels", "input": { "repo": "<repo>" } }'
Then paste one of the prompts above: n8n finds GitHub repository labels on Spiral, shows the price and runs it.
GitHub repository labels providers and prices
Spiral runs GitHub repository labels through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask n8n for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Page | 1 to 1000 | 1 | 1-based page; has_next in the response says whether page+1 exists. |
| Per page | 1 to 100 | 100 | Records per page. |
Every API field of GitHub · Labels is on its tool page: open its card above.
What can you do with GitHub repository labels in n8n?
Produce a recurring change report for selected public projects and packages on GitHub. A scheduled agent can compare saved observations of releases, repository status, issue totals, files, or advisories and report what changed.
Review a dependency before adoption
Build an adoption brief covering repository status, contribution concentration, license text, issue categories and totals, release history, and reported vulnerability or malware concerns for the exact packages under consideration.
Prepare a dependency upgrade review
Compare the installed version with published releases, read migration files and known issue reports, and check relevant advisories. Include project status and contribution concentration when deciding how much upstream support to expect.
Investigate a reported package incident
Read the advisory and affected package ranges, compare release notes and manifests, then inspect related issue categories, reports, and totals. Keep a documented vulnerability fix separate from a malicious-package report.
Assess upstream maintenance
Compare archive status, contribution concentration, release dates, issue categories, and backlog totals across candidate repositories. Read representative issue reports to explain the numbers.
Plan an open source contribution
Read contribution instructions, discover the repository's actual labels, and inspect suitable issues alongside backlog totals. Use project status and contribution distribution to understand the project's context before proposing work.
Compare migration destinations
Compare two public projects using their README files, repository metadata, contribution distribution, release notes, and issue evidence. Summarize which documented limitations matter for the planned migration.
More on GitHub repository labels and n8n
Overview
GitHub repository labels in other agents
Questions about GitHub repository labels in n8n
Can n8n use GitHub repository labels?
Yes. Add Spiral to n8n as an MCP server, and n8n can find and run GitHub repository labels like any built-in tool.
How much does GitHub repository labels cost in n8n?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.
Do I need an Alexandria account to use GitHub repository labels in n8n?
You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs GitHub repository labels on its own Alexandria account.
How long does it take to set up GitHub repository labels in n8n?
About two minutes: create a key, then add an MCP Client node, then pick a tool.
Does n8n wait while GitHub repository labels runs?
GitHub repository labels runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.
Can I reuse anything that is public on GitHub?
Public visibility alone does not grant unrestricted reuse. GitHub says that without a license, default copyright restrictions apply to source code; its Advisory Database has a separate CC BY 4.0 license.
How current is GitHub's data?
Freshness depends on the record. Contributor results can be a few hours old because GitHub caches them, while a file selected by branch can change whenever new commits arrive.
Does a GitHub release history include every version tag?
No. GitHub excludes Git tags that have no associated release, and its latest-release lookup excludes prereleases and drafts.
Do GitHub issues include pull requests?
GitHub's underlying issue responses can contain both, with pull requests identified separately. An issue-only backlog should exclude pull requests before its totals are compared.
Where do GitHub's malware reports come from?
GitHub automatically publishes malware advisories from the npm security team and the OpenSSF Malicious Packages repository. These reports concern malicious packages and are separate from ordinary vulnerability advisories.
Start using GitHub repository labels in n8n
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into n8n:
set up https://spiral.ai/SKILL.md


