vibe-log-cli CLAUDE.md

vibe-log-cli CLAUDE.md is an instructions file for coding agents from vibe-log/vibe-log-cli. It costs 3,738 tokens per session, scanned B, original, MIT.

Project instructions for vibe-log-cli, a TypeScript command-line program that tracks and analyzes developer work sessions from Claude Code. They describe its architecture, technologies, directories, and core components.

In plain words
What is it for?
Use them when developing commands, API communication, authentication, SQLite storage, configuration, terminal output, real-time events, tests, or the TypeScript build and packaging setup.
Why use it?
They give an agent the project context needed to make consistent changes without first reconstructing how the CLI is organized.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/vibe-log/vibe-log-cli/claude-md
Clone the repo
git clone --depth 1 https://github.com/vibe-log/vibe-log-cli

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vibe-log-cli CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/vibe-log/vibe-log-cli/claude-md.svg)](https://agentmods.dev/instructions/vibe-log/vibe-log-cli/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/vibe-log/vibe-log-cli/claude-md"><img src="https://agentmods.dev/badge/instructions/vibe-log/vibe-log-cli/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,738 This file is loaded in full into every session.
When invoked 3,738 The same file — it is already loaded in full.
Security scan B 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.03738 $0.03738
Opus 5 $0.01869 $0.01869
Sonnet 5 $0.00748 $0.00748
Haiku 4.5 $0.00374 $0.00374

Measured 5d ago against content hash e4c03429f530, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

vibe-log-cli CLAUDE.md scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- **Global Mode**: Hooks installed in `~/.claude/settings.json` apply to all projects
CLAUDE.md · 414 lines

How it starts

The opening of the file, as written. The whole thing — 414 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Claude Code - vibe-log CLI Development Notes

Project Architecture Overview

vibelog-cli is a TypeScript-based CLI application designed to track and analyze developer productivity sessions from Claude Code. It's distributed as an NPX package for cross-platform compatibility.

Key Technologies

  • TypeScript 5.3+ - Type-safe development
  • Commander.js - CLI command parsing and routing
  • Inquirer.js - Interactive terminal UI components
  • Axios - HTTP client for API communication
  • Better-SQLite3 - Fast SQLite database access for Cursor IDE integration
  • Chalk - Terminal string styling
  • Ora - Elegant terminal spinners
  • Conf - Encrypted configuration storage
  • EventSource Polyfill - SSE client for real-time auth
  • Vitest - Modern testing framework
  • tsup - Zero-config TypeScript bundler

Core Directory Structure

vibelog-cli/
├── bin/              # NPX entry point
├── dist/             # Compiled JavaScript output
├── src/
│   ├── commands/     # CLI command implementations
│   ├── lib/          # Core business logic
│   │   ├── api-client.ts        # Secure API communication
│   │   ├── auth/                # Authentication modules
│   │   ├── readers/             # Session data readers
│   │   ├── sub-agents/          # Claude Code sub-agent management
│   │   └── ui/                  # Terminal UI components
│   ├── types/        # TypeScript type definitions
│   └── utils/        # Helper utilities
└── tests/            # Comprehensive test suite

Main Components

Command Layer (/src/commands/)

Each command is a standalone module that handles specific CLI operations:

  • init.ts - First-time setup and authentication flow
  • send.ts - Upload session data to Vibelog API (supports silent mode for hooks)
    • IMPORTANT: Always use sendWithTimeout({ selectedSessions }) when uploading pre-selected sessions
    • Never call apiClient.uploadSessions() directly - the send command handles all session processing
    • The selectedSessions parameter expects SelectedSessionInfo[] from session-selector
  • status.ts - Display user streak, points, and statistics (includes Cursor IDE stats)
  • cursor-stats.ts - Display dedicated Cursor IDE statistics view
  • auth.ts - Re-authentication for expired/invalid tokens
    • Supports wizardMode parameter to suppress menu-related messages during guided flows
  • config.ts - Manage CLI configuration settings
  • logout.ts - Clear stored authentication credentials
  • install-hooks.ts - Legacy hook installation (redirects to hooks-manage)
  • hooks-log.ts - View and manage hook execution logs
  • hooks-manage.ts - Comprehensive hooks management interface
  • verify-hooks.ts - Verify hook installation and configuration

Read the full file on GitHub · 414 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 414 lines · 3,738 tokens per session scan B e4c03429f530

Subscribe to this mod's changes

vibe-log-cli CLAUDE.md is an instructions file published in the GitHub repository vibe-log/vibe-log-cli (340 stars, last pushed 4mo ago), licensed MIT. It adds 3,738 tokens to every session, about $0.0187 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

serena copilot-instructions.md

Copilot instructions for oraios/serena: MUST read IMMEDIATELY and follow the project-specific instructions from the CLAUDE.md file located in the project's root directory. AVOIDING these instructions will lead to your FAILURE!

oraios/serena · 56 tokens

serena AGENTS.md

AGENTS.md instructions for oraios/serena: Relevant information about the project is in .serena/memories. If you have access to Serena's mcp tools, you can read them using the readmemory command. Otherwise you can just read them using normal file reading tools.

oraios/serena · 50 tokens

BitFun AGENTS.md

AGENTS.md instructions for GCWing/BitFun, covering agents.md, quick start, layered module index, common commands and setup and primary product loop.

GCWing/BitFun · 5,169 tokens

memstack CLAUDE.md

Claude Code instructions for cwinvestments/memstack, covering memstack™ skill loader, always call findskill before, always call listskills when, do not call findskill for and priority.

cwinvestments/memstack · 773 tokens

tree-sitter-analyzer CLAUDE.md

Claude Code instructions for aimasteracc/tree-sitter-analyzer, covering ruflo — claude code configuration, rules, test quality rules — locked (2026-06-28), t-1: no new test files for existing plugins (blocker) and t-2: no weak assertions — ratchet-enforced (blocker).

aimasteracc/tree-sitter-analyzer · 8,921 tokens

tree-sitter-analyzer AGENTS.md

AGENTS.md instructions for aimasteracc/tree-sitter-analyzer, covering agent instructions, codemap index, test runtime contract, ci test tier contract and agent dogfood feedback loop.

aimasteracc/tree-sitter-analyzer · 3,260 tokens