code2prompt: Powerful command-line tool that simplifies the process of providing context to Large Language Models

by raphaelmansuy · LLM Plugin · ★ 887

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

How to install code2prompt

pip install code2prompt
pipx install code2prompt

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

Security audit verdict: SAFE · quality 75/100

None of the 44 rules matched — no credential harvesting, no data exfiltration, no curl-pipe-shell installer. Scanned against 44 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.

clillmpython3tools

Quick Facts

Stars887
Forks58
LanguagePython
CategoryLLM Plugin
LicenseMIT
Quality Score75/100
Open Issues10
Last Updated2026-10-24
Created2024-03-19
Platformscli, python
Est. Tokens~19k

About code2prompt

Code2Prompt Code2Prompt is a powerful command-line tool that generates comprehensive prompts from codebases, designed to streamline interactions between developers and Large Language Models (LLMs) for code analysis, documentation, and improvement tasks.

Compatible Skills

These tools work well together with code2prompt for enhanced workflows:

  • OpenAdapt — semantic(0.21)+complementary+same_lang+similar_pop+shared_platform (52%)
  • code-index-mcp — semantic(0.20)+complementary+same_lang+similar_pop+shared_platform (52%)
  • SimplerLLM — semantic(0.15)+complementary+same_lang+similar_pop+shared_platform (50%)
  • KiCAD-MCP-Server — semantic(0.15)+complementary+same_lang+similar_pop+shared_platform (50%)

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.

  • harbor by av · ⭐ 3.3k

    Stop configuring your AI stack. Start using it. One command brings a complete pre-wired LLM stack with hundred

  • mcpm.sh by pathintegral-institute · ⭐ 1.0k

    CLI MCP package manager & registry for all platforms and all clients. Search & configure MCP servers. Advanced

  • blade-code by echoVic · ⭐ 181

    AI-powered CLI coding agent with 20+ built-in tools, MCP support, and multi-model providers

  • DevDocs by cyberagiinc · ⭐ 2.1k

    Completely free, private, UI based Tech Documentation MCP server. Designed for coders and software developers

  • mcp by MicrosoftDocs · ⭐ 2.0k

    Official Microsoft Learn MCP Server and CLI tool – powering LLMs and AI agents with real-time, trusted Microso

  • awesome-ai-sdks by e2b-dev · ⭐ 1.2k

    A database of SDKs, frameworks, libraries, and tools for creating, monitoring, debugging and deploying autonom

More LLM Plugin Tools

Explore other popular llm plugin tools:

View all LLM Plugin tools →

Popular Python Agent Tools

How this security grade is produced

Grades come from a rule-based scan built on the SlowMist agent-security taxonomy: 44 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