Skip to content
Back to skills

Mathematical Artifact Validation

ASecurity

Run fail-closed deterministic validation for mathematical and LaTeX artifacts

  • 1,760 stars
  • 0 votes
  • 1 copy
  • 6 views
  • Added September 2, 2026
ai-agentspythongoshellbashnodesecurity

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add a5c-ai/babysitter --skill mathematical-artifact-validation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mathematical Artifact Validation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mathematical Artifact Validation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/a5c-ai-mathematical-artifact-validation/badge)](https://www.skillsdirectory.com/skills/a5c-ai-mathematical-artifact-validation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mathematical-artifact-validation
description: Run fail-closed deterministic validation for mathematical and LaTeX artifacts
allowed-tools:
  - Bash
  - Read
  - Write
  - Glob
  - Grep
metadata:
  specialization: mathematics
  domain: science
  category: mathematical-validation
  phase: 6
graph:
  domains: [domain:mathematics]
  specializations: [specialization:computational-mathematics]
  skillAreas: [skill-area:mathematical-reasoning, skill-area:technical-writing]
  workflows: [workflow:research-validation, workflow:quality-convergence]
  roles: [role:research-scientist, role:computational-scientist]
---

# Mathematical Artifact Validation

## Purpose

Produce reproducible source, structure, and reference evidence. Static validation is not mathematical proof verification.

## Inputs

Source paths, LaTeX artifact, optional BibTeX files, required sections, registry, tool policy, and output manifest paths.

## Shell-only gates

1. `validate_sources.py`: strict UTF-8, nonempty files, no `U+FFFD`, SHA-256 manifest.
2. `validate_math_artifact.py`: braces/environments, required sections, labels, references, theorem target numbering/type, citations.
3. `validate_registry.py`: durable evidence and coverage invariants.
4. `validate_grade.py`: rubric arithmetic/current hashes.
5. Optional compiler command: execute a locally available TeX tool in a run-owned output directory and preserve version, argv, exit code, stdout/stderr, and output hash.

Every task declares `expectedExitCode: 0`. Required-tool unavailability follows policy and is never represented as pass. An agent may classify diagnostics but may not override a failed shell result.

## Security and portability

Use structured file paths, a run-owned workspace, Python standard library, and no Node. Never use lossy decoding. Never overwrite source or prior round artifacts.

## Output

Machine-readable gate manifest with `pass|fail|unavailable`, command/tool version where applicable, exit code, findings, evidence paths, and an explicit claim boundary.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.