Skip to main content

Prompts of Codebase — run `poc` in any project to see how many AI prompts built it

Project description

poc — Prompts of Codebase

Like loc counts lines of code, poc counts how many AI prompts built your codebase.

Install

pip install prompts-of-codebase

Then run poc in any project directory. That's it.

Usage

poc                    # current directory
poc /path/to/project   # specific project
poc --all              # all projects ranked by prompt count
poc --deep             # show all chat sessions, not just top 10
poc --json             # machine-readable output

Example output

   poc — Prompts of Codebase
  /Users/sam/my-project

  ├───────────────────────────────────────────────────┤
  │ Tool             │   Prompts│  Sessions│ Details  │
  ├───────────────────────────────────────────────────┤
  │ Claude Code      │      2929│      1252│ history  │
  │ Codex CLI        │        88│        56│          │
  ├───────────────────────────────────────────────────┤
  │ TOTAL            │      3017│          │          │
  ├───────────────────────────────────────────────────┤

  Recent chats

    1. Codex CLI   Feb 10    11p  Hey, can you use exaMCP ?
    2. Claude Code Jan 22    14p  build the auth flow
    3. Claude Code Jan 21     8p  add dark mode
   ...

  ... and 553 more. Run with --deep to see all.

Supported tools

Tool Data source
Claude Code ~/.claude/history.jsonl + session files
Codex CLI ~/.codex/sessions/ JSONL files
Cursor ~/Library/.../Cursor/User/workspaceStorage/ SQLite

Zero external dependencies — uses only Python stdlib.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

prompts_of_codebase-0.1.2.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

prompts_of_codebase-0.1.2-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file prompts_of_codebase-0.1.2.tar.gz.

File metadata

  • Download URL: prompts_of_codebase-0.1.2.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for prompts_of_codebase-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3870ee6b0bdafdf0864e55a9a776585e78cc455a0876fb9a63537a54a2daf2ae
MD5 685af29160f6c2c1c31fdb88c8ebe507
BLAKE2b-256 305d5580603a97cfdae7da89b316d6387f2d0cf0529dd099d5eda3d913adb264

See more details on using hashes here.

File details

Details for the file prompts_of_codebase-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for prompts_of_codebase-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5b993424a7bfa1d781f2cb43ea46f2efca36a74ba243fe5f18551861bec6bfe9
MD5 ff7f968151bed262f38b95d4143fcfa1
BLAKE2b-256 7c479f127c158472b7dfe0edb519321fee6f1cea6ccab67f275763d7302672e0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page