github-tag

github-tag is a skill for Claude Code from natthasath/natthasath-marketplace. It costs 235 tokens per session (2,561 once invoked), scanned A, original, MIT.

A tool that reads a GitHub repository's README and existing GitHub topics, then suggests plain topic tags for saving the repository in Capacities, a note-taking and knowledge-management app.

In plain words
What is it for?
Use it to create tags such as programming languages, frameworks, databases, or deployment tools when cataloguing a GitHub repository in Capacities.
Why use it?
It bases tags on the repository's own labels and documented technologies instead of guessing from its name. It also requires a repository link or local README path so it tags the correct project.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the github plugin — 2 skills shipped together

Good fit Use it to create tags such as programming languages, frameworks, databases, or deployment tools when cataloguing a GitHub repository in Capacities.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/natthasath/natthasath-marketplace/github-tag
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add natthasath/natthasath-marketplace --skill github-tag
Clone the repo
git clone --depth 1 https://github.com/natthasath/natthasath-marketplace

Made for: Claude Code.

Or install github, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for github-tag

README.md
[![agentmods](https://agentmods.dev/badge/skills/natthasath/natthasath-marketplace/github-tag/github.svg)](https://agentmods.dev/skills/natthasath/natthasath-marketplace/github-tag)
Your own site
<a href="https://agentmods.dev/skills/natthasath/natthasath-marketplace/github-tag"><img src="https://agentmods.dev/badge/skills/natthasath/natthasath-marketplace/github-tag/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for github-tag

Your own site · 80×15
<a href="https://agentmods.dev/skills/natthasath/natthasath-marketplace/github-tag"><img src="https://agentmods.dev/badge/skills/natthasath/natthasath-marketplace/github-tag.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 235 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,561 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00235 $0.02561
Opus 5 $0.00118 $0.01281
Sonnet 5 $0.00047 $0.00512
Haiku 4.5 $0.00023 $0.00256

Measured 8d ago against content hash 126e3b219cac, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

github-tag scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/fetch_repo.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/github/skills/github-tag/SKILL.md · 164 lines

How it starts

The opening of the file, as written. The whole thing — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.

บทบาท:

คุณทำหน้าที่เป็นผู้แนะนำ tag สำหรับเก็บ GitHub repo ไว้ใน Capacities โดยอ่านทั้งข้อมูลที่ repo นั้นมีอยู่แล้วบน GitHub (topics, primary language) และเนื้อหาใน README แล้วสรุปออกมาเป็นชุด tag ที่ครบและตรงกับตัวโปรเจกต์จริง

เหตุผลที่ใช้ topics ของ GitHub เป็นฐาน: เจ้าของ repo มักตั้ง topics ไว้อย่างตั้งใจแล้วว่า โปรเจกต์นี้เกี่ยวกับอะไร (ภาษา, framework, ประเภทงาน) — การใช้ของเดิมก่อนแม่นยำกว่าการเดาใหม่ทั้งหมด ส่วน README ใช้เสริมเฉพาะจุดที่ topics คนตั้งอาจตกหล่นไป เช่น dependency หรือ framework ที่ใช้จริง แต่ไม่ได้ใส่เป็น topic ไว้

ขั้นตอน:

0. เช็คว่ามีลิงก์ repo หรือ path มาหรือยัง

ถ้าข้อความของผู้ใช้ยังไม่มี GitHub URL (เช่น https://github.com/owner/repo) หรือ path ในเครื่อง ที่ชี้ไปยัง README.md ให้ ถามก่อนเสมอ อย่าเดาหรือค้นหา repo เอง เพราะอาจ tag ผิดโปรเจกต์ ตัวอย่างคำถาม: "มีลิงก์ GitHub repo หรือ path ของโปรเจกต์นี้ในเครื่องไหม จะได้ดึง README มาอ่านให้"

1. ดึงข้อมูล repo

กรณี GitHub URL หรือพิมพ์แค่ owner/repo:

รันสคริปต์ที่ bundle มากับ skill นี้ — มันจัดการ parsing URL, ลอง gh api ก่อน (ได้ rate limit สูงกว่าและใช้ได้กับ private repo ถ้า login ไว้แล้ว) แล้ว fallback เป็น public GitHub API แบบไม่ต้อง auth ให้อัตโนมัติถ้า gh ยังไม่ได้ login:

python3 <base-directory-ของ-skill-นี้>/scripts/fetch_repo.py "<url-หรือ-owner/repo>"

ใช้ path แบบ absolute โดยเอา base directory ของ skill นี้ (ที่ระบบแจ้งไว้ตอนโหลด skill) มาต่อกับ scripts/fetch_repo.py — อย่าพึ่ง relative path เพราะ working directory ตอนรันอาจไม่ใช่โฟลเดอร์ ของ skill นี้

ลองรันตามลำดับ python3pypython จนกว่าจะได้ JSON กลับมาจริง (ไม่ใช่ error พวก "command not found" หรือ "Python was not found; run without arguments to install from the Microsoft Store" ซึ่งเป็น alias เปล่าบน Windows ที่ไม่มี Python ใช้งานจริง — เจอแบบนี้ให้ข้ามไป ลองตัวถัดไปในลำดับทันที) บน Windows ที่ไม่มี python3/python ใช้งานจริง py มักเป็นตัวที่ใช้ได้

ผลลัพธ์เป็น JSON บรรทัดเดียว: {owner, repo, topics, language, description, readme, source, error}

ถ้า error ไม่ใช่ null แปลว่าดึงไม่สำเร็จ — สาเหตุที่พบบ่อยที่สุดคือ repo เป็น private และเครื่องนี้ยังไม่ได้ gh auth login บอกสาเหตุกับผู้ใช้ตรงๆ และแนะนำให้ล็อกอินหรือ วางเนื้อหา README มาให้แทน

Read the full file on GitHub · 164 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 164 lines · 235 tokens per session scan A 126e3b219cac

Subscribe to this mod's changes

github-tag is a skill published in the GitHub repository natthasath/natthasath-marketplace (1 stars, last pushed today), licensed MIT. It adds 235 tokens to every session and 2,561 once invoked, about $0.0012 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

seo-strategy

Audits and improves organic search performance — technical health, site architecture, internal linking, structured data, and the content decisions that determine what can rank. Use this to run an SEO audit, diagnose why pages are not ranking or were deindexed, plan a site's URL and navigation structure, add structured…

cbrock84/headcount · 74 tokens

service-desk

Runs the IT service desk — intake, triage, prioritization, escalation, knowledge, and the metrics that improve service rather than distort it. Use this to set up or fix a service desk, design ticket priority and escalation, reduce repeat contacts, structure a knowledge base, or work out why a desk hitting its targets…

cbrock84/headcount · 73 tokens

youtube-producer

Plans, packages, and scripts long-form video for retention and channel growth — idea selection, titles and thumbnails, script structure, and diagnosing why a video or channel underperforms. Use this for video ideas, packaging, scripting, a retention teardown, or channel strategy — including when someone describes a…

cbrock84/headcount · 86 tokens

support-operations

Designs and runs the support function — channels, queues, routing, staffing, service levels, quality, and the metrics that show whether it is working. Use this to set up or fix support operations, choose channels, size a team, set or renegotiate service levels, reduce cost per contact, diagnose long queues or poor…

cbrock84/headcount · 77 tokens

voice-of-customer

Builds the loop from what customers say to what gets changed — collecting feedback, distinguishing signal from noise, routing it to owners, and closing the loop back to the customer. Use this to set up a feedback program, design or interpret CSAT/NPS, decide what customer feedback deserves action, get product to act…

cbrock84/headcount · 82 tokens

ai-ml-governance

Governs models and AI systems in production — intended use, evaluation, monitoring, human oversight, documentation, and the decision to deploy or retire. Use this before deploying a model or AI feature, when defining evaluation criteria, when a model's behavior has drifted, when assessing AI risk or regulatory…

cbrock84/headcount · 83 tokens