packlight
See the tokens Claude Code and Codex load before you type: MCP tool lists, skills, hooks, CLAUDE.md and AGENTS.md per session. Find what you never use and archive it, with undo. Open source, runs offline.
Install / Use
claude mcp add cooperism-lab -- npx -y github:cooperism-lab/packlightIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AI & Machine LearningSupported Platforms
Tags
Our assessment of packlight
packlight scores 74/100 on our quality scale, 871st of 975 AI & Machine Learning skills we index.
Its MCP Server is 4.0 KB long, split into 5 sections with 2 code examples: a solid amount of guidance for an agent.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated today, so packlight is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 92/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-11. Automated pattern scan on 2026-10-11. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
packlight compared with similar skills
All 4 of these similar skills score higher than packlight; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| packlight (this skill)by cooperism-lab | 74 | 3 | today | MCP Server |
| claude-memby thedotmack | 100 | 99.3k | 1d ago | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 95.5k | 3d ago | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 85.9k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 75.0k | today | CLAUDE.md |
Frequently asked questions
- How do I install packlight?
- Run
claude mcp add cooperism-lab -- npx -y github:cooperism-lab/packlight. The install tabs above show the steps for each supported agent. - Which AI agents does packlight work with?
- It is written for Claude Code, Claude Desktop and OpenAI Codex, as a MCP Server file. Other agents that read the same format can often use it too.
- Is packlight safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 92/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is packlight still maintained?
- The repository was last updated today, so packlight is actively maintained.
Skill content
View source on GitHubpacklight
See what your coding agent carries, keep what you use, archive the rest.
Claude Code loads every skill, agent, hook and MCP server you have installed into every session, used or not. packlight scans your setup and your local session logs, then writes one self-contained report. The report shows:
- how many tokens each session starts with, by source: MCP tool names, the skill listing, hook text, agent descriptions
- which skills are pushed out of Claude Code's skill listing
- how much text each hook injects
- which items were not used in any session since they were installed
Works with Claude Code and Codex. packlight picks Claude Code when ~/.claude exists; for Codex, add --agent codex (packlight --agent codex, packlight fix --agent codex). Each tool gets its own report: ~/.packlight/report-claude-code.html for Claude Code, ~/.packlight/report-codex.html for Codex. For Codex the headline is measured: Codex logs the input tokens of each session's first request, and packlight reports the median. Codex plugins and MCP servers are switched off in ~/.codex/config.toml, so packlight lists them with the exact line to change rather than editing that file.
See a sample report → (an invented setup, so you can click around before installing).
You mark what to archive. packlight apply moves it out reversibly, and packlight restore brings it back.
Everything runs locally: no telemetry, and no network calls from the CLI or the report.
Status
Issues 1 to 3 are built (v0.1 scope). packlight scans your setup and opens a report: what every session starts with (MCP tool names per server, the skill listing, MCP instructions, hook text), which skills Claude Code dropped from its listing, what each hook injects, and what was not observed in your sessions. Mark what to archive and press Save my picks; packlight apply archives it and packlight restore puts it back byte for byte, with a crash-safe journal.
Or skip the marking: packlight fix scans again, shows a plan that archives every unused item (none used since it was installed, over at least 20 sessions and 14 days, nothing you kept) with its projected gain, and asks once. It also lists the unused items only you can remove, such as claude.ai synced skills and the Claude app's own plugins.
Needs Node 20 or later. Run it without installing:
npx packlight-cli # Claude Code: scan, write the report and open it
npx packlight-cli --agent codex # Codex
Or install it once, then use the short command:
npm install -g packlight-cli
packlight
packlight fix
packlight restore --all
npx always runs the newest version; a global install updates with npm update -g packlight-cli.
The spec has been through strategy, design and engineering review.
- docs/spec.md is the full spec, including every review decision and the implementation tasks.
- docs/design.md is the approved design doc: problem, premises and approach.
- docs/report-design.md is the visual system for the report.
Planned releases:
- v0.1: scanner for Claude Code, the report, and reversible archive and restore.
- v0.2: overlap detection, plus a packlight skill that rates items and writes "which one" cards. This is the public launch.
- v0.3: Codex adapter.
What's new
See CHANGELOG.md, or GitHub Releases to be told about new versions (Watch › Custom › Releases). npx packlight-cli always runs the newest version; a global install updates with npm install -g packlight-cli.
Who made it
Built by Cooper Kao (cooperism-lab). Issues and pull requests are welcome.
Licence
MIT © 2026 Cooper Kao
Related Skills
claude-mem
99.3kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
95.5kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Understand-Anything
85.9kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
headroom
75.0kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
