CtrlK
BlogDocsLog inGet started
Tessl Logo

perp-funding-basis

Perpetual futures funding rate analysis and cash-carry basis trading — funding rate regimes, annualized basis signals, carry trade construction, and funding rate arbitrage between exchanges.

63

Quality

79%

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 ./agent/src/skills/perp-funding-basis/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

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

A strong, information-dense reference: executable code, precise thresholds, careful units conventions, and a concrete output template make it highly actionable. The weakest areas are the lack of an explicitly sequenced analysis workflow with validation checkpoints, and minor redundancy explaining perpetual-futures mechanics Claude already knows.

Suggestions

Add an explicit numbered analysis workflow (fetch funding/OI/basis data → validate units and data freshness → classify regime → evaluate carry and divergence signals → render output) with validation checkpoints, e.g. verifying the funding rate is a per-8h decimal before computing annualized figures.

Trim the funding-rate mechanics primer ('Perpetual futures have no expiry date…') and merge the comment block and units-convention block, which restate the same decimal convention twice.

Consider moving the threshold tables and historical pattern statistics into a reference file to keep the always-loaded SKILL.md leaner.

DimensionReasoningScore

Conciseness

The body is dense with skill-specific value (threshold tables, units conventions, OKX endpoint paths, regime thresholds) but includes minor over-explanation of concepts Claude already knows, e.g. 'Perpetual futures have no expiry date… to keep the perpetual price anchored to the spot price.' Not 5 because that mechanics primer and some plain-English restatements (e.g. re-explaining the annualization comment block plus the units-convention block) could be trimmed; not 3 because padding is minor and nearly all content is non-obvious.

4 / 5

Actionability

Guidance is fully executable: runnable functions (funding_regime, annualized_basis, carry_trade_pnl, oi_funding_matrix), concrete numeric examples with worked results ('0.00015 × 3 × 30 × $100,000 = $1,350'), exact OKX API endpoint paths, and a complete output-format template. Not 4 because the common cases (regime detection, basis calc, carry P&L, data access) are all covered with copy-paste-ready code.

5 / 5

Workflow Clarity

The carry-trade execution sequence (steps 1–5) is clearly listed, but there is no explicitly sequenced end-to-end analysis workflow — fetch data → classify regime → compute basis → assess carry/divergence → produce the output format is only implied by section ordering, and validation checkpoints (e.g. sanity-check fetched rates against expected decimal units, confirm both carry legs are equal-sized before entry) are missing. Not 4 because checkpoints are absent rather than a minor gap; not 2 because the execution steps that do exist are well-defined and the output format anchors the end state.

3 / 5

Progressive Disclosure

No bundle files exist (references/, scripts/, assets/ are absent), so the skill is deliberately single-file; it is well-sectioned with clear headers (Core Concepts 1–7, Data Access, Output Format, Notes) and the one cross-skill pointer 'Use load_skill("okx-market")' is clearly signaled and one level deep. Not 5 because at ~250 lines some reference material (e.g. the signal tables and historical pattern statistics) could be split out of the always-loaded overview; not 3 because navigation is easy and nothing is buried.

4 / 5

Total

16

/

20

Passed

Description

75%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 highly specific, well-scoped description with concrete capability language and a distinct crypto-derivatives niche. Its main weakness is the complete absence of a 'when to use' trigger clause, which both caps completeness and weakens natural trigger coverage.

Suggestions

Append a trigger clause such as 'Use when the user asks about funding rates, perpetual futures, basis, or carry trade opportunities in crypto markets.' to answer 'when' explicitly.

Add common user phrasings/synonyms (e.g., 'perps', 'funding payments', 'cash-and-carry') to broaden natural trigger matching.

Keep the third-person, capability-list style while trimming the redundant second mention of 'funding rate' to stay concise.

DimensionReasoningScore

Specificity

The description lists multiple concrete, specific actions: 'funding rate regimes, annualized basis signals, carry trade construction, and funding rate arbitrage between exchanges' — a comprehensive inventory of the skill's capabilities with no vague filler. Not 4 because coverage is complete across all major skill sections with no notable gaps.

5 / 5

Completeness

The 'what' is clearly and fully answered, but there is no 'when' — no 'Use when…' clause or equivalent explicit trigger guidance, which per the judging guidelines caps this dimension at 3. Not 4 because the 'when' is entirely absent rather than merely weakly implied.

3 / 5

Trigger Term Quality

Good natural keyword coverage — 'funding rate', 'basis trading', 'carry trade', 'perpetual futures', 'arbitrage' are phrases a trader would actually say. Not 5 because common variations like 'perps', 'funding arbitrage', or instrument names (BTC/ETH funding) are absent, and no 'Use when' phrasing surfaces the triggers naturally.

4 / 5

Distinctiveness Conflict Risk

A clear niche (crypto perpetual funding/basis analysis) with distinct trigger terms; 'cash-carry basis trading' and 'funding rate arbitrage between exchanges' are unlikely to collide with any other skill. Not 4 because no overlap risk is identifiable — the domain vocabulary is unambiguous.

5 / 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
HKUDS/Vibe-Trading
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.