peekie-coverage

peekie-coverage is a skill for Claude Code from dodobrands/Peekie. It costs 115 tokens per session (1,177 once invoked), scanned A, original, Apache-2.0.

A tool for extracting code coverage from an Xcode .xcresult bundle, the report file produced by Apple development tools. Code coverage shows how much of the code was executed by tests, including results by module and file.

In plain words
What is it for?
Use it to get overall coverage, compare modules, inspect covered and total lines per file, or output the data as JSON or a readable list.
Why use it?
It turns coverage data into a structured report that is easier to review or process in automation.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the peekie plugin — 6 skills shipped together

Good fit Use it to get overall coverage, compare modules, inspect covered and total lines per file, or output the data as JSON or a readable list.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dodobrands/peekie/peekie-coverage
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 dodobrands/Peekie --skill peekie-coverage
Clone the repo
git clone --depth 1 https://github.com/dodobrands/Peekie

Made for: Claude Code.

Or install peekie, the plugin that ships this one along with the rest of its 6 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dodobrands/peekie/peekie-coverage"><img src="https://agentmods.dev/badge/skills/dodobrands/peekie/peekie-coverage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,177 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00115 $0.01177
Opus 5 $0.00057 $0.00589
Sonnet 5 $0.00023 $0.00235
Haiku 4.5 $0.00012 $0.00118

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

Security

Grade A, and why

peekie-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 11d 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.

agent/skills/peekie-coverage/SKILL.md · 126 lines

How it starts

The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.

peekie coverage

Emit code coverage from a .xcresult bundle as a hierarchical JSON structure (or list).

Synopsis

peekie coverage <xcresult-path> [flags]

Flags

Flag Default Notes
<xcresult-path> Required positional. Path to the .xcresult bundle.
--format json|list json Output format.
-v, --verbose false Debug-level logging to stderr.

There is no --include flag on peekie coverage. Filter modules/files with jq.

Output shape

--format json (default)

{
  "coverage": 0.6234,
  "modules": [
    {
      "name": "Calculator",
      "coverage": 0.71,
      "coveredLines": 167,
      "totalLines": 233,
      "files": [
        {"name": "Calculator.swift", "path": "/.../Calculator.swift", "coverage": 0.71, "coveredLines": 167, "totalLines": 233}
      ]
    },
    {
      "name": "Networking",
      "coverage": 0.42,
      "coveredLines": 84,
      "totalLines": 200,
      "files": [
        {"name": "Client.swift", "path": "/.../Networking/Client.swift", "coverage": 0.50, "coveredLines": 50, "totalLines": 100},
        {"name": "Endpoint.swift", "path": "/.../Networking/Endpoint.swift", "coverage": 0.34, "coveredLines": 34, "totalLines": 100}
      ]
    }
  ]
}
  • Top-level coverage is overall percentage as 0.01.0 (multiply by 100 for percent).
  • Each module and file carries coverage, coveredLines, totalLines.
  • path is the absolute source-file path captured at build time.

--format list

Human-readable, indented by module → file. Good for terminal, not for piping.

Recipes

Overall coverage as a percentage integer

peekie coverage Tests.xcresult | jq '.coverage * 100 | floor'

Overall coverage with one decimal place

peekie coverage Tests.xcresult | jq '(.coverage * 1000 | floor) / 10'

(.coverage * 1000 | floor) / 10 keeps it pure jq — no bc, no printf. For two decimals, use * 10000 | floor) / 100.

Read the full file on GitHub · 126 lines

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. 11d ago First seen · 126 lines · 115 tokens per session scan A c6443f8148d5

Subscribe to this mod's changes

peekie-coverage is a skill published in the GitHub repository dodobrands/Peekie (32 stars, last pushed 10d ago), licensed Apache-2.0. It adds 115 tokens to every session and 1,177 once invoked, about $0.0006 per session on Opus 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-08-30.

Related

Other skills, from other repositories

swift-testing-expert

Expert guidance for Swift Testing: test structure, #expect/#require macros, traits and tags, parameterized tests, test plans, parallel execution, async waiting patterns, and XCTest migration. Use when writing new Swift tests, modernizing XCTest suites, debugging flaky tests, or improving test quality and…

AvdLee/Swift-Testing-Agent-Skill · 73 tokens

swift-testing

Expert guidance on Swift Testing best practices, patterns, and implementation. Use when developers mention: (1) Swift Testing, @Test, #expect, #require, or @Suite, (2) "use Swift Testing" or "modern testing patterns", (3) test doubles, mocks, stubs, spies, or fixtures, (4) unit tests, integration tests, or snapshot…

bocato/swift-testing-agent-skill · 124 tokens

ci

Configure Ginkgo for continuous integration — the recommended CLI flag set and the rationale for each flag (-r -p --randomize-all --randomize-suites --fail-on-pending --fail-on-empty --keep-going --cover --race --trace --json-report --timeout --poll-progress-after/-interval), invoking via go run to pin the CLI to…

onsi/ginkgo · 151 tokens

migrate-vstest-to-mtp

Use this skill before answering, planning, or editing whenever .NET tests or CI are switching from VSTest to Microsoft.Testing.Platform (MTP), or an MTP migration behaves differently. Triggers include "switch from VSTest"; MSTest/NUnit/xUnit MTP enablement; OutputType=Exe only for test projects in…

dotnet/skills · 191 tokens

playwright-ci

Production-ready CI/CD configurations for Playwright — GitHub Actions, GitLab CI, CircleCI, Azure DevOps, Jenkins, Docker, parallel sharding, reporting, code coverage, and global setup/teardown.

zebbern/claude-code-guide · 48 tokens

playwright-testing

E2E testing with Playwright - Page Objects, cross-browser, CI/CD.

alinaqi/maggy · 20 tokens