crypto-trading-arena: Skill for Claude Code

.agents/skills/pytest-coverage/SKILL.md

pytest-coverage is a skill for Claude Code, Codex from ryan-yuuu/crypto-trading-arena. It costs 22 tokens per session (261 once invoked), scanned A, a copy of pytest-coverage, Apache-2.0.

A testing workflow for Python projects that measures which lines are covered by pytest tests. Pytest runs Python tests, while coverage shows which code the tests exercise.

In plain words
What is it for?
Use it to run tests with coverage, inspect uncovered source lines, add missing tests, and check coverage again.
Why use it?
It reveals untested lines that could hide defects and guides the addition of tests until the stated coverage target is reached.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is ryan-yuuu/crypto-trading-arena's own configuration. It tells Claude Code and Codex how to work on crypto-trading-arena itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything crypto-trading-arena configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ryan-yuuu/crypto-trading-arena. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ryan-yuuu/crypto-trading-arena/main/.agents/skills/pytest-coverage/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ryan-yuuu/crypto-trading-arena

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 pytest-coverage

README.md
[![agentmods](https://agentmods.dev/badge/skills/ryan-yuuu/crypto-trading-arena/pytest-coverage/github.svg)](https://agentmods.dev/skills/ryan-yuuu/crypto-trading-arena/pytest-coverage)
Your own site
<a href="https://agentmods.dev/skills/ryan-yuuu/crypto-trading-arena/pytest-coverage"><img src="https://agentmods.dev/badge/skills/ryan-yuuu/crypto-trading-arena/pytest-coverage/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 pytest-coverage

Your own site · 80×15
<a href="https://agentmods.dev/skills/ryan-yuuu/crypto-trading-arena/pytest-coverage"><img src="https://agentmods.dev/badge/skills/ryan-yuuu/crypto-trading-arena/pytest-coverage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 261 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 100% copy Near-identical to another mod 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.00022 $0.00261
Opus 5 $0.00011 $0.00130
Sonnet 5 $0.00004 $0.00052
Haiku 4.5 $0.00002 $0.00026

Measured 10d ago against content hash 3778add8809c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

pytest-coverage 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 10d 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.

Origin

This is a copy

100% identical to pytest-coverage — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/pytest-coverage/SKILL.md · 29 lines

What it actually says

The goal is for the tests to cover all lines of code.

Generate a coverage report with:

pytest --cov --cov-report=annotate:cov_annotate

If you are checking for coverage of a specific module, you can specify it like this:

pytest --cov=your_module_name --cov-report=annotate:cov_annotate

You can also specify specific tests to run, for example:

pytest tests/test_your_module.py --cov=your_module_name --cov-report=annotate:cov_annotate

Open the cov_annotate directory to view the annotated source code. There will be one file per source file. If a file has 100% source coverage, it means all lines are covered by tests, so you do not need to open the file.

For each file that has less than 100% test coverage, find the matching file in cov_annotate and review the file.

If a line starts with a ! (exclamation mark), it means that the line is not covered by tests. Add tests to cover the missing lines.

Keep running the tests and improving coverage until all lines are covered.

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. 10d ago First seen · 29 lines · 22 tokens per session scan A 3778add8809c

Subscribe to this mod's changes

pytest-coverage is a skill published in the GitHub repository ryan-yuuu/crypto-trading-arena (126 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 22 tokens to every session and 261 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to pytest-coverage, differing in 0 lines, and is treated as a copy.