yellowsand1

Assaystone — Security skill for Claude Code

Security community

Audit AI agent traces for silent failures — deleted tests, forbidden edits, unsupported claims — then turn findings into acceptance contracts for CI and runtime.

How to install Assaystone

This entry records only its repository, not the path inside it, so there is no exact command to give. Open yellowsand1/assaystone and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Assaystone does

Audit AI agent traces for silent failures — deleted tests, forbidden edits, unsupported claims — then turn findings into acceptance contracts for CI and runtime. Claude Code / LangSmith / Langfuse / OTel input. Mutation testing and backtesting included.

Alternatives in Security

  • Query Token Audit — Audit token security to detect scams, honeypots, and malicious contracts across BSC, Base, Solana, and Ethereu 483 ★
  • Memory Self Review — Mine recent agent history (claude-mem + usage stats) for recurring failures and repeated patterns, audit MEMOR 297 ★
  • Loongsuite Pilot — Local-first telemetry collector for AI coding agents — unified OpenTelemetry events for Claude Code, Codex, Cu 150 ★

README

Assaystone

Assaystone

**Your agent's tests pass. Did it delete the failing test?**

![ci](https://github.com/yellowsand1/assaystone/actions/workflows/ci.yml/badge.svg) [![pypi](https://img.shields.io/pypi/v/assaystone)](https://pypi.org/project/assaystone/) [![release](https://img.shields.io/github/v/release/yellowsand1/assaystone)](https://github.com/yellowsand1/assaystone/releases) ![status](https://img.shields.io/badge/status-alpha-orange) ![python](https://img.shields.io/badge/python-3.10%2B-blue) ![license](https://img.shields.io/badge/license-Apache--2.0-blue)

Assaystone audits existing agent traces for silent failures — the failures a green test suite cannot see. Point it at a transcript; get findings and a suggested contract in seconds. Then gate CI and runtime with the same contract, and prove the checks work with mutation testing and backtesting.

Assaystone auditing a Claude Code transcript and finding a deleted failing test
python3 -m assaystone demo audit
audit-demo-session  changed: pricing/discounts.py, tests/test_discounts.py
  HIGH     tests.integrity          tests/test_discounts.py (modified)

summary: 0 critical, 1 high, 0 medium, 0 low

The agent fixed the rounding bug, then deleted the one test it still failed, and reported success. `tests.pass` saw a green suite. The audit found the deleted test.

The rest of the loop:

python3 -m assaystone demo        # code/test verifier pack
python3 -m assaystone demo ops    # runtime gate + ops/refund pack

The code demo compares a naive contract (`tests + syntax`) with a hardened one: **1/4 vs 4/4** defects caught, and mutation testing raises verifier recall from **67% to 94%**. The ops demo catches **0/4 vs 4/4** bad refunds, and the runtime gate blocks a denied approval and an over-limit refund.

What a passing test suite misses

| Defect | `tests.pa