Claude Auto Compact
C+ 70 completed
Other
unknown / shell · tiny
20
Files
1,563
LOC
0
Frameworks
4
Languages
Pipeline State
completedRun ID
#352148Phase
doneProgress
1%Started
Finished
2026-04-13 01:31:02LLM tokens
0Pipeline Metadata
Stage
SkippedDecision
skip_scaffold_dupNovelty
14.14Framework unique
—Isolation
—Last stage change
2026-04-16 18:15:42Deduplication group #48041
Member of a group with 1 similar repo(s) — canonical #107106 view group →
Top concepts (2)
Project DescriptionLibrary
Repobility · code-quality intelligence platform · https://repobility.com
AI Prompt
Create a command-line tool, ideally using shell scripting and Python, that provides automatic partial compaction for Claude Code sessions. The tool needs to implement two hooks: a 'Stop hook' to warn the user when context usage is high, and a 'SessionEnd hook' that automatically runs a compaction process when the session exits. This process should summarize older exchanges while keeping the last N turns verbatim. It must handle configuration via a JSON file, check context usage, and ideally integrate with an existing tool like `decant`.
shell python cli automation context-management scripting json claude
Generated by gemma4:latest
Catalog Information
Automatic partial compaction for Claude Code sessions. Keeps your recent context verbatim while summarizing older exchanges — triggered automatically when you exit a session.
Description
Automatic partial compaction for Claude Code sessions. Keeps your recent context verbatim while summarizing older exchanges — triggered automatically when you exit a session.
Novelty
3/10Tags
shell python cli automation context-management scripting json claude
Claude Models
claude-opus-4-6
Quality Score
C+
70.4/100
Structure
67
Code Quality
78
Documentation
46
Testing
70
Practices
68
Security
100
Dependencies
50
Strengths
- Good test coverage (56% test-to-source ratio)
- Good security practices \u2014 no major issues detected
- Properly licensed project
Weaknesses
- No CI/CD configuration \u2014 manual testing and deployment
Recommendations
- Set up CI/CD (GitHub Actions recommended) to automate testing and deployment
- Add a linter configuration to enforce code style consistency
Security & Health
5.6h
Tech Debt (D)
A
OWASP (100%)
PASS
Quality Gate
A
Risk (9)
Repobility analyzer · published findings · https://repobility.com
MIT
License
2.5%
Duplication
Languages
Frameworks
None detected
Concepts (2)
| Category | Name | Description | Confidence | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Methodology: Repobility · https://repobility.com/research/state-of-ai-code-2026/ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| auto_description | Project Description | Automatic partial compaction for Claude Code sessions. Keeps your recent context verbatim while summarizing older exchanges — triggered automatically when you exit a session. | 80% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| auto_category | Library | library | 70% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Embed Badge
Add to your README:
