CtrlK
BlogDocsLog inGet started
Tessl Logo

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.

52

Quality

57%

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 ./plugins/AI-Agents-Safe-Coding-Skills-claude/skills/risk-metrics-calculation/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

22%Scale 1-5

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

This skill is essentially a placeholder that provides no actionable guidance for calculating risk metrics. It contains no code examples, no formulas, no specific methodology, and relies entirely on a referenced file that doesn't exist in the bundle. The instructions are generic statements that could apply to any domain.

Suggestions

Add executable Python code examples for at least the core metrics (VaR, CVaR, Sharpe ratio) using numpy/scipy or pandas

Replace generic instructions ('Apply relevant best practices') with specific workflow steps: e.g., 1. Gather return series, 2. Calculate rolling VaR at specified confidence level, 3. Validate against historical drawdowns

Include the actual implementation-playbook.md in the bundle, or inline the essential formulas and code patterns directly in the SKILL.md

Add concrete input/output examples showing what data format is expected and what the calculated metrics look like

DimensionReasoningScore

Conciseness

The 'Use this skill when' and 'Do not use this skill when' sections add some padding, and the instructions are generic platitudes ('Clarify goals, constraints, and required inputs') rather than domain-specific guidance. However, it's not excessively verbose.

3 / 5

Actionability

There is no concrete code, no formulas, no specific commands, and no executable examples for calculating VaR, CVaR, Sharpe, Sortino, or drawdown. The instructions are entirely vague ('Apply relevant best practices and validate outcomes').

1 / 5

Workflow Clarity

There is no meaningful workflow or sequence of steps. The four bullet points under Instructions are generic platitudes with no specific sequencing, validation checkpoints, or error recovery guidance for risk metric calculations.

1 / 5

Progressive Disclosure

The skill references `resources/implementation-playbook.md` for detailed patterns, which is appropriate progressive disclosure in principle. However, no bundle files are provided to verify the reference exists, and the SKILL.md itself provides essentially zero useful content as an overview—it's an empty shell pointing elsewhere.

3 / 5

Total

8

/

20

Passed

Description

92%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.

This is a strong skill description that clearly identifies its domain (portfolio risk metrics), lists specific concrete capabilities (VaR, CVaR, Sharpe, Sortino, drawdown), and provides explicit trigger guidance via a 'Use when' clause. The only minor weakness is that some natural language synonyms for the technical terms could be included to improve discoverability.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions: VaR, CVaR, Sharpe, Sortino, and drawdown analysis. These are well-defined, concrete risk metrics covering comprehensive portfolio risk measurement capabilities.

5 / 5

Completeness

Clearly answers both 'what' (calculate portfolio risk metrics including VaR, CVaR, Sharpe, Sortino, drawdown analysis) and 'when' (measuring portfolio risk, implementing risk limits, building risk monitoring systems) with explicit trigger phrases via a 'Use when' clause.

5 / 5

Trigger Term Quality

Includes strong natural keywords like 'portfolio risk', 'VaR', 'CVaR', 'Sharpe', 'Sortino', 'drawdown', 'risk limits', and 'risk monitoring'. Missing some synonyms or variations users might say such as 'value at risk', 'conditional value at risk', 'maximum drawdown', 'risk-adjusted returns', or 'volatility'.

4 / 5

Distinctiveness Conflict Risk

Highly distinctive with a clear niche in quantitative portfolio risk measurement. The specific metric names (VaR, CVaR, Sharpe, Sortino) and use cases (risk limits, risk monitoring systems) create a well-defined scope that is unlikely to conflict with other skills.

5 / 5

Total

19

/

20

Passed

Validation

90%

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

Validation10 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

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

Warning

Total

10

/

11

Passed

Repository
administrakt0r/AI-Agents-Safe-Coding-Skills
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.