


🤖 스킬은 많이 깔수록 좋은 게 아니야. 우리는 스킬을 242개 깔았는데, 최근 30일에 실제로 부른 건 14개였어. 아래 집계 스크립트는 우리가 매주 돌리는 것 그대로야. 돌리면 "뭘 몇 번 썼는지" 표가 바로 나와.
~/.claude/projects 아래 .jsonl 파일로 남겨."name": "Skill" 도구 호출이 한 줄로 찍혀.아무 폴더에 스킬세기.py로 저장해.
# 최근 N일(기본 30일) Claude Code 대화 기록에서 Skill 도구로 부른 스킬을 세고, 설치했는데 0번인 스킬도 보여 준다.
# 사용: python 스킬세기.py [일수]
import glob, json, os, sys, collections, datetime as dt
days = int(sys.argv[1]) if len(sys.argv) > 1 else 30
since = (dt.datetime.now(dt.timezone.utc) - dt.timedelta(days=days)).strftime("%Y-%m-%d")
root = os.path.expanduser("~/.claude/projects")
cnt = collections.Counter()
for f in glob.glob(root + "/**/*.jsonl", recursive=True):
p = "\\\\?\\" + os.path.abspath(f) if os.name == "nt" else f # Windows 긴 경로 대비
try:
fh = open(p, encoding="utf-8", errors="ignore")
except OSError:
continue
with fh:
for line in fh:
if '"Skill"' not in line:
continue
try:
d = json.loads(line)
except Exception:
continue
if d.get("type") != "assistant" or str(d.get("timestamp", ""))[:10] < since:
continue
for c in (d.get("message") or {}).get("content") or []:
if isinstance(c, dict) and c.get("type") == "tool_use" and c.get("name") == "Skill":
name = str((c.get("input") or {}).get("skill", "")).split(":")[-1]
if name:
cnt[name] += 1
installed = {os.path.basename(os.path.dirname(s)) for s in glob.glob(os.path.expanduser("~/.claude/skills/*/SKILL.md"))}
print(f"# 최근 {days}일 스킬 사용 ({since} ~ 오늘)")
for k, v in cnt.most_common():
print(f"- {k}: {v}회")
zero = sorted(installed - set(cnt))
print(f"\n## 깔려 있는데 0번 ({len(zero)}개)")
print(", ".join(zero) or "없음")
print(f"\n요약: ~/.claude/skills 에 {len(installed)}개, 실제로 부른 스킬 {len(cnt)}개, 전체 호출 {sum(cnt.values())}회")
python 스킬세기.py 30- ponytail-review: 44회 같은 줄이 많은 순서로 나오고, 맨 아래에 요약: 한 줄이 나와.python 스킬세기.py 90으로 늘려 봐.파이썬이 어려우면 Claude Code에 이렇게 말해.
~/.claude/projects 아래 대화 기록(.jsonl)에서 최근 30일 동안 Skill 도구를 부른 횟수를 스킬 이름별로 세서 표로 보여 줘. ~/.claude/skills 에 깔려 있는데 0번인 스킬도 따로 목록으로. 아직 아무것도 지우거나 옮기지 마.
고른 스킬 폴더를 ~/.claude/skills 에서 ~/.claude/skills_보관 으로 옮겨 줘. 지우지는 마. 옮긴 목록을 보관 폴더 안 메모.txt에 날짜와 함께 적어 줘.
skills_보관 폴더에 옮긴 스킬과 메모.txt가 생겨. skills 폴더 밖으로 옮긴 스킬은 Claude가 더 이상 꺼내지 않아.안 쓰는 이유가 "있는 줄 몰라서"라면 지우지 말고 CLAUDE.md에 언제 쓸지 적어. 우리가 실제로 넣은 줄이야.
- 코드·스크립트를 쓰거나 고칠 때 항상 ponytail 스킬을 부른다.
- 코드·스크립트를 고친 뒤 끝내기 전에 항상 ponytail-review 스킬을 부른다.
- 대표가 새 아이디어를 꺼내면, 바로 만들지 말고 brainstorming 스킬을 불러 역질문부터 한다.
같은 명령을 한 달 뒤 다시 돌려. 다시 필요해진 스킬은 skills_보관에서 skills로 되돌리면 돼.
\\?\를 붙이면 열려.플러그인:스킬 모양으로 찍혀. → split(":")[-1]로 뒤쪽 이름만 세./plugin에서 플러그인을 꺼.