peekie-attachments

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

A command-line guide for extracting screenshots, logs, and other attached files from an Xcode test-results bundle. An .xcresult bundle is the package Xcode creates after running tests.

In plain words
What is it for?
Saving all attachments or the attachments for one test, and printing their file paths, types, test names, and failure-related status as JSON or a list.
Why use it?
It clarifies the required output directory and explains which options limit the extracted files or only filter the printed manifest.

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 Saving all attachments or the attachments for one test, and printing their file paths, types, test names, and failure-related status as JSON or a list.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dodobrands/peekie/peekie-attachments
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-attachments
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-attachments

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dodobrands/peekie/peekie-attachments"><img src="https://agentmods.dev/badge/skills/dodobrands/peekie/peekie-attachments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 156 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,975 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.00156 $0.01975
Opus 5 $0.00078 $0.00988
Sonnet 5 $0.00031 $0.00395
Haiku 4.5 $0.00016 $0.00198

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

Security

Grade A, and why

peekie-attachments 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/extract-failure-attachments.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-attachments/SKILL.md · 144 lines

How it starts

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

peekie attachments

Extract attachment files from a .xcresult bundle to a directory and print a manifest with qualifiedName, file path, content type, and failure-association metadata.

Synopsis

peekie attachments <xcresult-path> --output-dir <dir> [flags]

--output-dir is required — there is no inspect-only mode; the underlying xcrun xcresulttool export attachments always writes files to disk.

Flags

Flag Default Notes
<xcresult-path> Required positional. Path to the .xcresult bundle.
--output-dir <dir> Required. Directory where attachment files are extracted. Created if missing.
--test-id <id> Limit extraction to a single test. Accepts the bare identifier (ExampleSUITests/foo()) or the full test://com.apple.xcode/... URL. This DOES filter files on diskxcresulttool only writes that test's attachments.
--include <statuses> all 6 (success,failure,expectedFailure,skipped,mixed,unknown) Comma-separated test statuses. Filters the printed JSON / list manifest only — does NOT filter files on disk.
--format json|list json Output format for the printed manifest.
-v, --verbose false Debug-level logging to stderr.

Output shape

--format json (default)

Flat array, sorted by qualifiedName:

[
  {
    "qualifiedName": "ExamplesTests / ExampleSUITests / failureWithAttachment()",
    "name": "Failure context.txt",
    "exportedFileName": "DA864376-…-FDD5.txt",
    "path": "/tmp/att/DA864376-…-FDD5.txt",
    "contentType": "text/plain",
    "isAssociatedWithFailure": false,
    "repetitionNumber": 1,
    "configurationName": "Test Scheme Action"
  },
  {
    "qualifiedName": "ExamplesTests / ExampleSUITests / withAttachment()",
    "name": "Calculation Result.txt",
    "exportedFileName": "67676173-…-396.txt",
    "path": "/tmp/att/67676173-…-396.txt",
    "contentType": "text/plain",
    "isAssociatedWithFailure": false,
    "repetitionNumber": 1,
    "configurationName": "Test Scheme Action"
  }
]

Read the full file on GitHub · 144 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 144 lines · 156 tokens per session scan A c92baaf19232

Subscribe to this mod's changes

peekie-attachments is a skill published in the GitHub repository dodobrands/Peekie (32 stars, last pushed 11d ago), licensed Apache-2.0. It adds 156 tokens to every session and 1,975 once invoked, about $0.0008 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

Bun Test Runner

Fast test execution with Bun's built-in test runner including snapshot testing, mocking, code coverage, lifecycle hooks, DOM testing with happy-dom, and migration from Jest and Vitest to Bun test.

PramodDutta/qaskills · 44 tokens

roundtrip-radar

Per-journey code audit tracing data through complete user flows for bugs, data safety, performance, and round-trip completeness. Discovers workflows, audits each end-to-end, rolls up cross-cutting issues, and supports natural-language flow tracing. Triggers: "roundtrip audit", "trace user journey", "/roundtrip-radar".

Terryc21/radar-suite · 73 tokens

verify

Drive CrowTelemetry's OTLP ingest end-to-end — boot the real receiver, POST OTLP JSON with curl, inspect the SQLite db.

corveil/crow · 30 tokens

redbar.fix

Write the missing tests for the gaps redbar found, following the canonical standard for that layer (Playwright's best practices for e2e, Vitest/Jest idiom for unit, Testcontainers for integration). Reads .redbar/gaps.json, writes one test file per gap, RUNS each test it wrote, and never leaves a failing test behind …

emersonjds/redbar · 113 tokens