What is purgar?
purgar is a Claude Code mod by jpoucabanillas-lang that /purgar: quita del contexto las salidas viejas de herramientas, sin resumen y sin gastar modelo; /purgar N deja solo los últimos N intercambios. It is listed under Context & memory and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | jpoucabanillas-lang |
| Repository | jpoucabanillas-lang/claude-mods |
| Popularity | no public popularity data yet |
| Category | Context & memory |
| Security | Low risk (92/100) |
| Rank | #3,633 of 5,272 Claude Code mods; #339 in Context & memory |
| Last commit | 2026-10-03 |
| Hooks | 4 events |
| Sees | compaction |
| Draws on | nothing |
Is purgar safe to install?
purgar scores 92/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 6 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.now | |
$.command.register | |
$.command.run | drives Claude |
$.session.id | |
$.session.usage | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.toast | draws interface |
How do I install purgar?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/jpoucabanillas-lang/claude-mods claude plugin validate ./claude-mods/purgar
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add jpoucabanillas-lang/claude-mods && claude plugin install purgar@mis-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs purgar for you:
Install the "purgar" Claude Code mod from https://github.com/jpoucabanillas-lang/claude-mods/tree/main/purgar. Run claude plugin validate on it first and show me what it can access before you enable it.
More from jpoucabanillas-lang/claude-mods
This repository has 4 Claude Code mods on MCPMods.
- limites: Una línea fina encima del prompt con el uso de los límites de 5 horas y semanal (Low risk)
- limites: Una línea fina encima del prompt con el uso de los límites de 5 horas y semanal (Low risk)
- sugeridor: Al parar de escribir 2 s, propone el prompt de tu librería que encaja con lo que llevas escrito (Review before installing)