Claude Code 비용 80% 절감하는 settings.json 3줄과 14만명이 쓰는 everything-claude-code 설정법
딸깍으로 영상 제작: https://fingr.io
헤이제임스 최신 강의:
- OpenAI Codex 5.4로 바이브코딩과 업무 자동화: https://heyjames.ai/courses/15
- 제미나이와 안티그래비티 완벽 가이드: https://heyjames.ai/courses/14
- 클로드 코드로 레일즈 풀스택 개발 배우기: https://heyjames.ai/courses/13
- 바이브코딩과 외주 개발로 수익화하는 법: https://heyjames.ai/courses/12
- 창업 마케팅 - 영업, SNS, 홈페이지, 문의 자동화: https://heyjames.ai/courses/8
- 창업 아이템 찾기 - 수익모델, MVP, 바이브코딩: https://heyjames.ai/courses/7
헤이제임스 토론/질문방: https://open.kakao.com/o/ggwD09Fh
0:00 인트로
0:23 저장소 소개
1:09 만든 사람
1:48 context rot 이해
3:14 광고
3:42 저장소 구성
4:33 비용 80% 절감법
5:55 실전 활용 팁
6:58 메모리 학습 시스템
8:05 보안 스캐너
9:03 시작 가이드
9:59 마무리
가이드 PDF 다운로드 링크: https://heyjames.ai/tips
3개월 만에 GitHub 스타 14만 개를 돌파한 everything-claude-code 저장소 분석. Anthropic 해커톤 우승자 Affaan Mustafa가 10달 동안 매일 다듬은 Claude Code 세팅을 통째로 오픈소스로 공개한 프로젝트입니다. Claude Code가 점점 멍청해지는 이유(context rot), 비용을 80% 줄이는 settings.json 세 줄, 그리고 메모리 학습 시스템과 보안 스캐너 AgentShield까지 다룹니다.
## 영상에서 다루는 핵심
1. context rot의 정체 - Claude Code가 갑자기 멍청해지는 4가지 구조적 원인
2. settings.json 세 줄로 비용 80% 절감
- model: sonnet (60% 절감)
- MAX_THINKING_TOKENS: 10000 (70% 절감)
- CLAUDE_CODE_SUBAGENT_MODEL: haiku (80% 절감)
3. /clear vs /compact - 컨텍스트 다이어트 워크플로
4. MCP 함정 - 200K 컨텍스트가 70K로 줄어드는 이유
5. Continuous Learning v2 - 메모리 학습 시스템 (instinct → skill 자동 승격)
6. AgentShield - npx 한 줄로 Claude Code 설정 보안 스캔
## everything-claude-code 안에 들어 있는 것
- 38 specialized agents (planner, architect, tdd-guide, security-reviewer 등)
- 156 skills (필요할 때만 로드)
- 72 commands, 34 rules, 14 MCP server configs
- 1,282 tests / 98% coverage
- Claude Code, Cursor, Codex, OpenCode, Antigravity, Gemini 모두 동일 설정으로 동작
## 설치 방법
```
# 1. settings.json 세 줄 (오늘 당장)
# ~/.claude/settings.json
{
"model": "sonnet",
"env": {
"MAX_THINKING_TOKENS": "10000",
"CLAUDE_AUTOCOMPACT_PCT_OVERRIDE": "50",
"CLAUDE_CODE_SUBAGENT_MODEL": "haiku"
}
}
# 2. 플러그인 설치
/plugin marketplace add https://github.com/affaan-m/everything-claude-code
/plugin install ecc@ecc
# 3. rules 별도 설치
git clone https://github.com/affaan-m/everything-claude-code.git
cd everything-claude-code
./install.sh --profile full
```
## 사용된 명령어
/clear - 무관한 작업 사이 컨텍스트 리셋
/compact - 마일스톤 사이 컨텍스트 압축
/cost - 토큰 비용 모니터링
/model opus - 깊은 추론 필요할 때 일시 전환
/plugin marketplace add - 플러그인 마켓플레이스 추가
/plugin install - 플러그인 설치
/security-scan - AgentShield 보안 스캔
/evolve - instinct 3개 이상을 skill로 승격
/instinct-export, /instinct-import - 학습 결과 팀 공유
npx ecc-agentshield scan - 설치 없이 보안 스캔
## 참고 링크
- everything-claude-code: https://github.com/affaan-m/everything-claude-code
- Token Optimization 문서: https://github.com/affaan-m/everything-claude-code/blob/main/docs/token-optimization.md
- AgentShield: https://github.com/affaan-m/agentshield
- Affaan Mustafa: https://affaanmustafa.com
- Shorthand Guide (X): https://x.com/affaanmustafa/status/2012378465664745795
- Longform Guide (X): https://x.com/affaanmustafa/status/2014040193557471352
- Security Guide (X): https://x.com/affaanmustafa/status/2033263813387223421