Agent skill · Audited from source
Portfolio Manager
skill · LeoYeAI/openclaw-master-skillsMIT licenceAudited 8 Oct 2026 · source 4f3b4a2a472e
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 4f3b4a2a472e and found no filesystem, network or shell access and no hard-coded secrets. What it does: Comprehensive portfolio analysis using Alpaca MCP Server integration to fetch holdings and positions, then analyze asset allocation, risk metrics, individual stock positions, diversification, and generate rebalancing…
Cite
Cite this page
ModelsAtlas. “Portfolio Manager (LeoYeAI/openclaw-master-skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/leoyeai/portfolio-manager
Trust audit
Audit 0.4.1 · source read 8 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | WARN | 2 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 3 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (5)
MEDIUMObfuscation / stealthobf.base64_blob · skills/compdf-conversion-cli/scripts/license.xml:9
<key>k5Ey9KFlkqpj+SDkUw+5ED9lTA3En/qUi0zdrydUCH3kMWTE3Eh65NXnFCaxlY2omY2JHnlEoK7Li7oOEvM7eG5VPdcO/sFlMfoCRdnLYdepJ+uLzYwOWR8W4yQVve/clxVFTVRL4DFleKInGdpAxIbHZT2yi4ADAMENls1N1XSLojRuqXePXDeAT/4Mv4TTx0s
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInformation disclosuredisclose.log_secret · scripts/test_alpaca_connection.py:243
print(f"…")
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWPrompt injectionprompt.authority_framing · references/alpaca-mcp-setup.md:265
1. Regenerate API keys with full permissions
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWPrompt injectionprompt.credential_read · references/alpaca-mcp-setup.md:302
For portfolio analysis only, use read-only API keys if Alpaca supports them. This prevents accidental trading.
- Why
- asks the agent to read credentials
- Fix
- —
LOWPrompt injectionprompt.persistence · references/alpaca-mcp-setup.md:74
Add to `~/.bashrc` or `~/.zshrc` to persist across sessions:
- Why
- instructs the agent to persist itself in the user's environment
- Fix
- —
Audit 0.4.1 · source sha 4f3b4a2a472e · 8 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- PublisherLeoYeAI GitHub userOwner of the repository this skill is read from
- Source folderLeoYeAI/openclaw-master-skills/skills/portfolio-managerThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict4f3b4a2a472eA new audit runs when the source changes
- Repository statusNot archivedLast push 80 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Comprehensive portfolio analysis using Alpaca MCP Server integration to fetch holdings and positions, then analyze asset allocation, risk metrics, individual stock positions, diversification, and generate rebalancing…
--- name: portfolio-manager description: Comprehensive portfolio analysis using Alpaca MCP Server integration to fetch holdings and positions, then analyze asset allocation, risk metrics, individual stock positions, diversification, and generate rebalancing recommendations. Use when user requests portfolio review, position analysis, risk assessment, performance evaluation, or rebalancing suggestions for their brokerage account. --- # Portfolio Manager ## Overview Analyze and manage investment portfolios by integrating with Alpaca MCP Server to fetch real-time holdings data, then performing comprehensive analysis covering asset allocation, diversification, risk metrics, individual position evaluation, and rebalancing recommendations. Generate detailed portfolio reports with actionable insights. This skill leverages Alpaca's brokerage API through MCP (Model Context Protocol) to access live portfolio data, ensuring analysis is based on actual current positions rather than manually entered data. ## When to Use Invoke this skill when the user requests: - "Analyze my portfolio" - "Review my current positions" - "What's my asset allocation?" - "Check my portfolio risk" - "Should I rebalance my portfolio?" - "Evaluate my holdings" - "Portfolio performance review" - "What stocks should I buy or sell?" - Any request involving portfolio-level analysis or management ## Prerequisites ### Alpaca MCP Server Setup This skill requires Alpaca MCP Server to be configured and connected. The MCP server provides access to: - Current portfolio positions - Account equity and buying power - Historical positions and transactions - Market data for held securities **MCP Server Tools Used:** - `get_account_info` - Fetch account equity, buying power, cash balance - `get_positions` - Retrieve all current positions with quantities, cost basis, market value - `get_portfolio_history` - Historical portfolio performance data - Market data tools for price quotes and fundamentals If Alpaca MCP Server is not connected, inform the user and provide setup instructions from `references/alpaca_mcp_setup.md`. ## Workflow ### Step 1: Fetch Portfolio Data via Alpaca MCP Use Alpaca MCP Server tools to gather current portfolio information: **1.1 Get Account Information:** ``` Use mcp__alpaca__get_account_info to fetch: - Account equity (total portfolio value) - Cash balance - Buying power - Account status ``` **1.2 Get Current Positions:** ``` Use mcp__alpaca__get_positions to fetch all holdings: - Symbol ticker - Quantity held - Average entry price (cost basis) - Current market price - Current market value - Unrealized P&L ($ and %) - Position size as % of portfolio ``` **1.3 Get Portfolio History (Optional):** ``` Use mcp__alpaca__get_portfolio_history for performance analysis: - Historical equity values - Time-weighted return calculation - Drawdown analysis ``` **Data Validation:** - Verify all positions have valid ticker symbols - Confirm market values sum to approximate account equity - Check for any stale or inactive positions - Handle edge cases (fractional shares, options, crypto if supported) ### Step 2: Enrich Position Data For each position in the portfolio, gather additional market data and fundamentals: **2.1 Current Market Data:** - Real-time or delayed price quotes - Daily volume and liquidity metrics - 52-week range - Market capitalization **2.2 Fundamental Data:** Use WebSearch or available market data APIs to fetch: - Sector and industry classification - Key valuation metrics (P/E, P/B, dividend yield) - Recent earnings and financial health indicators - Analyst ratings and price targets - Recent news and material developments **2.3 Technical Analysis:** - Price trend (20-day, 50-day, 200-day moving averages) - Relative strength - Support and resistance levels - Momentum indicators (RSI, MACD if available) ### Step 3: Portfolio-Level Analysis Perform comprehensive portfolio analysis using frameworks from reference files: #### 3.1 Asset Allocation Analysis **Read references/asset-allocation.md** for allocation frameworks Analyze current allocation across multiple dimensions: **By Asset Class:** - Equities vs Fixed Income vs Cash vs Alternatives - Compare to target allocation for user's risk profile - Assess if allocation matches investment goals **By Sector:** - Technology, Healthcare, Financials, Consumer, etc. - Identify sector concentration risks - Compare to benchmark sector weights (e.g., S&P 500) **By Market Cap:** - Large-cap vs Mid-cap vs Small-cap distribution - Concentration in mega-caps - Market cap diversification score **By Geography:** - US vs International vs Emerging Markets - Domestic concentration risk assessment **Output Format:** ```markdown ## Asset Allocation ### Current Allocation vs Target | Asset Class | Current | Target | Variance | |-------------|---------|--------|----------| | US Equities | XX.X% | YY.Y% | +/- Z.Z% | | ... | ### Sector Breakdown [Pie chart description or table with sector percentages] ### Top 10 Holdings | Rank | Symbol | % of Portfolio | Sector | |------|--------|----------------|--------| | 1 | AAPL | X.X% | Technology | | ... | ``` #### 3.2 Diversification Analysis **Read references/diversification-principles.md** for diversification theory Evaluate portfolio diversification quality: **Position Concentration:** - Identify top holdings and their aggregate weight - Flag if any single position exceeds 10-15% of portfolio - Calculate Herfindahl-Hirschman Index (HHI) for concentration measurement **Sector Concentration:** - Identify dominant sectors - Flag if any sector exceeds 30-40% of portfolio - Compare to benchmark sector diversity **Correlation Analysis:** - Estimate correlation between major positions - Identify highly correlated holdings (potential redundancy) - Assess true diversification benefit **Number of Positions:** - Optimal range: 15-30 stocks for individual portfolios - Flag if under-diversified (<10 stocks) or over-d
Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 4f3b4a2
pip install alpaca-trade-api
git clone https://github.com/LeoYeAI/openclaw-master-skills git -C openclaw-master-skills checkout 4f3b4a2a472e
Commands as the repository documents them: shown, never run by us. Our verdict covers commit 4f3b4a2a472e only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Claude Desktop | Mentioned in its text, not tested | Skills for Claude Desktop · About Claude Desktop |
| OpenClaw | Mentioned in its text, not tested | Skills for OpenClaw · About OpenClaw |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
4f3b4a2a472e
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/leoyeai/portfolio-manager/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
LeoYeAI/openclaw-master-skills
Run tests on BrowserStack. Use when user mentions "browserstack", "cross-browser", "cloud testing", "browser matrix", "test on safari", "test on firefox", or "browser compatibility".
LeoYeAI/openclaw-master-skills
Analyze test coverage gaps. Use when user says "test coverage", "what's not tested", "coverage gaps", "missing tests", "coverage report", or "what needs testing".
LeoYeAI/openclaw-master-skills
Generate Playwright tests. Use when user says "write tests", "generate tests", "add tests for", "test this component", "e2e test", "create test for", "test this page", or "test this feature".
LeoYeAI/openclaw-master-skills
Set up Playwright in a project. Use when user says "set up playwright", "add e2e tests", "configure playwright", "testing setup", "init playwright", or "add test infrastructure".
LeoYeAI/openclaw-master-skills
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding…
LeoYeAI/openclaw-master-skills
PDF conversion toolkit featuring AI layout analysis and OCR. Converts PDFs to Word, Markdown, JSON, PPT, CSV, HTML, and XML for seamless LLM data processing.
Add this badge to your README
[](https://modelsatlas.com/skills/leoyeai/portfolio-manager/)
<a href="https://modelsatlas.com/skills/leoyeai/portfolio-manager/"><img src="https://modelsatlas.com/skills/leoyeai/portfolio-manager/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Portfolio Manager
What does the Portfolio Manager skill do?
Is Portfolio Manager safe to install?
What can Portfolio Manager access on my machine?
Which assistants does Portfolio Manager work with?
How current is this page?
Sources
- github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/portf — the audited source at commit 4f3b4a2a472e and every finding aboveObserved · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Portfolio Manager skill do?
- Is Portfolio Manager safe to install?
- What can Portfolio Manager access on my machine?