Communitygithub.com

majiayu000/claude-skill-registry-data

현재 자산 배분 비율을 계산하고, 목표와의 이탈(드리프트)을 식별하며, 마진 효율성을 분석합니다.

claude-skill-registry-data란 무엇인가요?

이 스킬은 Harry Browne의 영구 포트폴리오(Permanent Portfolio) 전략에서 두 번째 단계인 포트폴리오 자산 배분 분석을 수행합니다. 주식, 장기 국채, 금, 현금/국채의 네 가지 자산군에 대해 현재 배분 비율을 25% 목표와 비교하여 드리프트(이탈)를 계산하고, 재조정이 필요한지 판단합니다. 또한, 위성 주식 추적(선택 사항)과 마진 사용의 비용 효율성을 평가하며, '네 개의 계절' 경제 맥락(Four Seasons context)을 적용하여 현재 포지션이 어떤 경제 환경에 유리한지 해석합니다. 이 스킬은 Claude Code, Cursor, Codex 등 다양한 AI 에이전트 플랫폼에서 사용할 수 있으며, 읽기 전용 분석을 수행하여 수동 검토를 위한 보고서를 생성합니다.

지원 대상✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/majiayu000/claude-skill-registry-data/tree/HEAD/analysis/portfolio-balancer-analyze-allocation-ncrmro-deepwork-permanent-

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

포트폴리오_밸런서.자산배분분석

포트폴리오_밸런서 워크플로우의 2/4단계

드리프트 및 리밸런싱 권장 사항을 포함한 일일 영구 포트폴리오 분석

사전 조건 (먼저 확인)

진행 전 다음 단계가 완료되었는지 확인하세요:

  • /portfolio_balancer.collect_portfolio_data

지침

목표: 현재 자산 배분 비율을 계산하고, 목표와의 이탈을 식별하며, 마진 효율성을 분석합니다.

자산 배분 분석

목표

25/25/25/25 영구 포트폴리오 목표와 비교하여 현재 자산 배분 비율을 계산하고, 목표와의 이탈을 식별하며, 마진 효율성을 분석합니다.

작업

포트폴리오 스냅샷을 분석하여 현재 배분이 Harry Browne의 영구 포트폴리오 목표와 어떻게 비교되는지 확인합니다. 과대 또는 과소 배분된 자산 클래스를 식별하고, 마진 사용이 비용 효율적인지 평가합니다.

프로세스

  1. 포트폴리오 스냅샷 읽기 collect_portfolio_data 단계에서 생성된 portfolio_balancer/data/portfolio_snapshot.yml을 로드합니다.

  2. 현재 자산 배분 비율 계산 각 자산 클래스에 대해 다음을 계산합니다:

    현재_비율 = (자산_클래스_가치 / 총_포트폴리오_가치) * 100
    
  3. 목표와의 이탈 계산 영구 포트폴리오 목표는 각 자산 클래스에 대해 25%입니다:

    이탈 = 현재_비율 - 25.0
    
    • 양의 이탈 = 과대 배분
    • 음의 이탈 = 과소 배분
  4. 리밸런싱 필요 여부 결정 각 자산 클래스의 이탈을 스냅샷의 drift_threshold(이탈 임계값)와 비교합니다:

    • 임계값을 초과하는 |이탈|이 하나라도 있으면 리밸런싱이 권장됩니다.
    • 임계값을 초과하는 특정 자산 클래스를 추적합니다.
  5. 위성 자산 배분 분석 (활성화된 경우) 위성 추적(satellite_tracking)이 활성화된 경우:

    • 총 주식 대비 위성 비율(%) 계산
    • 목표(일반적으로 10-20%)와 비교
    • 위성 배분 조정 필요 여부 결정
  6. 마진 효율성 분석 마진이 활성화된 경우:

    • 연간 마진 비용 계산: 마진_잔고 * 이자율
    • 비용/편익 평가: 마진이 적용된 자산의 기대 수익률이 마진 비용보다 큰가?
    • 마진 수수료가 합리적인 임계값을 초과하는지 플래그 지정
  7. 네 개의 계절 맥락 적용 현재 과대/과소 배분 포지션에 유리한 경제 상황을 기록합니다:

    • 봄 (번영): 주식에 유리
    • 여름 (인플레이션): 금에 유리
    • 가을 (긴축): 현금에 유리
    • 겨울 (디플레이션): 장기 채권에 유리

출력 형식

portfolio_balancer/data/allocation_analysis.yml

완전한 자산 배분 분석을 포함하는 YAML 파일입니다.

구조:

analysis_date: "YYYY-MM-DD"
drift_threshold: 5  # 스냅샷에서 가져옴

total_portfolio_value: 100000.00

