Skip to main content
LOOKADEV
Free diagnosis

Answer a few questions and see your main bottleneck.

Operational Audit (48h)

Paid review with a costed plan. £600, credited on your Sprint.

Sprint (7 business days)

One priority. Agreed scope and price.

AI & automation

Connect your CRM, tools and everyday tasks.

AI agents

Agents that answer, qualify leads and report.

Websites & conversion

A clear path from first visit to first conversation.

Web development

Custom applications built with Next.js.

Agency partnerships

Software delivery under your agency's brand.

Developer tools & prompts

Prompts and tools from the development workflow.

CASESMETHODBRISTOLINSIGHTSCONTACT
|
Free diagnosis

lcc 1.2.0 · open source · MIT

Compact coding-agent context without summarizing it away

lcc cuts what the model does not need, keeps everything else byte for byte, and writes a receipt. It runs on your machine, with no API key and no network.

lcc measure-session on a 91-message Claude Code session, then lcc compact in stashed mode, then lcc recall returning the exact lines of a removed file read.

/compact vs lcc

Claude Code's /compact replaces your session with a summary written by a model. Summaries drop the exact error, path or line the agent needs two turns later. lcc keeps every message and moves old tool outputs to a local stash, one recall away.

/compactlcc (rules, stashed)
Your messagesRewritten into one summaryEvery user and assistant message kept byte for byte
Old tool outputsGoneMoved to a local stash, one recall away, hash-checked
Exact errors, paths, valuesOften lostRecoverable verbatim
How it decidesA model writes the summaryDeterministic rules on your CPU
Audit trailNoneA JSON report per pass; lcc explain gives the reason for every drop

Measured, not promised

These are the maintainer's own sessions, measured offline with exact o200k_base token counts.

22.7%
median token cut across all 266 long Claude Code sessions (100+ messages each); middle half 15% to 32%, best 65%
0
messages lost in any of those sessions
172
requests in a pre-registered test: stashed context plus recall matched full context on file recall
73% vs 98%
exact values right: a /compact-style summary vs full, verbatim context
Read the evidence

Install

CLI (Python)
$ pip install "local-context-compiler[tiktoken]"
Claude Code plugin (replaces the /compact summary)
$ export CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1$ claude plugin marketplace add lucasmartins-ai/lcc$ claude plugin install lcc@lcc --config provider=rules --config rulesMode=stashed

Function hooks are early access, so the plugin needs Claude Code 2.1.274+ and the flag above. Allow mcp__plugin_lcc_lcc__recall so the agent can get removed outputs back. If a pass fails or removes too little, the plugin hands over to the built-in summary and tells you.

Run it on one of your sessions

measure-session runs every mode offline and prints counts only: messages, tool calls, tokens before and after, messages kept. No text, path or tool output leaves your machine.

measure-session
$ lcc measure-session <session>.jsonl --markdown
lcc on GitHubRead the evidence
LOOKADEV SYSTEMSTransforming complex business processes into intelligent, automated systems.
Free diagnosis The Systems Method
LOOKADEV

AI systems architecture, deterministic process automation, and custom software for growing businesses.

Navigation
Free diagnosisOperational Audit (48h, paid)AI Systems Sprint (7 business days)The Systems MethodCASESAll Services HubAI Operations SystemConversion Systems (<1s)AI DevelopmentCustom SoftwareBristolInsights & DevLogPrompts HubContact
Industries & solutions
Healthcare clinicsVeterinary practicesRecruitmentLegalPropertyRestaurantsConstructionSalons & wellnessProfessional servicesMarketing agenciesOmnichannel supportSaaS developmentMVP developmentNext.js developmentStartup developmentReplace spreadsheetsAutomate client reportingReduce patient no-showsAutomate candidate screeningPortfolioCommunity
Connect & Social
GitHubLinkedInX (Twitter)InstagramThreads
Legal & Privacy
Privacy & SecurityTerms of UseRefund PolicyCookie Policy
LEGAL ENTITY & BUSINESS IDENTIFICATION
Legal Entity / Sole Trader: Lucas Martins do Carmo Borges·Trade Name: LookADev·Business Type: Sole Trader·Official Email: lucas@lookadev.com·WhatsApp: +44 7356 026050·Headquarters / NAP: 9 Coventry Walk, Bristol, England (BS4 4BX), United Kingdom·Opening hours: Mon–Fri 08:00–18:00, Sat 08:00–13:00·Leave us a review·Verified Domain: lookadev.com
© 2026 LookADev · Lucas Martins do Carmo Borges · Personal data handled in line with LGPD (BR) and UK GDPR (UK) · As seen on DesignRush
SYS_PROTOCOLS:
Built in Brazil. Designed for the world.