Skip to main content

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


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.1.tar.gz (12.7 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.1-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: prompts_of_codebase-0.1.1.tar.gz
  • Upload date:
  • Size: 12.7 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.1.tar.gz
Algorithm Hash digest
SHA256 6341e242bd2f942abf0fad5a818552b3a69b47e1be1e4dd9a6af33d923dcd11f
MD5 6111bbc8a6b7c545adcefef3545ae3c1
BLAKE2b-256 12b0dfe561ab1b7edb8099b114074c65b5c75e3974d0398b79ef21d5f4743580

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for prompts_of_codebase-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d60627dfbb2c0f42d046d37d99b86c0e2d63f8bd6e240dce32965aed17af97e7
MD5 f2a3e8a8f10a9eb2c2e764bca9e3df71
BLAKE2b-256 514c39ab8ef99b5e5caf84c21bdf68bc644c2a916df82dc19532fa3720273ec5

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