code2prompt

A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token counting.

mufeedvh/code2prompt

View on GitHub ↗

A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token counting.

code2prompt grew +0.4% in the last 30 days, ranks 51st of 1,082 in Prompting & Scaffolding, actively maintained, last commit 3 days ago.

Star trajectory

141 days tracked
2026-06-217.8k stars today2026-11-10
Momentum

+0.4% in 30d, below the Prompting & Scaffolding median of +1.5%.

Maintenance

Last commit 3 days ago, fresher than the median of 31d.

How it compares in Prompting & Scaffolding

code2prompt
7.8k
stars
+0.4% 30d
commit 3 days ago
Prompting & Scaffolding median
324
stars
+1.5% 30d
commit ~31d ago
Leader · ponytail
188k
stars
+17.0% 30d
commit 11 days ago

Ranked 51st of 1,082 by stars.

Ranked by shared tags, then keywords, then stars
  1. Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.

    +27.3k (+17%) in 30d · Committed 11d ago · JavaScript · MIT

    Shares Prompting & Scaffolding

  2. f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source…

    +4.3k (+2.5%) in 30d · Committed today · MDX · Other license

    Shares Prompting & Scaffolding

  3. 21 Lessons, Get Started Building with Generative AI

    +2.1k (+1.7%) in 30d · Committed 5d ago · Jupyter Notebook · MIT

    Shares Prompting & Scaffolding

  4. 🪨 why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens…

    +7.8k (+7.0%) in 30d · Committed yesterday · Go · Apache-2.0

    Shares Prompting & Scaffolding

  5. 🐙 Guides, papers, lessons, notebooks and resources for prompt engineering, context engineering, RAG, and AI…

    +941 (+1.2%) in 30d · Committed 243d ago · MDX · MIT

    Shares Prompting & Scaffolding

  6. Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding…

    +4.3k (+5.7%) in 30d · Committed today · Python · Apache-2.0

    Shares Prompting & Scaffolding

  7. Leaked system prompts of ChatGPT, Claude, Gemini and more. The hidden system prompt of every popular chatbot…

    +1.7k (+2.5%) in 30d · Committed today · Python · CC0-1.0

    Shares Prompting & Scaffolding

  8. Agent skill that removes signs of AI-generated writing from text

    +11.8k (+21%) in 30d · Committed today · Python · MIT

    Shares Prompting & Scaffolding

  9. A skill to stop your coding agent from burying the answer. ADHD-friendly output.

    +4.3k (+7.7%) in 30d · Committed 21d ago · Python · MIT

    Shares Prompting & Scaffolding

  10. LEAKED SYSTEM PROMPTS FOR CHATGPT, CLAUDE, GEMINI, GROK, PERPLEXITY, CURSOR, LOVABLE, REPLIT, AND MORE! - AI…

    +844 (+1.7%) in 30d · Committed today · AGPL-3.0

    Shares Prompting & Scaffolding

Language
Rust
License
MIT License
Contributors
43
Forks
458
Watchers
43
Open issues
5
Releases
6
Created
2024-03-09
Stars this week
+9

You've seen where code2prompt stands today.

Get the moves before everyone else: the 5 Prompting & Scaffolding repos climbing fastest, every Tuesday.

Free weekly digest. Double opt-in, unsubscribe anytime.

Maintain code2prompt?

Claim this page to add your own call-to-action.

Claim this page