Prompts of Codebase — count how many AI prompts built your project
Project description
poc — Prompts of Codebase
Like loc counts lines of code, poc counts how many AI prompts built your codebase.
pip install poc
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
Release history Release notifications | RSS feed
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.0.tar.gz
(12.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file prompts_of_codebase-0.1.0.tar.gz.
File metadata
- Download URL: prompts_of_codebase-0.1.0.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
892a840ec56625b6574f2cce95cce29210f655bdc60a4dd9413202ae4db511aa
|
|
| MD5 |
9912d022aef715d36441fd7a2186eeaa
|
|
| BLAKE2b-256 |
3672dbf8217efded1be1e174e49278d32832c9def88d0330846edefc5c4b6688
|
File details
Details for the file prompts_of_codebase-0.1.0-py3-none-any.whl.
File metadata
- Download URL: prompts_of_codebase-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a0787046c7e21e3af72ac6a94734ca135d04583c1d1a8a8b1dac09814cd7fce
|
|
| MD5 |
1bb68fcb8aa4c6bfa8cc1a39585ffe28
|
|
| BLAKE2b-256 |
38119cdfe8fa8a0d11c7c72b4739d522c65cd23fc0dca654b8cd0b0929a0b06f
|