✳ClaudeModsClaude Code mod 디렉터리
☰
● 0 명 접속 중 · 조회 0 회
+ 프로젝트 제출
← 프로젝트 목록으로
Reddit 게시물 · 사용량 및 비용 / 도구 및 연동 / 워크플로 및 CI

DensePack: 텍스트를 이미지로 패킹하여 Claude Code 토큰 비용을 절반으로 절약

DensePack은 Read, Bash 출력, Word 파일 및 하위 에이전트 보고서와 같은 텍스트를 색상 코드와 범례가 있는 이미지로 패킹하여, 에이전트가 이미지를 읽음으로써 원본 텍스트 콘텐츠를 약 절반의 토큰 비용으로 소비할 수 있게 합니다. 벤치마크에 따르면 모든 인기 플러그인보다 총 세션에서 더 많은 비용을 절약하며, 최신 버전은 Anthropic 플러그인을 통과했습니다.

FFabiangzt@Fabiangzt
DensePack: 텍스트를 이미지로 패킹하여 Claude Code 토큰 비용을 절반으로 절약이미지1
번역 완료

이 mod 소개

DensePack은 텍스트 파일(Read 명령으로 읽은 파일, Bash 출력, doc/docx 문서 및 하위 에이전트 보고서)을 색상 코드가 있는 이미지로 패킹하여 에이전트가 원본 텍스트의 약 50% 토큰 비용으로 동일한 내용을 읽을 수 있게 하는 Claude Code 플러그인입니다. 이미지에는 두 줄의 범례가 포함되어 있으며, 이미지에서 코드 파일을 바이트 단위로 재구성할 수 있습니다. 이 프로젝트는 절약 효과와 정확성을 입증하는 재현 가능한 벤치마크를 제공하고, 대체 검증을 위한 텍스트 복사본을 포함합니다. 저자는 한 달간 20x Max 구독을 사용하여 테스트와 튜닝을 수행했고, 만 회 이상의 벤치마크를 실행했습니다. 최근 버전 1.3.3을 출시했으며, 버전 1.4에서는 더 이른 단계에서 다른 플러그인의 hook을 가로채고 다른 플러그인/스킬을 DensePack 이미지로 변환하는 기능을 지원할 예정입니다.

설치

먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.

git clone https://github.com/Fabian-Galvez/DensePack && cd DensePack # 后续请参照仓库README进行安装配置
원문 / README

FIRST: Big shoutout to the people that helped DensePack! I want to thank the 8 stargazzers that believed in this from the start. I hope you guys see this post or reach out to me directly (so I can personally give you updates) and continue to follow the project because DensePack is NOT like ordinary plugins or skills that may become outdated over time. It's easy to see that DensePack will only continue to improve with time as OCR and AI vision capabilities in general continue to improve. DensePack packs text into images that your agent can read accurately without compressing or trimming anything, and automatically hands your agent the image to read for half the token cost. It packs text files read with Read, Bash output, Word files (doc/docx), and it also packs any subagent report so that your main agent gets an image and their context stays small. The most recent savings benchmarks show savings for a small task and the savings only grow and compound from there. Your agent reads the image and tokenizes the same text as the text file for ~50% the price. Every future Cache read is charged against that 50% image. Many published papers claim that python files can't be read accurately let alone rebuilt byte identically from the image, but DenesPack images use a unique color coding and and include a 2 row legend that has allowed it to rebuild code files byte identical from the image. It's ok to be skeptical. It's ok to think that this isn't accurate and will mess things up. I didn't believe it myself which is why I made the Benchmarks easily reproducible and why I made sure to add fallbacks like keeping a copy of the text in case your agent needs to verify the text. The benchmarks prove savings and accuracy compared to the benches without DensePack. I have been building non stop with DensePack packing everything possible. I even used it to help me improve DensePack itself from v1.0 and on! I see no negative impact or change. I have had to double check I didn't lose connection because my usage bar seems to be frozen sometimes, but it's just the compounding savings effect DensePack has. P.S. I made a Reddit purely to help people save cuz Anthropics prices suck. I worked hard to make something that is secure, works and saves. I used a whole months worth of 20x Max usage testing, fine tuning and running benchmarks to make sure I present the community with a project that they can use and isn't slop. It would not be a lie to say that I have run well over 10,000 benchmarks by now. DensePack works. It works so well that even when it adds an extra turn to verify a line of text, it STILL saves. And it just cleared the initial phases of Anthropic's plugin submission so I hope that this will land in the official Marketplace soon as well. This is my first real project since transitioning into the tech sphere so while it may not seem like much to some, I am extremely proud of the 8 stars that the project has received and how far it's come since being released 2 weeks ago. That being said, I only made a Reddit to share what is helping me save because I hate gate-keeping, but I have not had the best experience here and keep being insulted or talked down to while trying to help or ask questions to understand Reddit better. I recently had a first positive response from a mod and i'm thankful. I just don't know if this is common for new Reddit users and even though I am very appreciative for the few people that were kind, I don't think Reddit is for me so this will probably be my last Reddit post! I say probably because I have an image of the ADS-STE 100 English standard with it's whitelist of words that I use as my style rules which has helped improve the AI sounding output so its more human. I hadn't decided if I would make it its own post but I will probably put it in the comments and be done. You won't need the plugin for this premade image and can just feed to your ai to fix the output for cheap! Thank you and Future upgrades: Thank you to the people that helped, gave honest feedback and tried the plugin! Please update your version! 1.3.3 has new updates and keep an eye out for 1.4!! You can use many plugins with DensePack as it is now (I've tried Ponytail, Caveman, etc). DensePack will keep packing but most plugins have hooks that force their skills to be read before DensePack has had a chance to pack them. v1.4 fixes this with a feature that lets you use those plugins at half the price! It works now, but I won't release it until I know it is secure like everything up until now. New AGENTS CLAUDE and MEMORY md file upgrades are coming along with the ability to turn other pugins and skills into DensePack images. 1.4 may also include a new RAG framework method that utilizes DensePack images but its still a prototype so most likely will be part of 1.5 so i can push the other upgrades first. I am happy to answer questions in the comments. If you want to keep up with the project, consider giving it a star and message me directly! I will personally update you on all things DensePack. Not a newsletter or spammy email or anything like that, more personal direct messages from me so I will probably only be able to keep up with ~20-40 folks for now while I continue my job search. I have nothing to gain, I don't charge for anything, I just want to build community with like minded individuals and help others build more. If that resonates with you, feel free to reach out! FIN submitted by /u/Fabiangzt [link] [comments]

원본 출처 보기 ↗

비슷한 프로젝트