CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

risk-metrics-calculation

Calculate portfolio risk metrics including VaR, CVaR, Sharpe, Sortino, and drawdown analysis. Use when measuring portfolio risk, implementing risk limits, or building risk monitoring systems.

Quality

68%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./skills/risk-metrics-calculation/SKILL.md

The canonical home for this skill is risk-metrics-calculation in rmyndharis/antigravity-skills

SKILL.md
Quality
Evals
Security

Quality

Content

40%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is token-efficient but is generic template text: no concrete formulas, code, or sequenced workflow for any of the named risk metrics, and it delegates all substance to a playbook file that is absent from the bundle. As shipped, the skill gives Claude nothing actionable to execute.

Suggestions

Replace the generic Instructions bullets with concrete guidance: key formulas or executable code for each named metric (e.g., historical vs. parametric VaR, CVaR from the tail of the loss distribution, Sharpe = (Rp - Rf)/sigma_p, Sortino using downside deviation, max drawdown from the equity curve).

Add a sequenced workflow with validation checkpoints, e.g.: 1) gather/normalize the return series, 2) compute each metric, 3) sanity-check outputs (e.g., CVaR >= VaR, Sortino >= Sharpe for the same series) before reporting.

Ship the referenced resources/implementation-playbook.md or inline its essential content — the body's only reference is a dangling pointer, so progressive disclosure currently leads nowhere.

DimensionReasoningScore

Conciseness

The body is short and assumes Claude's competence with no concept explanations, but the "Comprehensive risk measurement toolkit..." intro and "Use this skill when" list duplicate the frontmatter description, and "The task is unrelated to risk metrics calculation" is vacuous filler — 'minor instances that could be trimmed', short of the every-token-earns-its-place anchor 5.

4 / 5

Actionability

Instructions are generic template directives ("Clarify goals, constraints, and required inputs", "Apply relevant best practices and validate outcomes") with no formulas, code, or concrete steps for any metric; the single concrete pointer, `resources/implementation-playbook.md`, targets a file that does not exist in the bundle. This matches anchor 2 (high-level hints, missing specific steps) rather than 1 because the file pointer is at least a concrete navigation hint.

2 / 5

Workflow Clarity

"Clarify goals → apply best practices → provide actionable steps" is a rough generic pseudo-sequence with many gaps — no ordered workflow for computing or validating any risk metric, and validation appears only as the abstract phrase "validate outcomes" with no checkpoint. This is a multi-method domain skill, so the simple-skill exception does not apply; it fits anchor 2, not 3, because the listed steps are template boilerplate rather than actual task steps.

2 / 5

Progressive Disclosure

The body's structure depends entirely on one clearly-signaled reference ("If detailed examples are required, open `resources/implementation-playbook.md`") that is a dangling pointer — no resources/ directory (or references/, scripts/, assets/) exists in the bundle, so navigation dead-ends and the skill collapses to a 36-line stub. Fits anchor 2 (minimal effective structure); not 3, because there the references at least resolve.

2 / 5

Total

10

/

20

Passed

Description

83%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: it names concrete metrics, uses third person, and pairs a clear 'what' with an explicit multi-phrase 'Use when' trigger clause. Minor improvements possible via synonyms ("expected shortfall", "Value at Risk") and slightly broader action coverage.

DimensionReasoningScore

Specificity

Lists several specific metric-level capabilities ("VaR, CVaR, Sharpe, Sortino, and drawdown analysis") but hinges on a single action verb ("Calculate") with minor coverage gaps (no calculation method or input context), matching 'several specific actions; minor gaps' rather than the comprehensive multi-action anchor 5.

4 / 5

Completeness

Explicitly answers both what ("Calculate portfolio risk metrics including VaR, CVaR, Sharpe, Sortino, and drawdown analysis") and when ("Use when measuring portfolio risk, implementing risk limits, or building risk monitoring systems") with concrete trigger phrases, mirroring the anchor-5 example. It exceeds anchor 4 because the 'when' clause is already explicit and multi-phrase rather than needing more specificity.

5 / 5

Trigger Term Quality

"measuring portfolio risk", "implementing risk limits", and "building risk monitoring systems" are phrases users would naturally say, plus distinctive metric keywords; a few natural synonyms are missing (e.g., "expected shortfall", "Value at Risk" spelled out), which fits anchor 4 rather than the comprehensive synonym coverage of 5.

4 / 5

Distinctiveness Conflict Risk

Metric names (VaR, CVaR, Sortino, drawdown) carve out a clear niche with distinct triggers, but "measuring portfolio risk" and "building risk monitoring systems" could overlap with broader portfolio-management or quant-finance skills — 'mostly distinct; minor overlap risk', not the minimal-conflict anchor 5.

4 / 5

Total

17

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository

administrakt0r/AI-Agents-Safe-Coding-Skills

Path

skills/risk-metrics-calculation/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.