cc-context-stats
Verified Safeby Felipenor
Overview
Monitors and displays Claude Code session context, token usage, and project status in real-time in the editor's status line, and provides a CLI tool for visualizing this data.
Installation
python ~/.claude/statusline.pySecurity Notes
The application is designed as a local utility, processing data from the user's Claude Code environment. It uses `subprocess.run` (Python) and `execSync` (Node.js) for git commands, which are generally safe as the commands are hardcoded. File operations for state and configuration are confined to the user's home directory (`~/.claude/statusline`). A minor concern exists in how `session_id` (extracted from JSON input) is directly incorporated into state file paths (`statusline.${session_id}.state`). If a `session_id` were to contain path traversal characters (e.g., `../../../malicious.sh`), it could lead to writing outside the intended state directory. However, given it runs under user privileges for a local tool, the risk of external malicious exploitation is low.
Similar Servers
mcpick
Manages MCP server configurations for Claude Code to optimize context usage and performance by enabling/disabling servers, creating backups, and using profiles.
claude-code-buddy
An intelligent AI Agent orchestration system for Claude Code, focusing on smart task routing, prompt enhancement, project memory, workflow guidance, and planning, presented via a real-time terminal UI dashboard.
cldcde
A persistent context manager that scrapes, stores, searches, and analyzes AI conversations from various platforms (ChatGPT, Grok, Gemini, Claude) to support project development and insights.
claude-session-manager-mcp
Manages Claude Code conversation history and sessions through CLI tools and a web-based GUI.