Skip to main content

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

Project description

aipoc — Prompts of Codebase

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

Install

pip install aipoc

Usage

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

Example output

   aipoc — 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

aipoc-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.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: aipoc-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 aipoc-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a7ba139a8764c5033eb1e874a9189191ef8ea2b4d088073a00dd1e166a9ca34b
MD5 7d7c7adacbad8f9550c9125e9dc264f6
BLAKE2b-256 c600af878833dc4711d16b16c7a0e87f1f3b602d9e61bb9a94753a6741b91706

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aipoc-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 aipoc-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1c489c1332fba854521c0f4eb05fc34993206782da3005eb1004939cd29be116
MD5 e4ec5b860e59b8c421f7c981c8705153
BLAKE2b-256 d8166940b9962d10d6e8b5592a4b3315700b2843008d27b3dc0a7b7b85909378

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