LLM Code Context

LLM Code Context

cyberchitta

Provides smart file selection and code context management for sharing relevant project files with LLMs, avoiding token limits while ensuring complete coverage.

295328 views25Local (stdio)

What it does

  • Find files modified since a specific timestamp
  • Generate code outlines highlighting important sections
  • Retrieve missing context files on demand
  • Create custom file selection rules
  • Extract excerpted content from codebases

Best for

Developers doing code reviews with AI assistantsSharing project context efficiently in LLM conversationsAI agents needing focused codebase accessManaging development session context
Multi-language supportRule-based intelligent file filteringClipboard integration for chat interfaces

Tools (4)

lc_changed

Returns list of files modified since given timestamp. Args: root_path: Root directory path (e.g. '/home/user/projects/myproject') timestamp: Unix timestamp to check modifications since

lc_outlines

Returns excerpted content highlighting important sections in all supported files. Args: root_path: Root directory path rule_name: Rule to use for file selection rules timestamp: Context generation timestamp to check against existing selections

lc_rule_instructions

Provides step-by-step instructions for creating custom rules. Args: root_path: Root directory path

lc_missing

Unified tool for retrieving missing context (files, implementations, or excluded sections). Args: root_path: Root directory path (e.g. '/home/user/projects/myproject') param_type: Type of data - 'f' for files, 'i' for implementations, 'e' for excluded sections data: JSON string containing the data (file paths in /{project-name}/ format or implementation queries) timestamp: Context generation timestamp

Alternatives