Back to Home
pect0ral icon

claude-cartographer

Verified Safe

by pect0ral

Overview

Token-optimized codebase exploration and analysis for Claude Code, significantly reducing API token usage.

Installation

Run Command
./setup.sh /path/to/your/project

Security Notes

The project extensively uses regular expressions and Python's AST module to parse and analyze source code files, including identifying security-relevant patterns (e.g., `eval`, `system`, SQL queries, XSS sinks) within the *target codebase*. These identified patterns are for static analysis and are not executed by the tool itself. The `bootstrap.py` installer and the `cli.py` module use `subprocess.run` for standard operations like virtual environment management, package installation (`pip`), and executing the `claude-map` binary itself. Inputs to these subprocess calls are derived from resolved file paths or hardcoded commands, mitigating direct shell injection risks. The Claude Code hooks queue file paths via `echo` to a text file, which is then processed by the `claude-map update` command, further limiting direct command injection from file paths.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens1100
Stars0
Forks0
Last Update2026-01-18

Tags

claudetoken-optimizationcode-analysisdeveloper-toolsai