# 자산 배분 상세
allocations:
  stocks:
    target_percentage: 25.0
    current_percentage: 28.0
    current_value: 28000.00
    drift: 3.0  # 3% 과대 배분
    exceeds_threshold: false
    status: "overweight"
    # 위성 상세 (활성화된 경우)
    satellite:
      enabled: true
      core_percentage: 89.3  # 주식 중 코어 지수 비율(%)
      satellite_percentage: 10.7  # 주식 중 위성 비율(%)
      target_satellite_percentage: 15.0
      satellite_drift: -4.3  # 위성 과소 배분

  long_term_bonds:
    target_percentage: 25.0
    current_percentage: 24.0
    current_value: 24000.00
    drift: -1.0  # 1% 과소 배분
    exceeds_threshold: false
    status: "underweight"

  gold:
    target_percentage: 25.0
    current_percentage: 23.0
    current_value: 23000.00
    drift: -2.0
    exceeds_threshold: false
    status: "underweight"

  cash_treasuries:
    target_percentage: 25.0
    current_percentage: 25.0
    current_value: 25000.00
    drift: 0.0
    exceeds_threshold: false
    status: "on_target"

# 전체 리밸런싱 평가
rebalancing:
  needed: false
  reason: "5% 이탈 임계값을 초과하는 자산 클래스 없음"
  assets_exceeding_threshold: []

# 마진 분석
margin_analysis:
  enabled: true
  current_balance: 5000.00
  annual_cost: 300.00  # 잔고 * 이자율
  monthly_cost: 25.00
  monthly_fees_paid: 50.00
  efficiency_rating: "poor"  # 계산된 비용보다 더 많은 수수료를 지불 중
  recommendation: "마진 수수료 검토 - 예상 월 비용 $25 대비 실제 $50 지불 중"

# 네 개의 계절 맥락
economic_context:
  current_overweights:
    - asset: "stocks"
      favored_condition: "번영/성장 (봄)"
      drift: 3.0
  current_underweights:
    - asset: "gold"
      favored_condition: "인플레이션 (여름)"
      drift: -2.0
    - asset: "long_term_bonds"
      favored_condition: "디플레이션/불황 (겨울)"
      drift: -1.0
  interpretation: "포트폴리오가 현재 번영 국면에 맞춰져 있으며, 인플레이션에 취약함"

품질 기준

  • 현재 비율과 이탈을 포함하여 네 가지 자산 클래스 모두 분석
  • 이탈 계산이 수학적으로 정확
  • 리밸런싱 임계값 비교가 정확
  • 마진이 활성화된 경우 마진 효율성 분석 포함
  • 위성 추적이 활성화된 경우 위성 분석 포함
  • 네 개의 계절 경제 맥락 제공
  • 모든 비율의 합계가 100% (반올림 오차 허용)
  • YAML이 유효하고 파싱 가능
  • 모든 기준이 충족되면 응답에 <promise>✓ 품질 기준 충족</promise> 포함

컨텍스트

이 분석은 영구 포트폴리오 관리의 핵심입니다. Harry Browne은 경제 주기의 "네 개의 계절"인 모든 경제 상황에서 균형을 제공하기 위해 25/25/25/25 배분을 설계했습니다. 이탈 분석은 이 균형을 유지하기 위해 리밸런싱이 필요한 시점을 결정하는 데 도움을 줍니다.

마진 분석은 사용자가 마진 사용이 비용 효율적인지 이해할 수 있도록 실제 지불된 수수료와 계산된 비용 및 예상 이점을 비교합니다.

작업 컨텍스트

Harry Browne의 영구 포트폴리오 전략을 구현하는 자동화된 일일 포트폴리오 분석입니다.

영구 포트폴리오는 다양한 경제 조건에서 성과를 내도록 설계된 네 가지 자산 클래스에 걸쳐 동일한 25% 비율을 유지합니다:

  • 주식 (25%): 번영/성장
  • 장기 국채 (25%): 디플레이션/불황
  • 금 (25%): 인플레이션
  • 현금/국채 (25%): 긴축/불황

이 워크플로우:

  1. bin/robinhood positions --save CLI를 통해 포트폴리오 데이터 수집
  2. 25/25/25/25 목표 대비 현재 배분 분석
  3. 위성 주식 선택 추적 (선택 사항, 주식 배분의 10-20%)
  4. 마진 사용 효율성 대비 지불 수수료 평가
  5. 이탈이 사용자 정의 임계값을 초과할 때 리밸런싱 권장 사항 생성
  6. 수동 검토를 위한 사람이 읽을 수 있는 일일 보고서 생성

중요: 이 시스템은 읽기 전용입니다. 거래가 자동으로 실행되지 않습니다. 모든 권장 사항은 수동 검토 및 실행이 필요합니다.

필수 입력

이전 단계의 파일 - 먼저 읽으십시오:

  • portfolio_balancer/data/portfolio_snapshot.yml (collect_portfolio_data에서 생성)

작업 브랜치

