RayCodes ColGrep — Development skill for Claude Code
ColGrep Agent 2B: Cut Claude Code API Costs by 40% Locally.
How to install RayCodes ColGrep
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open 47thtechcorner/RayCodes_ColGrep and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What RayCodes ColGrep does
ColGrep Agent 2B: Cut Claude Code API Costs by 40% Locally! Intelligent local code search assistant cutting tokens and costs.
Alternatives in Development
- Claude Usage — A local dashboard for tracking your Claude Code token usage, costs, and session history 864 ★
- Claude Instructions For Local Skill Loading — This file tells Claude how to load skills locally 845 ★
- Cost Xray — See what Claude Code and Codex actually send to the API — and what each part costs 586 ★
README
⚡ ColGrep Agent Code Search
Intelligent local code-search assistant powered by ColGrep-Agent-2B that cuts cloud coding agent tokens by 34% through local code localization.
| Step 1: Input | Step 2: AI Action | Step 3: Result |
|---|---|---|
| Natural language code query | Semantic search & read-only analysis | Pinpoint files and exact line ranges |
🌟 Key Superpowers
- ⚡ Local Code Localization: Pinpoints exact file paths and line ranges using semantic code understanding.
- 📉 Significant Token Savings: Offloads exploratory codebase searches, cutting API tokens by 34%.
- 💰 Lower Inference Costs: Reduces cache-aware API expenses by up to 40% on complex repositories.
- 🔒 Private Repository Search: Operates directly on your machine without transmitting source code to external servers.
- 🔌 Seamless Integration: Ready-to-use hooks for Claude Code, Codex, and OpenCode environments.
🛠️ Tech Stack & Requirements
- Model:
ColGrep-Agent-2B(MiniCPM5-2B base architecture, Apache-2.0) - Local Engine: ColGrep (NextPlaid multi-vector late-interaction retrieval)
- Inference Runtime: llama.cpp / GGUF (Metal, Vulkan, or CPU)
- Language & Environment: Python 3.10+ / Standalone CLI binary
📋 File Explanation
main.py: Core application script executing semantic search queries, analyzing repository files, and producing structured code location summaries.Modelfile: Ollama model manifest configured to register the localcolgrep-agent-2B-Q8_0.ggufcheckpoint.requirements.txt: Python package requirements.
🚀 Quick Setup & Installation
1. Download Model Checkpoint
Download the off
Related Skills
Slm Gate
Decoupled local-SLM pre-processing and routing layer for MCP and cloud LLMs. Intercepts, distills, and routes
Local Terminal MCP
Run local commands from ChatGPT or Claude via a safe, allowlisted MCP server. Work on your codebase and genera
Applyer
A privacy-first automated job-search assistant that runs your coding agent locally.
Cato Plugin
Cut Claude Code token costs by 35-80% with prompt-cache TTL tracking, pre-read structural indexing, noisy CLI
ReToken
Cut Claude Code, Cursor and coding-agent token costs. Local Rust proxy that compresses tool output, aligns pro
MindMapper
MindMapper is an innovative program that empowers intelligent agents to navigate complex thought landscapes an
Related Agents
Claude Context Local
Code search MCP for Claude Code. Make entire codebase the context for any coding agent. Embeddings are created
Lmstudio Local
A locally-hosted model served through LM Studio's OpenAI-compatible API,
Mock Generator
Generates mock API responses and test data using local Ollama models. Saves cloud tokens.