building-github-index-v2

building-github-index-v2 is a skill for Claude Code, Codex from oaustegard/claude-skills. It costs 32 tokens per session (1,029 once invoked), scanned A, original, MIT.

An older tool for creating searchable Markdown indexes of GitHub repositories, which are online project folders for code and documentation. It is marked deprecated, meaning it has been replaced and should not be chosen for new work.

In plain words
What is it for?
Use it only when an existing setup still refers to this older implementation; use building-github-index for new repository indexes.
Why use it?
It is slower and uses more GitHub API requests because it downloads files one by one. A newer building-github-index tool is documented as its replacement.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it only when an existing setup still refers to this older implementation; use building-github-index for new repository indexes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oaustegard/claude-skills/building-github-index-v2
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 oaustegard/claude-skills --skill building-github-index-v2
Clone the repo
git clone --depth 1 https://github.com/oaustegard/claude-skills

Made for: Claude Code, Codex.

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 building-github-index-v2

README.md
[![agentmods](https://agentmods.dev/badge/skills/oaustegard/claude-skills/building-github-index-v2/github.svg)](https://agentmods.dev/skills/oaustegard/claude-skills/building-github-index-v2)
Your own site
<a href="https://agentmods.dev/skills/oaustegard/claude-skills/building-github-index-v2"><img src="https://agentmods.dev/badge/skills/oaustegard/claude-skills/building-github-index-v2/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 building-github-index-v2

Your own site · 80×15
<a href="https://agentmods.dev/skills/oaustegard/claude-skills/building-github-index-v2"><img src="https://agentmods.dev/badge/skills/oaustegard/claude-skills/building-github-index-v2.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,029 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 104
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 109
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
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.00032 $0.01029
Opus 5 $0.00016 $0.00515
Sonnet 5 $0.00006 $0.00206
Haiku 4.5 $0.00003 $0.00103

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

Security

Grade A, and why

building-github-index-v2 scanned grade A with 1 finding 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 10d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/github_index.py, scripts/pk_index.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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

{API curl commands}
building-github-index-v2/SKILL.md · 138 lines

How it starts

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

Building GitHub Index (v2 — DEPRECATED)

⚠️ DEPRECATED: Use the building-github-index skill instead.

Despite the "-v2" directory name, this is the older implementation. It fetches the repo tree and then every file individually through api.github.com, which is slow and burns per-file rate limit. building-github-index supersedes it with a single-request tarball download that processes files locally.

This directory is retained only so existing references resolve. It receives no further updates.


Legacy Documentation

Create markdown indexes of GitHub repositories optimized for Claude project knowledge. Indexes enable retrieval via GitHub API with semantic descriptions for effective matching.

Quick Start

# Documentation repos (markdown/notebooks)
python scripts/github_index.py owner/repo -o index.md

# Code repos (extract symbols via tree-sitter)
python scripts/github_index.py owner/repo --code-symbols -o index.md

# Multiple repos combined
python scripts/github_index.py owner/repo1 owner/repo2 -o combined.md

Script Options

Flag Description
-o, --output Output file (default: github_index.md)
--token GitHub PAT; also reads GITHUB_TOKEN env
--include-patterns Only index matching globs: "docs/**" "src/**"
--exclude-patterns Skip matching globs: "test/**"
--max-files Cap files per repo (default: 200)
--skip-fetch Tree only, no content fetch (fast, filename-only descriptions)
--code-symbols Include code files, extract function/class names via tree-sitter

Description Extraction Priority

  1. YAML frontmatter - title: and description: fields
  2. Markdown headings - First h1/h2 as title, subsequent as topics
  3. Notebook cells - First markdown cell heading
  4. Code symbols - Public function/class names (with --code-symbols)
  5. Path-derived - Convert filename to words (fallback)

When Descriptions Fail

Some repos have stub files (links to external docs, empty readmes). In these cases:

Read the full file on GitHub · 138 lines

Files

What ships with it

4 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. 10d ago First seen · 138 lines · 32 tokens per session scan A be020db5dd86

Subscribe to this mod's changes

building-github-index-v2 is a skill published in the GitHub repository oaustegard/claude-skills (148 stars, last pushed today), licensed MIT. It adds 32 tokens to every session and 1,029 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

superdesign

Design or redesign frontend UI, presentations, and graphics on the Superdesign canvas with a choice of leading AI models. Use whenever the user wants to design a page, feature, flow, slide deck, or brand-new product; improve or reproduce existing UI; compare design results across top models; explore visual variants…

superdesigndev/superdesign-skill · 115 tokens

Linear

Managing Linear issues, projects, and teams. Use when working with Linear tasks, creating issues, updating status, querying projects, or managing team workflows.

wrsmith108/linear-claude-skill · 32 tokens

chanlun-engine-skill

A Chinese-language stock-analysis skill based on Chan theory, a method for interpreting price-chart structures such as turning points and trading ranges.

adsorgcn/chanlun-engine-skill · 128 tokens

youtube-summary

Summarize a YouTube video into structured notes — TL;DR, key takeaways, chapter-by-chapter breakdown, and reference links. Use when the user shares a YouTube URL (or invokes /youtube-summary ) and wants a summary, takeaways, transcript notes, or a write-up of a talk, lecture, or tutorial. Fetches the transcript and…

ParthGanatra/agent-skills · 137 tokens

plangate

Use for any non-trivial task with 2+ open decisions/tradeoffs OR multiple implementation steps — instead of deliberating one question at a time in chat, write a structured plan to a file and let the user review it inline in vim with > Q: / > A: blockquote markers, then revise until agreed before touching any code.…

ParthGanatra/agent-skills · 131 tokens

coinmarketcap

Expert assistant for CoinMarketCap Pro API — price quotes, listings, historical OHLCV, market metrics, Fear & Greed Index, CMC100/CMC20 indices, exchange data, DEX data, airdrops, trending, community sentiment. Covers 10+ endpoint categories across REST + MCP + x402 pay-per-call modes. Use when the user wants: current…

Vo1ganin/crypto-claude-skills · 183 tokens