Skip to content

iCross/claude-code-cli-prompts

Repository files navigation

🔍 Claude Code CLI Prompts Explorer

This project documents internal prompts discovered in the @anthropic-ai/claude-code CLI tool (v0.2.74).

These prompts power commands such as /compact, /explain, and others in Claude Code — Anthropic's AI-powered code assistant.

This repository contains extracted prompt texts. It does not include any part of Claude Code’s source code.

Note

This repository is intended strictly for educational and research purposes. No commercial use is intended.


📂 Available Languages

The English version is the original source extracted from the CLI tool.
All other language files are LLM-generated translations to help developers understand the prompts more easily in their native languages.
These translations may be refined over time.

Language File name
Arabic (العربية) prompts.ar.md
German (Deutsch) prompts.de.md
English (English) prompts.en.md
Spanish (Español) prompts.es.md
French (Français) prompts.fr.md
Hindi (हिन्दी) prompts.hi.md
Indonesian (Bahasa Indonesia) prompts.id.md
Italian (Italiano) prompts.it.md
Japanese (日本語) prompts.ja.md
Korean (한국어) prompts.ko.md
Portuguese (Português) prompts.pt.md
Russian (Русский) prompts.ru.md
Tamil (தமிழ்) prompts.ta.md
Turkish (Türkçe) prompts.tr.md
Chinese (Simplified, 简体中文) prompts.zh-CN.md
Chinese (Traditional, 繁體中文) prompts.zh-TW.md

📌 Why this matters

Most users interact with Claude Code through its CLI or GUI, unaware of the system prompts running behind the scenes. This repository reveals those internal messages, providing:

  • Insight into how Claude handles code formatting, explanation, and editing
  • Patterns in prompt engineering used by Anthropic
  • Reference for developers building similar tools

Tip

If you're working on prompt tooling or building LLM-based code assistants, studying these patterns may offer practical inspiration.

This may be useful for:

  • Prompt engineers
  • LLM researchers
  • Open-source tool builders

🌐 Related Links


📜 Legal Notice

This repository contains prompt texts extracted from the CLI tool for research and educational purposes only.

Important

All rights to the original prompts belong to Anthropic.
This project is not affiliated with or endorsed by Anthropic.

No proprietary source code is redistributed — only human-readable prompt messages are documented and translated.


📘 License

This project is licensed under the MIT License.

Note

Some prompt texts in this repository originate from the @anthropic-ai/claude-code CLI tool. These are used under fair use for documentation and analytical commentary. All rights remain with Anthropic.


🙋‍♂️ About the Author

Hi, I’m Lukas, a software engineer who loves the command line and exploring practical automation workflows with real-world impact.


⭐️ Support This Project

If you found this project helpful, please consider starring the repo.

About

Prompts extracted from Anthropic’s Claude Code CLI — organized and translated for research.

Topics

Resources

License

Stars

Watchers

Forks

Contributors