Skip to main content

Number of Prompts — like loc counts lines of code, numofp counts how many AI prompts built your codebase

Project description

numofp — Number of Prompts

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

Install

pip install numofp

Usage

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

Example output

   numofp — Number of Prompts
  /Users/you/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
   ...

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

numofp-0.1.0.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

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

numofp-0.1.0-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file numofp-0.1.0.tar.gz.

File metadata

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

File hashes

Hashes for numofp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 29891bc515e965f7711077b41291de89d99f3c785bb1616a97203ab8309e6fa5
MD5 ec3bc5263459a765ca0ce8370e81c505
BLAKE2b-256 5c658ccc2d436e53924ede7375a561b3f3328cfe0920c6e21d16d36ec07c3f98

See more details on using hashes here.

File details

Details for the file numofp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: numofp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for numofp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef491488b25142d314973ffc08b861b94c00248c6ee0a71358a8f42cd580918d
MD5 7e6e6b76eccaf1f49a1c6d52800c9e4c
BLAKE2b-256 72c38122bcf27dec263501c25bc06a96ede238a9fadbb5d75be43472599d497c

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