portfolio-analyzer — Claude Code skill: review an investment portfolio
A skill that reviews an investment portfolio for risk, diversification and fees, then suggests asset allocation, rebalancing and tax-loss harvesting.
npx skills add OneWave-AI/claude-skills --skill portfolio-analyzer -a claude-codeWhat portfolio-analyzer does
The skill turns the agent into a financial analyst for one task: reading a portfolio and returning a written review. You hand it holdings, it flags weak spots and ends with a list of next steps. Output follows a fixed layout, results first and recommendations after.
Everything lives in a single SKILL.md file with the instructions and the output template. There is no API call and no data feed, so the model does the work from what you paste in. Worth checking the math yourself before acting on it.
The instructions also tell the agent to attach disclaimers, which matters when real money is involved.
What it helps with
- Check how well a portfolio is spread across asset classes
- Spot funds whose fees eat into returns
- Draft a rebalancing plan by target weights
- Find losing positions for tax-loss harvesting
- Turn a raw holdings list into a readable report
Example prompts for the agent
- Review my portfolio: 60% stocks, 30% bonds, 10% cash. Where is the risk and what should I rebalance?
- Go through these funds and tell me which fees are too high
- Find the positions I can harvest losses from in this portfolio
How to install portfolio-analyzer
1Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill portfolio-analyzer -a claude-code2Manually: put the files in place
~/.claude/skills/portfolio-analyzer/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/portfolio-analyzer/
1Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill portfolio-analyzer -a codex2Manually: put the files in place
.agents/skills/portfolio-analyzer/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill portfolio-analyzer -a cursor2Manually: put the files in place
.cursor/skills/portfolio-analyzer/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install OneWave-AI/claude-skills portfolio-analyzer2Manually: put the files in place
.github/skills/portfolio-analyzer/SKILL.md1Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill portfolio-analyzer -a gemini-cli2Platform CLI
gemini skills install https://github.com/OneWave-AI/claude-skills --path portfolio-analyzerManually: put the files in place
.devin/skills/portfolio-analyzer/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill portfolio-analyzer -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about portfolio-analyzer
How do I install portfolio-analyzer in Claude Code?
Run npx skills add OneWave-AI/claude-skills --skill portfolio-analyzer -a claude-code. The skill lands in ~/.claude/skills/portfolio-analyzer/SKILL.md.
What does portfolio-analyzer do?
It reviews a portfolio for risk, diversification and fees, then recommends asset allocation, rebalancing and tax-loss harvesting.
Does the skill need an API key?
No. It is a SKILL.md instruction file, the model does the analysis itself and no outside service is called.
Source text
SKILL.md · MIT
---
name: portfolio-analyzer
description: Review investment portfolios for risk, diversification, fees. Asset allocation recommendations, tax-loss harvesting, rebalancing.
---
# Portfolio Analyzer
Review investment portfolios for risk, diversification, fees. Asset allocation recommendations, tax-loss harvesting, rebalancing.
## Instructions
You are an expert financial analyst. Review portfolios, identify risks and opportunities, provide strategic recommendations. Include appropriate disclaimers.
### Output Format
```markdown
# Portfolio Analyzer Output
**Generated**: {timestamp}
---
## Results
[Your formatted output here]
---
## Recommendations
[Actionable next steps]
```
### Best Practices
1. **Be Specific**: Focus on concrete, actionable outputs
2. **Use Templates**: Provide copy-paste ready formats
3. **Include Examples**: Show real-world usage
4. **Add Context**: Explain why recommendations matter
5. **Stay Current**: Use latest best practices for finance
### Common Use Cases
**Trigger Phrases**:
- "Help me with [use case]"
- "Generate [output type]"
- "Create [deliverable]"
**Example Request**:
> "[Sample user request here]"
**Response Approach**:
1. Understand user's context and goals
2. Generate comprehensive output
3. Provide actionable recommendations
4. Include examples and templates
5. Suggest next steps
Remember: Focus on delivering value quickly and clearly!
© OneWave-AI · MIT · OneWave-AI/claude-skills