# Analyze Portfolio Concentration

Portfolio concentration is difficult to compare across uneven position amounts without consistent metrics. This skill returns total value, largest share, and HHI from supplied amounts.

## Install

```bash
npx skillstore add requiredtruth/igneos-finance-portfolio-concentration
```

## Metadata

- Status: approved
- Slug: requiredtruth-igneos-finance-portfolio-concentration
- Skillstore revision: r1
- Version status: missing
- Tree hash: e52eb2f6be09ad7b9dd9790514ae82ab5eea5c04fcf7ccf7a17679009b1715b8
- Author: requiredtruth
- GitHub username: requiredtruth
- Repository: https://github.com/requiredtruth/igneos.systems/tree/269e35454f027590f9a407361acedd6815297764/skills/igneos-finance-portfolio-concentration
- Ref: 3ade555a0d4d667043fbccea630ce3e9babcc9f0
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network
- Quality score: 64
- Public page: https://skillstore.pages.dev/skills/requiredtruth-igneos-finance-portfolio-concentration
- Manifest: https://skillstore.pages.dev/api/skills/requiredtruth-igneos-finance-portfolio-concentration/manifest

## Capabilities

- Accepts a comma-separated string of portfolio amounts.
- Calculates the total of the supplied amounts.
- Reports the largest position as a percentage of total value.
- Calculates a concentration index using HHI-style squared shares.
- Returns results through the documented Igneos Systems API or MCP tool.

## Use Cases

- Review a Personal Portfolio: Check whether a personal investment portfolio is dominated by one or a few positions.
- Prepare an Investment Report: Add consistent concentration metrics to a portfolio review or client briefing.
- Monitor Treasury Exposure: Compare concentration across treasury balances before making allocation or risk-management decisions.

## Prompt Templates

### Basic Concentration Check

```
Calculate portfolio concentration for these amounts: 50, 30, 20.
```

### Compare Two Portfolios

```
Calculate total value, largest share, and HHI for Portfolio A: 60, 25, 15 and Portfolio B: 40, 35, 25. Compare the results.
```

### Review Position Imbalance

```
Analyze these position amounts: 80000, 12000, 5000, 3000. Report the dominant position, largest share, HHI, and a concise concentration interpretation.
```

### Build a Repeatable Review

```
For each portfolio in this list, calculate total value, largest position share, and HHI. Return a compact comparison and flag portfolios where one position exceeds 50 percent.
```

## Limitations

- Requires access to the external Igneos Systems service.
- Each call costs 0.005 USDC through the documented x402 payment flow.
- It does not identify assets, prices, issuers, or investment objectives.
- It does not provide investment advice or assess whether concentration is appropriate.

## Best Practices

- Use non-negative amounts with consistent units.
- Confirm the payment details and external data-sharing choice before execution.
- Interpret concentration metrics alongside portfolio objectives and asset risk.

## Anti Patterns

- Do not treat HHI as a complete measure of portfolio risk.
- Do not mix currencies or valuation dates in one calculation.
- Do not approve a wallet payment without checking the recipient, amount, network, and expiry.

## Security Audit

- Audited at: 2026-12-05T10:58:36.499\+00:00
- Summary: The ten external-command findings are false positives because they match fenced command and data examples in documentation, not executable skill code. The four URL findings and the reconnaissance finding are false positives for documented service references. A medium semantic risk remains because the skill sends supplied amounts externally and directs a paid wallet authorization flow.

## Stats

- Views: 0
- Downloads: 0
- Favorites: 0
- Popularity score: 0
