Automatically generate a growth report by analyzing AI usage session data (Subagent delegation, type-specific customization, v2 6-axis analysis)
Reference paths
- Conversation log:
"$HOME/vibe-sunsang/conversations/" - Knowledge base:
${CLAUDE_PLUGIN_ROOT}/skills/vibe-sunsang-knowledge/references/ - Type settings:
"$HOME/vibe-sunsang/config/workspace_types.json" - Save results:
"$HOME/vibe-sunsang/exports/"
Execution method: Subagent delegation
Because this skill must analyze a large number of session files, protect the main contextin order to
vibe-sunsang:growth-analyst delegate the task to a subagent.
Step 0: Pre-check
"$HOME/vibe-sunsang/config/workspace_types.json" Check whether the file exists.
If not:
"Barseonsaeng has not been initially set up yet.
/vibe-sunsang 시작Please run this first." → End here
Step 1: Select scope
If the scope is specified in the user's request, use it as is. If there is no scope, EXECUTE: Immediately call the AskUserQuestion tool with the JSON below:
{
"questions": [{
"question": "성장 리포트를 어떤 범위로 생성할까요?",
"header": "범위 선택",
"options": [
{"label": "이번 주", "description": "빠른 주간 리뷰 (최근 1주)", "markdown": "## 이번 주 리뷰\n\n**범위**: 최근 7일\n**분석 내용**:\n- 이번 주 세션 요약\n- 6축 기술 차원 분석\n- 빠른 피드백\n\n**소요 시간**: ~1분"},
{"label": "최근 2주 (추천)", "description": "일반적인 리뷰 주기 (최근 2주)", "markdown": "## 최근 2주 리뷰 (추천)\n\n**범위**: 최근 14일\n**분석 내용**:\n- 세션 트렌드 분석\n- 6축 기술 차원 분석 + 레이더 차트\n- 안티패턴 진단\n- v2 레벨 판정 (Fit Score + 게이트 조건)\n- 행동 계획 제안\n\n**소요 시간**: ~2분"},
{"label": "이번 달", "description": "월간 성장 확인 (최근 1달)", "markdown": "## 이번 달 리뷰\n\n**범위**: 최근 30일\n**분석 내용**:\n- 월간 성장 추이\n- 6축 차원별 심층 분석\n- 레벨 변화 추적\n- 정체기/돌파구 분석\n- 상세 행동 계획\n\n**소요 시간**: ~3분"},
{"label": "특정 프로젝트", "description": "프로젝트별 심층 분석", "markdown": "## 프로젝트별 분석\n\n**범위**: 선택한 프로젝트의 전체 기간\n**분석 내용**:\n- 프로젝트 전용 심층 분석\n- 해당 워크스페이스 유형 맞춤 6축 평가\n- 프로젝트별 성장 곡선\n\n**소요 시간**: ~2분"}
],
"multiSelect": false
}]
}
If "specific project" is selected → "$HOME/vibe-sunsang/conversations/INDEX.md"show the project list and let them choose.
Step 2: Check workspace type
"$HOME/vibe-sunsang/config/workspace_types.json"Read and check the type of the project to be analyzed.
- Specific project analysis → Use that project's type
- Period-based analysis → Collect the list of types of the included projects
- Project with no registered type →
default_typeUse (builder)
Step 3: Check conversion
Before delegating to the subagent, check whether there is the latest data:
"$HOME/vibe-sunsang/conversations/INDEX.md"Check- If needed, run the conversion script first:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/convert_sessions.py --names-file "$HOME/vibe-sunsang/config/project_names.json" --output-dir "$HOME/vibe-sunsang/conversations" 2>/dev/null || python ${CLAUDE_PLUGIN_ROOT}/scripts/convert_sessions.py --names-file "$HOME/vibe-sunsang/config/project_names.json" --output-dir "$HOME/vibe-sunsang/conversations"
Step 4: Subagent delegation
After informing the user of the progress, vibe-sunsang:growth-analyst spawn the agent:
Progress message (must be output before spawn):
"Generating the growth report. I'm analyzing the session data with the v2 level system (6-axis skill dimension analysis), so please wait a moment..."
Task(
subagent_type="vibe-sunsang:growth-analyst",
prompt="성장 리포트를 생성해주세요.
범위: [파악한 범위].
워크스페이스 유형: [workspace_types.json에서 파악한 유형 정보].
유형별 지식 베이스 경로: ${CLAUDE_PLUGIN_ROOT}/skills/vibe-sunsang-knowledge/references/{type}/.
공통 지식 베이스: ${CLAUDE_PLUGIN_ROOT}/skills/vibe-sunsang-knowledge/references/common/.
대화 로그 경로: $HOME/vibe-sunsang/conversations/.
[v2 레벨 시스템 지침]
- 6대 기술 차원(DECOMP/VERIFY/ORCH/FAIL/CTX/META)별로 행동 신호를 감지하세요.
- 유형별 동적 가중치를 적용하세요:
Builder: DECOMP 25%, VERIFY 25%, ORCH 15%, FAIL 15%, CTX 10%, META 10%
Explorer: DECOMP 15%, VERIFY 15%, ORCH 10%, FAIL 20%, CTX 20%, META 20%
Designer: DECOMP 20%, VERIFY 15%, ORCH 10%, FAIL 10%, CTX 25%, META 20%
Operator: DECOMP 15%, VERIFY 20%, ORCH 25%, FAIL 20%, CTX 10%, META 10%
- Fit Score 공식: F_L = SUM(w_i * S_i)
- 바닥 효과 보정: 첫 세션 ≥ L1.5, 3세션 + 도구 2종 ≥ L2.0
- 게이트 조건 확인: L3(구체성>0.5), L4(검증>0.15), L5(도구>8+전략), L6(멀티에이전트), L7(외부기여)
- 내부 소수점 2자리, 공식 0.5 단위 반올림
- 6축 레이더 차트(텍스트), 레벨 카드, 게이트 상태 테이블 포함
- 승급 시 승급 메시지 포함 (L4→L5는 '80%의 벽' 특별 이벤트)
$HOME/vibe-sunsang/conversations/ 디렉토리에서 세션 파일을 읽고,
해당 유형의 지식 베이스 기준에 따라 분석한 후,
$HOME/vibe-sunsang/exports/growth-report-YYYY-MM-DD.md로 저장해주세요.",
description="성장 리포트 생성 (v2 6축 분석)"
)
Important: Always pass the type information, paths, and v2 metric guidelines to the subagent.
Step 5: Deliver results
Deliver the result returned by the subagent to the user:
- Path of the saved report file
- Summary of the current level and 6-axis scores
- Radar chart (text)
- Key growth points
- Next-step suggestions (up to 3, centered on the weakest axis)
Leave only the summary in the main context, and guide them to refer to the report file for detailed analysis.
Step 6: Verify longitudinal tracking
After the subagent saves the report:
$HOME/vibe-sunsang/growth-log/TIMELINE.mdCheck whether has been updated- If not updated, update manually (including the 6-axis score column):
| 날짜 | 레벨 | DECOMP | VERIFY | ORCH | FAIL | CTX | META | 요청품질 | 주요 안티패턴 | 변화 포인트 |
- Provide the user with a longitudinal summary:
- "Compared to N weeks ago, level LX.X → LY.Y"
- "Axis with the greatest growth: [axis name] (X.X → Y.Y)"
- "Anti-patterns resolved: [list]"
- "Until the next level: [gate condition or weak axis]"
Gotchas
- The subagent may fail to update TIMELINE.md. Be sure to check and supplement this in Step 6.
- If this is the first report, instead of a longitudinal summary, say "Your first report has been generated. Starting from the next report, you'll be able to compare 6-axis growth trends."
- When comparing longitudinally with reports prior to v1.x, 6-axis data may not be available. In this case, compare only the level and request quality.
Error handling
When a problem occurs, guide the user in a way that non-developers can understand:
| Situation | Message to show the user |
|---|---|
| No session file | "There are no converted conversations yet. /vibe-sunsang 변환Please run first." |
| Conversion script failure | "There was a problem converting the conversation file. Please check whether the project folder ("$HOME/.claude/projects/") exists." |
| Subagent failure | "A problem occurred during analysis. Shall we try again?" |
| No INDEX.md | "The index file is missing. /vibe-sunsang 변환Please convert the conversation first with." |
| No type information | "The workspace type has not been set. /vibe-sunsang 시작Please run first." |