ingest-github

ingest-github is a skill for Claude Code from mycelium-hq/ai-brain-starter. It costs 116 tokens per session (1,523 once invoked), scanned A, original, MIT.

A connector that copies recent activity from a GitHub repository into a local knowledge vault. The activity includes merged pull requests, issues, and commits.

In plain words
What is it for?
Use it to import a repository's recent history, refresh external project information, or make GitHub activity searchable alongside your other files.
Why use it?
Repository history can otherwise be scattered across GitHub and difficult to search with the rest of your notes. It makes recent project activity available to the knowledge graph.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code.

Part of the ai-brain-starter plugin — 38 skills, 17 commands, 3 agents, 1 hook shipped together

Good fit Use it to import a repository's recent history, refresh external project information, or make GitHub activity searchable alongside your other files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mycelium-hq/ai-brain-starter/ingest-github
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 mycelium-hq/ai-brain-starter --skill ingest-github
Clone the repo
git clone --depth 1 https://github.com/mycelium-hq/ai-brain-starter

Made for: Claude Code.

Or install ai-brain-starter, the plugin that ships this one along with the rest of its 38 skills, 17 commands, 3 agents, 1 hook.

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 ingest-github

README.md
[![agentmods](https://agentmods.dev/badge/skills/mycelium-hq/ai-brain-starter/ingest-github.svg)](https://agentmods.dev/skills/mycelium-hq/ai-brain-starter/ingest-github)
Your own site
<a href="https://agentmods.dev/skills/mycelium-hq/ai-brain-starter/ingest-github"><img src="https://agentmods.dev/badge/skills/mycelium-hq/ai-brain-starter/ingest-github.svg" alt="Measured on agentmods" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,523 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00116 $0.01523
Opus 5 $0.00058 $0.00762
Sonnet 5 $0.00023 $0.00305
Haiku 4.5 $0.00012 $0.00152

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

Security

Grade A, and why

ingest-github 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 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (ingest.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.

skills/ingest-github/SKILL.md · 105 lines

How it starts

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

ingest-github: GitHub-to-vault connector

{SKILL_DIR} = this skill's own folder (locally: the directory this SKILL.md lives in; a served brain substitutes the real absolute path before you read this). If a path does not resolve, name the missing file and stop — never guess another location.

Ingests recent GitHub repository activity into the vault as markdown the graphify pipeline can read and the rest of the AI Brain Starter substrate (decision log, session-close cascade, hooks) can act on.

This is the second connector in the ingest-* pattern. Adding the next external source means writing a new normalizer, not a new architecture.

When to use

  • User says /ingest-github <owner/repo> (with or without --days N)
  • User asks to capture, sync, ingest, or pull a GitHub repository into the vault
  • User mentions wanting recent PRs, issues, or commits available to the knowledge graph

Do NOT use for:

  • Opening pull requests or creating issues (use the GitHub MCP write tools or gh CLI directly)
  • One-off PR diff reads (use gh pr view or the GitHub MCP)
  • Non-GitHub sources (Slack, Notion, email get their own connectors)

How it works

  1. Parse the <owner>/<repo> argument, normalize to a slug (owner-repo)
  2. Fetch merged PRs from the last N days (default 7) via the GitHub MCP list_pull_requests tool (state=closed, filter to merged)
  3. Fetch issues from the last N days via list_issues (any state, since the date window)
  4. Fetch commits from the last N days on the default branch via list_commits
  5. For each PR with a body, optionally pull review comments and inline conversation
  6. Normalize all items chronologically into one markdown body, grouped by item type
  7. Write to External Inputs/GitHub/<owner-repo>/<YYYY-MM-DD>.md
  8. Print summary: file path, PR count, issue count, commit count

Voice rules

  • No em dashes (use commas, colons, periods, parentheses)
  • No exclamation marks
  • Direct, no fluff
  • Author logins quoted verbatim (the GitHub login, not the display name)
  • Body excerpts truncated at 800 characters per item to keep the vault file readable

Read the full file on GitHub · 105 lines

Files

What ships with it

1 file 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. 7d ago First seen · 105 lines · 116 tokens per session scan A c30a189ad05a

Subscribe to this mod's changes

ingest-github is a skill published in the GitHub repository mycelium-hq/ai-brain-starter (36 stars, last pushed yesterday), licensed MIT. It adds 116 tokens to every session and 1,523 once invoked, about $0.0006 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

flow

Personal task and agent-session manager. CLI binary is flow (assumed on PATH) and stores metadata in /.flow/flow.db (SQLite). Use this skill when the user asks about their work, tasks, or projects in any natural phrasing — including but not limited to: "what's left", "what's remaining", "what's pending", "what do I…

Facets-cloud/flow · 316 tokens

daily-brief

Compose a morning briefing for the user by pulling today's calendar, open tasks, and relevant memory, then delivering a short prioritized summary over the primary chat channel. Use when the user asks for a daily brief, "what's on today", a standup, or sets up a scheduled morning digest.

TheSmokeDev/taskchad-os · 63 tokens

claudeai-sync

One-command incremental sync of a claude.ai WEB account into the Obsidian vault — pull only new/changed chats, fold them in as notes (idempotent, never overwrites curated ones), extract artifacts as first-class notes, concept-link the new artifacts, refresh the RAG index + dashboard. Trigger on "/claudeai-sync", "pull…

tonydzi/second-brain-starter-kit · 89 tokens

gmail

Check / search / digest Gmail on demand across multiple mailboxes (personal / assistants / work) via the owner's own OAuth connector — no browser needed, 0 tokens for the raw pull. Trigger on "/gmail", "check mail", "any important emails", "find the email about ", "mail digest". Read-only by default; drafting/sending…

tonydzi/second-brain-starter-kit · 81 tokens

inbox

Check this machine's cross-machine mailbox — messages Claude on ANOTHER computer left for Claude here, via a file-synced bus folder (no couriers). Trigger on "/inbox", "check inbox", "messages from the other machine". Also the way to SEND a message to Claude on another machine. A session-start hook auto-shows new…

tonydzi/second-brain-starter-kit · 86 tokens

chatgpt-sync

On-demand pull of FRESH ChatGPT conversations into the Obsidian vault — the manual twin of the scheduled nightly sync. Incremental + idempotent (keyed by conversationid; never clobbers concept-enriched notes, never duplicates). Both entry points call the SAME orchestrator script (single source of truth). Trigger on…

tonydzi/second-brain-starter-kit · 91 tokens