github-tag

Generates Capacities tags for GitHub repositories from topics, language, and README analysis.

1|Updated Jun 29, 2026
One-click install
npx skills add https://github.com/natthasath/natthasath-marketplace --skill github-tag-natthasath
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: github-tag
Source: https://github.com/natthasath/natthasath-marketplace/tree/main/plugins/github/skills/github-tag
Command: npx skills add https://github.com/natthasath/natthasath-marketplace --skill github-tag-natthasath

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Deciding which tags to assign when saving a GitHub repository into a Capacities knowledge base is manual and inconsistent. This Skill automates tag suggestion by combining the repo's existing GitHub topics with signals found in its README, producing a complete, deduplicated tag list. ## Core Features & Use Cases - Topic-Based Tagging: Fetches the repo's existing GitHub topics via gh api or the public GitHub REST API and uses them verbatim as tags. - README Signal Scanning: Detects languages, frameworks, databases, and project types from badges, dependency files, and Tech Stack sections using the bundled tech-signals reference. - Provenance Marking: Marks every tag not present in the original GitHub topics with a star so users can distinguish fetched tags from AI-inferred ones. - Use Case: Given https://github.com/vercel/next.js, the Skill outputs all 14 existing topics plus #javascript inferred from the primary language, each annotated with its source. ## Quick Start Run /github-tag with a GitHub repository URL or a local project path to get a suggested tag list for saving it to Capacities.

Frequently Asked Questions about github-tag

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

FAQPage Schema
How do I generate tags for a GitHub repository automatically?▼

Invoke /github-tag with a GitHub URL, owner/repo shorthand, or a local project path. The Skill fetches the repo's topics and primary language, scans the README for additional technologies, and outputs a deduplicated tag list with source annotations.

What tool fetches GitHub repo topics and README content?▼

The bundled fetch_repo.py script tries the gh CLI first for authenticated access with higher rate limits, then falls back to the unauthenticated GitHub REST API. It returns JSON containing topics, language, description, and README text.

Can I tag a private GitHub repository?▼

Yes, but only if the machine has run gh auth login, since the public API cannot access private repos. Without authentication the script reports an error and suggests logging in or pasting the README content manually.

Does github-tag work with local projects that are not on GitHub?▼

Yes. Provide a local path containing a README.md and the Skill analyzes it directly. If the directory is a git repo with a GitHub remote, it also fetches topics and language from that remote.

Why does the GitHub language field sometimes mismatch the README?▼

GitHub computes the language field from byte counts across all files via Linguist, which can be skewed by helper scripts. The Skill trusts explicit README statements like badges or Tech Stack sections and may tag both languages when both are genuinely used.

What are the limitations of automatic repo tagging?▼

The Skill requires an explicit URL or path and never guesses a repository. Tags inferred from README mentions may include technologies irrelevant to the project's identity, so starred tags should be reviewed before saving to Capacities.