投资组合风险集中度评分
risk-scoring
根据持仓权重,以 0-100 分制评估投资组合的集中度与风险程度。当用户询问其投资组合的风险高低、是否过于集中,或需要进行分散化检查时使用。
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 1.5w
- Forks
- 2.6k
01 前言 Front Matter
- name
- risk-scoring
- description
- Score how concentrated and risky a portfolio is on a 0-100 scale from its position weights. Use when the user asks how risky their portfolio is, whether it is too concentrated, or for a diversification check.
02 资源文件 3
- 参考文档bmad-skill-manifest.yaml1.1 KB
- 参考文档references/risk-bands.md1.3 KB
- 脚本scripts/risk_score.py1.6 KB
03 SKILL.md 正文
Usage
When the user asks about portfolio risk or concentration:
- Read
references/risk-bands.mdto understand the score bands and what drives them. - Compute each holding's market value (shares × price) — use the
get_stock_pricetool for current prices if you do not already have them. - Run
scripts/risk_score.pywith one--position VALUEargument per holding, e.g.--position 18518 --position 17201 --position 16177. - Report the 0-100 score, the band it falls in, and the largest single-position weight, then suggest (in general terms) whether the portfolio looks well diversified or concentrated.
Remind the user this is a crude concentration measure, not a complete risk model, and not advice.
04 同仓库更多 Skills
draft-release-notes
Create or rewrite Agent Framework release notes from a generated GitHub release log. Use when preparing Python or .NET release notes, filtering mixed-language changelogs, deduplicating changes, preserving inline contributor credits, or documenting breaking-change migrations from pull requests. Requires the user to provide the generated GitHub log, language, and release version before work begins.
Python Agent Framework 应用构建
agent-framework-builder-python
当使用 Microsoft Agent Framework 构建、修改、审查、评估、集成或托管 Python 应用程序时使用此技能。适用于 Agent Framework 智能体、harness 智能体、工作流、编排、声明式定义、工具、会话、中间件、评估、可观测性、集成或托管,即使用户尚未选定正确的框架模式。
.NET Agent Framework 应用构建
agent-framework-builder-dotnet
当使用 Microsoft Agent Framework 构建、修改、审查、评估、集成或托管 .NET (C#) 应用程序时使用此技能。适用于 Agent Framework 智能体、harness 智能体、工作流、编排、声明式定义、工具、会话、中间件、评估、可观测性、集成或托管,即使用户尚未选定正确的框架模式。
Foundry 托管智能体示例验证
foundry-hosted-agent-validation
端到端验证 Python Foundry 托管智能体示例的分步流程(位于 python/samples/04-hosting/foundry-hosted-agents/)——包括本地运行(原生运行时和 `azd ai agent run`)以及使用 `azd` 部署到 Azure AI Foundry 项目后的验证。当被要求验证托管智能体示例时使用。
Foundry 项目配置修复
foundry-config-setup
解决因示例中硬编码 Foundry 项目端点或模型而导致的配置缺失问题。当示例因使用占位符/硬编码的 project_endpoint(例如 "https://your-project.services.ai.azure.com")或硬编码模型,而非从环境中读取这些值时运行失败,请使用此技能。
客户支持沟通风格规范
support-style
Contoso Outdoors 客户支持的语气与格式指南。