브랜치 형식 사용: deepwork/portfolio_balancer-[인스턴스]-YYYYMMDD

  • 일치하는 작업 브랜치에 있는 경우: 계속 사용
  • main/master에 있는 경우: git checkout -b deepwork/portfolio_balancer-[인스턴스]-$(date +%Y%m%d)로 새 브랜치 생성

출력

필수 출력:

  • portfolio_balancer/data/allocation_analysis.yml

가드레일

  • 이 단계에 종속성이 있는 경우 사전 조건 확인을 건너뛰지 마십시오
  • 부분 출력을 생성하지 말고, 종료 전에 필요한 모든 출력을 완료하십시오
  • 필수 입력 없이 진행하지 말고, 누락된 경우 사용자에게 요청하십시오
  • 이 단계의 정의된 출력 범위를 벗어난 파일을 수정하지 마십시오

완료 시

  1. 출력이 생성되었는지 확인
  2. 사용자에게 알림: "2/4단계 완료, 출력: portfolio_balancer/data/allocation_analysis.yml"
  3. 워크플로우 계속: Skill 도구를 사용하여 /portfolio_balancer.generate_recommendations 호출

참조 파일: .deepwork/jobs/portfolio_balancer/job.yml, .deepwork/jobs/portfolio_balancer/steps/analyze_allocation.md

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

majiayu000/claude-skill-registry-data

Edit existing BMAD agents while maintaining compliance

majiayu000/claude-skill-registry-data

Edit existing BMAD agents while maintaining compliance

majiayu000/claude-skill-registry-data

Edit existing BMAD modules while maintaining coherence

majiayu000/claude-skill-registry-data

Edit existing BMAD modules while maintaining coherence

majiayu000/claude-skill-registry-data

Analyzes current state and user query to answer BMad questions or recommend the next workflow or agent. Use when user says what should I do next, what do I do now, or asks a question about BMad

majiayu000/claude-skill-registry-data

Build AI agents with Google ADK Python (Agent Development Kit). Use for multi-agent systems, workflow agents (sequential/parallel/loop), Vertex AI deployment, tool integration, human-in-the-loop.

majiayu000/claude-skill-registry-data

Build AI agents with Google ADK Python (Agent Development Kit). Use for multi-agent systems, workflow agents (sequential/parallel/loop), Vertex AI deployment, tool integration, human-in-the-loop.

majiayu000/claude-skill-registry-data

Portfolio allocation and rebalancing optimizer. Manages asset allocation across stocks/cash/bonds, performs periodic rebalancing, and ensures diversification according to market regime and risk tolerance.

majiayu000/claude-skill-registry-data

Create a hilarious and ultra-realistic video of an anthropomorphic animal acting like a human vlogger in a real-world setting.

majiayu000/claude-skill-registry-data

Speech-to-text transcription and translation via OpenAI Audio API -- models, response formats, timestamps, prompting, streaming, chunking, and diarization

majiayu000/claude-skill-registry-data

This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.

majiayu000/claude-skill-registry-data

小省导购员数字人带货版即梦视频提示词生成系统,基于四大智能体协同(提示词生成师、质量管控师、知识库运维师、跨环节适配师),按照"主体+运动+场景+(镜头语言+光影+氛围)"公式输出中英文双版提示词,适配5s短视频。确保人物一致性、视觉连贯性、情绪连贯性,支持知识库智能复用和跨工具适配(Suno音乐、AI绘画),为数字人带货视频提供高质量提示词生成服务。

majiayu000/claude-skill-registry-data

Upload and manage files using Google Gemini File API via scripts/. Use for uploading images, audio, video, PDFs, and other files for use with Gemini models. Supports file upload, status checking, and file management. Triggers on "upload file", "file API", "upload image", "upload PDF", "upload video", "file management".

majiayu000/claude-skill-registry-data

Analyze images/audio/video with Gemini API (better vision than Claude). Generate images (Imagen 4), videos (Veo 3). Use for vision analysis, transcription, OCR, design extraction, multimodal AI.

majiayu000/claude-skill-registry-data

Analyze images/audio/video with Gemini API (better vision than Claude). Generate images (Imagen 4), videos (Veo 3). Use for vision analysis, transcription, OCR, design extraction, multimodal AI.

majiayu000/claude-skill-registry-data

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

majiayu000/claude-skill-registry-data

Conduct domain and industry research. Use when the user says "lets create a research report on [domain or industry]

majiayu000/claude-skill-registry-data

Conduct market research on competition and customers. Use when the user says "create a market research report about [business idea]".

majiayu000/claude-skill-registry-data

Conduct technical research on technologies and architecture. Use when the user says "create a technical research report on [topic]".

majiayu000/claude-skill-registry-data

Builds, edit or validate Agent Skill through conversational discovery. Use when the user requests to "Create an Agent", "Optimize an Agent" or "Edit an Agent".

관련 스킬