# piebald-ai/claude-code-system-prompts

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/piebald-ai-claude-code-system-prompts).**

4,676 stars · 680 forks · JavaScript · mit

## Links

- GitHub: https://github.com/Piebald-AI/claude-code-system-prompts
- awesome-repositories: https://awesome-repositories.com/repository/piebald-ai-claude-code-system-prompts.md

## Topics

`claude-code` `claude-code-system-prompts` `system-prompts`

## Description

This repository catalogs the system prompts used by Claude Code, organizing them into browsable categories with token-count estimates for each prompt. It functions as both a prompt library browser and a revision tracker, surfacing the size and complexity of individual prompts to support auditing and prompt engineering decisions.

The project records prompt revisions by parsing git diffs between versions, capturing additions, removals, and token-count changes in a structured changelog. Token counts are approximated from character length using a fixed heuristic ratio, avoiding the need for API calls. Each prompt file includes YAML frontmatter storing category, version, and token estimate, enabling automated browsing and changelog generation. The resulting changelog delta computation provides a clear history of how system prompts evolve over time.

## Tags

### Artificial Intelligence & ML

- [Claude Code Configurations](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/integration-deployment/agent-configuration-tools/claude-code-configurations.md) — A browsable catalog of version-controlled system prompts used by Claude Code with token counts.
- [Heuristic Token Estimators](https://awesome-repositories.com/f/artificial-intelligence-ml/heuristic-token-estimators.md) — Provides heuristic token counts for each prompt without requiring external API calls.
- [Prompt Libraries](https://awesome-repositories.com/f/artificial-intelligence-ml/prompt-libraries.md) — Provides a browsable collection of system prompts organized by category with token statistics.

### Content Management & Publishing

- [Category Browsing](https://awesome-repositories.com/f/content-management-publishing/category-organizations/product-categories/category-browsing.md) — Organizes prompts into navigable categories for efficient browsing by category.

### Development Tools & Productivity

- [Revision Extraction](https://awesome-repositories.com/f/development-tools-productivity/change-tracking/revision-extraction.md) — Records additions, removals, and token count changes across prompt versions in a changelog. ([source](https://cdn.jsdelivr.net/gh/piebald-ai/claude-code-system-prompts@main/README.md))
- [Prompt Version Trackers](https://awesome-repositories.com/f/development-tools-productivity/prompt-information-providers/contextual-prompt-tooltips/prompt-templates/prompt-version-trackers.md) — Tracks prompt revisions and displays additions, removals, and token changes over time.
- [Revision Histories](https://awesome-repositories.com/f/development-tools-productivity/revision-histories.md) — Records additions, removals, and token count changes across prompt versions as a revision history.

### Software Engineering & Architecture

- [Changelogs](https://awesome-repositories.com/f/software-engineering-architecture/changelogs.md) — Computes token count deltas and records them in a structured changelog of prompt revisions.

### System Administration & Monitoring

- [Prompt and Agent Versioning](https://awesome-repositories.com/f/system-administration-monitoring/monitoring-and-observability/observability-platforms/metric-performance-monitors/model-performance-tracking/prompt-and-agent-versioning.md) — Manages and tracks multiple versions of prompts with iteration histories and change logs.
- [Audit Logging Systems](https://awesome-repositories.com/f/system-administration-monitoring/audit-logging-systems.md) — Captures and analyzes historical records of prompt revisions for auditing prompt evolution.

### Part of an Awesome List

- [Prompt Engineering Tools](https://awesome-repositories.com/f/awesome-lists/ai/prompt-engineering-tools.md) — Displays token sizes for individual prompts to help audit complexity and prompt engineering decisions.
