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

by mufeedvh · LLM Plugin · ★ 7.7k

Last updated: · Indexed by AgentSkillsHub · Auto-synced every 8h

How to install code2prompt

cargo install code2prompt
cargo install --features wayland code2prompt

Taken from the project's README on GitHub. Check the security audit before running it.

Security audit verdict: SAFE · quality 65/100

None of the 42 rules matched — no credential harvesting, no data exfiltration, no curl-pipe-shell installer. Scanned against 42 published rules built on the SlowMist agent-security taxonomy, refreshed every 8 hours. Full audit →

The quality score combines nine heuristic checks of the repo and its README: completeness, clarity, specificity, examples, structure, agent readiness, step-by-step content, instruction quality and security notes. It rates how well the project explains itself to an agent, not the code.

aichatgptclaudeclicommand-linecommand-line-toolgptllmpromptprompt-engineering

Quick Facts

Stars7,749
Forks458
LanguageRust
CategoryLLM Plugin
LicenseMIT
Quality Score65/100
Open Issues20
Last Updated2026-11-06
Created2024-03-09
Platformsclaude-code, cli, rust
Est. Tokens~23k

About code2prompt

Convert your codebase into a single LLM prompt. Website • Documentation • Discord

Compatible Skills

These tools work well together with code2prompt for enhanced workflows:

  • rtk — semantic(0.25)+rare_topics+same_lang+similar_pop+shared_platform (48%)
  • plandex — semantic(0.17)+complementary+rare_topics+similar_pop+shared_platform (46%)

code2prompt alternative? Top 6 similar tools

Looking for a code2prompt alternative? If you're comparing code2prompt with other llm plugin tools, these 6 projects are the closest alternatives on Agent Skills Hub — ranked by topic overlap, star count, and community traction.

  • aide by nicepkg · ⭐ 2.7k

    Conquer Any Code in VSCode: One-Click Comments, Conversions, UI-to-Code, and AI Batch Processing of Files! 在 V

  • zcf by UfoMiao · ⭐ 6.1k

    Zero-Config Code Flow for Claude code & Codex

  • awesome-gpt-prompt-engineering by snwfdhmp · ⭐ 1.6k

    A curated list of awesome resources, tools, and other shiny things for LLM prompt engineering.

  • repomix by yamadashy · ⭐ 29.2k

    📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file. Perfect for w

  • ai-guide by liyupi · ⭐ 21.5k

    程序员鱼皮的 AI 资源大全 + Vibe Coding 零基础教程,分享 OpenClaw 保姆级教程、大模型玩法(DeepSeek / GPT / Gemini / Claude / GLM)、最新 AI 资讯、Pr

  • aichat by sigoden · ⭐ 10.5k

    All-in-one LLM CLI tool featuring Shell Assistant, Chat-REPL, RAG, AI Tools & Agents, with access to OpenAI, C

More LLM Plugin Tools

Explore other popular llm plugin tools:

View all LLM Plugin tools →

Popular Rust Agent Tools

How this security grade is produced

Grades come from a rule-based scan built on the SlowMist agent-security taxonomy: 42 published rules, covering credential harvesting, data exfiltration, curl | sh installers and more. It is a first-layer scan, not a manual audit — we say so rather than overstate it.

The scale of the problem is documented independently: Liu et al. (2026), in a study of 31,132 agent skills, report that 26.1% contain security vulnerabilities. Our own full-catalog census is published as a citable open dataset.

Sources & who's responsible:

View on GitHub → Browse LLM Plugin tools