Communitygithub.com

majiayu000/claude-skill-registry

每日永久投资组合分析,包括配置偏移和再平衡建议

claude-skill-registry 是什么?

这个技能通过实现哈里·布朗的永久投资组合策略,自动化每日投资组合分析。永久投资组合旨在四种不同的经济条件下表现良好:股票(25%)对应繁荣/增长,长期债券(25%)对应通缩/衰退,黄金(25%)对应通胀,现金/国库券(25%)对应货币紧缩/衰退。该工作流通过 `bin/robinhood positions --save` CLI 收集投资组合数据,分析当前配置与 25/25/25/25 目标的偏差,跟踪卫星股票选择(可选,占股票配置的 10-20%),评估保证金使用效率与支付费用的对比,当偏差超过用户定义的阈值时生成再平衡建议,并输出一份人类可读的每日报告供手动审查。此系统为只读,不自动执行交易,所有建议需手动确认和执行。支持 Robinhood 平台,通过多步骤工作流(收集数据、分析配置、生成建议、生成报告)实现功能。

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

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

投资组合平衡器

多步骤工作流:每日永久投资组合分析,包括配置偏移和再平衡建议

关键:始终使用技能工具调用步骤。切勿直接复制粘贴步骤说明。

自动化每日投资组合分析,实现哈里·布朗的永久投资组合策略。

永久投资组合保持四种资产类别各 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:调用起始步骤

使用技能工具调用标识的起始步骤:

Skill tool: 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.

相关技能