measure-portfolio-diversity

measure-portfolio-diversity is a skill for Claude Code, Codex from yogsoth-ai/de-anthropocentric-research-engine. It costs 32 tokens per session (365 once invoked), scanned A, original, Apache-2.0.

A portfolio-diversity measurement method that compares items across declared features, mechanisms, domains, or failure modes. It reports coverage, concentration, duplication, and empty areas.

In plain words
What is it for?
It is for measuring portfolio coverage, finding missing niches, detecting over-concentration, and showing how uncertain classifications affect the result.
Why use it?
It shows whether a portfolio covers genuinely different areas or is concentrated in a few similar niches.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for measuring portfolio coverage, finding missing niches, detecting over-concentration, and showing how uncertain classifications affect the result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yogsoth-ai/de-anthropocentric-research-engine/measure-portfolio-diversity
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add yogsoth-ai/de-anthropocentric-research-engine --skill measure-portfolio-diversity
Clone the repo
git clone --depth 1 https://github.com/yogsoth-ai/de-anthropocentric-research-engine

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for measure-portfolio-diversity

README.md
[![agentmods](https://agentmods.dev/badge/skills/yogsoth-ai/de-anthropocentric-research-engine/measure-portfolio-diversity/github.svg)](https://agentmods.dev/skills/yogsoth-ai/de-anthropocentric-research-engine/measure-portfolio-diversity)
Your own site
<a href="https://agentmods.dev/skills/yogsoth-ai/de-anthropocentric-research-engine/measure-portfolio-diversity"><img src="https://agentmods.dev/badge/skills/yogsoth-ai/de-anthropocentric-research-engine/measure-portfolio-diversity/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for measure-portfolio-diversity

Your own site · 80×15
<a href="https://agentmods.dev/skills/yogsoth-ai/de-anthropocentric-research-engine/measure-portfolio-diversity"><img src="https://agentmods.dev/badge/skills/yogsoth-ai/de-anthropocentric-research-engine/measure-portfolio-diversity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 365 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.00365
Opus 5.5 $0.00013 $0.00146
Sonnet 5.5 $0.00006 $0.00073
Haiku 4.5 $0.00003 $0.00036

Measured 2mo ago against content hash 59b3e2b90a09, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

measure-portfolio-diversity scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/measure-portfolio-diversity/SKILL.md · 40 lines

What it actually says

measure-portfolio-diversity

Purpose

Quantify portfolio diversity and coverage across declared feature, mechanism, domain, or failure-mode dimensions.

Input contract

required: [portfolio, diversity_dimensions, feature_assignments]
optional: [niche_universe, strength_threshold, concentration_measure]
constraints: [niche definitions and distance/overlap rules are explicit]

Procedure

  1. Define niches and assign each portfolio member to them.
  2. Compute coverage, concentration, and duplication using the supplied measure.
  3. Identify empty niches and collapse risks.
  4. Return diversity results with sensitivity to assignment uncertainty.

Output contract

produces: [diversity_metrics, niche_coverage, concentration_risks, empty_niches]
delta_fields: [findings, uncertainties, decisions]

Quality gates

  • Coverage is reported as a fraction of a declared niche universe.
  • A caller-supplied strong-candidate threshold is applied consistently.
  • Concentration and niche collapse are disclosed, not hidden by aggregate diversity.

Parameterization

Caller supplies portfolio schema, niche universe, assignment rules, strength threshold, and concentration metric.

Failure and counterexamples

Reject diversity scores without niche definitions or portfolios assessed on incompatible dimensions.

Provenance map

  • concept: convergence/diversity-maximization
  • concept: convergence/niche-coverage-analysis

Preserved source criteria ledger

source criterion
convergence/diversity-maximization Coverage threshold may be caller-supplied; preserve declared threshold verbatim.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 40 lines · 32 tokens per session scan A 59b3e2b90a09

Subscribe to this mod's changes

measure-portfolio-diversity is a skill published in the GitHub repository yogsoth-ai/de-anthropocentric-research-engine (536 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 32 tokens to every session and 365 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-24.

Related

measure-portfolio-diversity compared with skills from other repositories

measure-portfolio-diversity next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
measure-portfolio-diversityyogsoth-ai/de-anthropocentric-research-engineSkill5361mo agoApache-2.0A32Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code