Jenoyrex

Ctx Receipt — AI skill for Claude Code

AI community

See what your AI coding agent loads into context before you type a word.

How to install Ctx Receipt

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Jenoyrex/ctx-receipt and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Ctx Receipt does

See what your AI coding agent loads into context before you type a word. A token receipt for your rules files, skills, and MCP servers.

Alternatives in AI

  • Rulesync — by dyoshikawa - A Node.js CLI tool that automatically generates configs (rules, ignore files, MCP servers, com 909 ★
  • HarnessKit — More than a skill manager — manage skills, MCP servers, plugins, hooks, CLIs, configs, memory & rules across e 416 ★
  • Everything AI Coding — 聚合精选编程 AI 扩展资源:MCP Servers、Skills、Rules、Prompts,周更索引 + 一键安装 108 ★

README

ctx-receipt

[![CI](https://github.com/Jenoyrex/ctx-receipt/actions/workflows/ci.yml/badge.svg)](https://github.com/Jenoyrex/ctx-receipt/actions/workflows/ci.yml) [![npm](https://img.shields.io/npm/v/ctx-receipt)](https://www.npmjs.com/package/ctx-receipt) [![Node.js](https://img.shields.io/node/v/ctx-receipt)](https://nodejs.org) [![License: MIT](https://img.shields.io/badge/license-MIT-blue)](LICENSE) [![pre-loaded context](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/Jenoyrex/ctx-receipt/badges/ctx-receipt.json)](#live-badge)

See what your AI coding agent loads into context before you type a word. A token receipt for your rules files, skills, and MCP servers.

A receipt card: Claude Code 167, Codex CLI 41, Cursor 40, total 248 tokens always loaded, grade A

Coding agents (Claude Code, Codex CLI, Cursor, Gemini CLI) pre-load instruction files, skill descriptions, and MCP tool definitions before your first prompt. If you use several agents and several MCP servers, nothing shows you what that costs in one place. `ctx-receipt` scans your project and your home config, finds what each agent would load, and prints a receipt.

All token counts are **estimates**, made offline with the `o200k_base` tokenizer. Each agent's own tokenizer gives different numbers. See [How we count](docs/how-we-count.md).

**Why it is useful**

  • One view across agents. Claude Code, Codex CLI, Cursor, and Gemini CLI side by side.
  • Works before you start a session, and in CI, so a growing CLAUDE.md or a new MCP server shows up in a pull request instead of in a slow, forgetful session.
  • Counts everything that pre-loads: rules files and their imports, skill listings, custom agents, auto memory, and MCP tools, each split into what is always loaded and what loads only on demand.
  • Checked against reality. We compared it with Claude Code's own /context on a real project;