git-feed: Instructions file for Claude Code

CLAUDE.md

git-feed CLAUDE.md is an instructions file for Claude Code from zveinn/git-feed. It costs 5,737 tokens per session, scanned A, original, MIT.

Repository instructions for a Go command-line program that monitors GitHub pull requests and issues. It can use the GitHub API or a local database and displays activity in the terminal.

In plain words
What is it for?
Building the binary, viewing recent GitHub work, using offline data, showing links, and enabling detailed API logging.
Why use it?
They explain how to build and run the program, choose its data source, and inspect activity for a selected time period.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is zveinn/git-feed's own configuration. It tells Claude Code how to work on git-feed itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything git-feed configures →

Reuse

Borrowing it

Nothing to install: this file belongs to zveinn/git-feed. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/zveinn/git-feed/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/zveinn/git-feed

Made for: Claude Code.

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 git-feed CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/zveinn/git-feed/claude-md/github.svg)](https://agentmods.dev/instructions/zveinn/git-feed/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/zveinn/git-feed/claude-md"><img src="https://agentmods.dev/badge/instructions/zveinn/git-feed/claude-md/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 git-feed CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/zveinn/git-feed/claude-md"><img src="https://agentmods.dev/badge/instructions/zveinn/git-feed/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,737 This file is loaded in full into every session.
When invoked 5,737 The same file — it is already loaded in full.
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.05737 $0.05737
Opus 5.5 $0.02295 $0.02295
Sonnet 5.5 $0.01147 $0.01147
Haiku 4.5 $0.00574 $0.00574

Measured 2mo ago against content hash 3c91b390837c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

git-feed CLAUDE.md 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 2mo ago.

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.

CLAUDE.md · 399 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

GitHub Feed is a Go CLI tool for monitoring GitHub pull requests and issues across repositories. It tracks contributions, reviews, and assignments with colorized output and real-time progress visualization.

The tool is also called "GitAI" in the README (branding name), but the binary is github-feed.

Build & Run

# Build the binary
go build -o github-feed .

# Run directly (fetches from GitHub API)
./github-feed

# Run with flags
./github-feed --time 3h        # Show items from last 3 hours
./github-feed --time 2d        # Show items from last 2 days
./github-feed --time 3w        # Show items from last 3 weeks
./github-feed --time 6m        # Show items from last 6 months (default: 1m)
./github-feed --time 1y        # Show items from last year
./github-feed --debug          # Show detailed API logging instead of progress bar
./github-feed --local          # Use local database instead of GitHub API (offline mode)
./github-feed --links          # Show hyperlinks underneath each PR/issue
./github-feed --ll             # Shortcut for --local --links (offline mode with links)
./github-feed --clean          # Delete and recreate the database cache
./github-feed --allowed-repos="owner/repo1,owner/repo2"  # Filter to specific repos

Configuration

The tool requires a GitHub Personal Access Token with repo and read:org scopes (not needed in --local mode). Configuration is loaded from:

  1. Environment variables: GITHUB_TOKEN or GITHUB_ACTIVITY_TOKEN, and GITHUB_USERNAME or GITHUB_USER
  2. Config file at ~/.github-feed/.env (automatically created on first run)

Database location: ~/.github-feed/github.db (automatically created on first run)

First Run: The tool automatically creates ~/.github-feed/ directory with:

  • .env file with template for credentials (permissions: 0600)
  • github.db database for caching GitHub data (permissions: 0666)
  • Directory permissions: 0755

Read the full file on GitHub · 399 lines

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. 2mo ago First seen · 399 lines · 5,737 tokens per session scan A 3c91b390837c

Subscribe to this mod's changes

git-feed CLAUDE.md is an instructions file published in the GitHub repository zveinn/git-feed (10 stars, last pushed 4mo ago), licensed MIT. It adds 5,737 tokens to every session, about $0.0229 per session on Opus 5.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

git-feed CLAUDE.md compared with instructions from other repositories

git-feed CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
git-feed CLAUDE.mdzveinn/git-feedInstructions file104mo agoMITA5,737Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode