Communitygithub.com

majiayu000/claude-skill-registry

每日永久組合分析,包含配置偏移與再平衡建議

claude-skill-registry 是什麼?

此技能自動執行每日投資組合分析,遵循哈利·布朗(Harry Browne)的永久組合策略,該策略將資產平均分配於25%的股票、25%的長期債券、25%的黃金與25%的現金/國庫券,以應對不同的經濟情境。工作流程覆蓋從透過`bin/robinhood positions --save` CLI收集羅賓漢平台持倉數據、計算目前配置與目標25/25/25/25的偏移、追蹤衛星選股(選用,佔股票配置的10-20%)、評估保證金使用效率與費用的比對,到生成再平衡建議與結構化的每日報告。系統為唯讀模式,絕不自動執行交易;所有建議均需人工審閱後手動操作。支援 Claude Code 等 AI 代理作為核心技能,透過多步驟工作流程逐步調用,確保數據一致性與安全性。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/majiayu000/claude-skill-registry/tree/HEAD/skills/analysis/portfolio-balancer

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

portfolio_balancer

多步驟工作流程:每日永久組合分析,包含配置偏移與再平衡建議

重要:始終使用技能工具調用步驟。切勿直接複製貼上步驟說明。

自動化每日投資組合分析,實現哈利·布朗的永久組合策略。

永久組合保持資產類別平均各佔25%的配置,以應對不同的經濟環境:

  • 股票 (25%):繁榮/成長
  • 長期債券 (25%):通縮/衰退
  • 黃金 (25%):通膨
  • 現金/國庫券 (25%):資金緊縮/衰退

此工作流程:

  1. 透過 bin/robinhood positions --save CLI 收集投資組合數據
  2. 分析當前配置與 25/25/25/25 目標的偏離情況
  3. 追蹤衛星選股(選用,佔股票配置的 10-20%)
  4. 評估保證金使用效率與支付的費用
  5. 當偏移超過使用者定義的門檻時,生成再平衡建議
  6. 生成人類可讀的每日報告,供手動審閱

重要:此系統為唯讀。不會自動執行任何交易。 所有建議均需手動審閱與執行。

可用步驟

  1. collect_portfolio_data - 使用 bin/robinhood CLI 從 Robinhood 收集當前持倉、價值與價格
  2. analyze_allocation - 計算當前配置百分比、識別偏離目標的偏移、分析保證金效率(需要:collect_portfolio_data)
  3. generate_recommendations - 基於偏移分析建立具體的再平衡建議(需要:analyze_allocation)
  4. generate_report - 編制全面的、人類可讀的每日報告,包含所有分析與建議(需要:collect_portfolio_data, analyze_allocation, generate_recommendations)

執行說明

步驟 1:分析意圖

解析 /portfolio_balancer 後的任何文字,以判斷使用者意圖:

  • "collect_portfolio_data" 或相關術語 → 從 portfolio_balancer.collect_portfolio_data 開始
  • "analyze_allocation" 或相關術語 → 從 portfolio_balancer.analyze_allocation 開始
  • "generate_recommendations" 或相關術語 → 從 portfolio_balancer.generate_recommendations 開始
  • "generate_report" 或相關術語 → 從 portfolio_balancer.generate_report 開始

步驟 2:調用起始步驟

使用技能工具調用已識別的起始步驟:

技能工具:portfolio_balancer.collect_portfolio_data

步驟 3:自動繼續工作流程

每個步驟完成後:

  1. 檢查序列中是否有下一步驟
  2. 使用技能工具調用下一步驟
  3. 重複直到工作流程完成或使用者介入

處理不明確的意圖

如果使用者意圖不明確,請使用 AskUserQuestion 進行澄清:

  • 將可用步驟顯示為編號選項
  • 讓使用者選擇起始點

護欄

  • 切勿直接複製貼上步驟說明;始終使用技能工具調用步驟
  • 除非使用者明確要求,否則不得跳過工作流程中的步驟
  • 若當前步驟的輸出不完整,則不得繼續進行下一步驟
  • 不要假設使用者意圖;在不明確時尋求澄清

情境檔案

  • 作業定義:.deepwork/jobs/portfolio_balancer/job.yml

Individual skills in this repo

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

majiayu000/claude-skill-registry

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".

majiayu000/claude-skill-registry

Edit existing BMAD agents while maintaining compliance

majiayu000/claude-skill-registry

Edit existing BMAD agents while maintaining compliance

majiayu000/claude-skill-registry

Edit existing BMAD modules while maintaining coherence

majiayu000/claude-skill-registry

Edit existing BMAD modules while maintaining coherence

majiayu000/claude-skill-registry

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

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

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

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

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

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

majiayu000/claude-skill-registry

BlockRun works with Claude Code and Google Antigravity.

majiayu000/claude-skill-registry

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

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

majiayu000/claude-skill-registry

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

CRITICAL: Use for MolyKit AI chat toolkit. Triggers on: BotClient, OpenAI, SSE streaming, AI chat, molykit, PlatformSend, spawn(), ThreadToken, cross-platform async, Chat widget, Messages, PromptInput, Avatar, LLM

majiayu000/claude-skill-registry

AI and machine learning workflow covering LLM application development, RAG implementation, agent architecture, ML pipelines, and AI-powered features.

majiayu000/claude-skill-registry

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

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

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

相關技能