Home / hermes-labs-ai / rule-audit · .claude/CLAUDE.md · GitHub

CLAUDE.md@.claude claudeA

CLAUDE.md@.claude is agent-read markdown (claude) from hermes-labs-ai/rule-audit.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# CLAUDE.md — rule-audit

## What This Is
Static analyzer for AI system prompts. Finds contradictions, gaps, and exploitable edge cases.
Pure Python, no LLM dependency. Built at Hermes Labs Hackathon Round 8.

## Project Structure
```
rule_audit/
├── __init__.py      # audit(), audit_file(), AuditReport exports
├── parser.py        # Rule extraction from raw text
├── analyzer.py      # Core analysis: contradictions, gaps, priority, meta, absoluteness
├── edge_cases.py    # EdgeCase generation from AnalysisResult
├── report.py        # AuditReport class + Markdown renderer
└── cli.py           # CLI entry point (python -m rule_audit)

tests/
├── test_parser.py   # Parser unit tests
└── test_analyzer.py # Analyzer unit tests (includes hackathon prompt integration test)
```

## Run Tests
```bash
cd /path/to/rule-audit
pip install -e ".[dev]"
pytest
pytest --cov=rule_audit --cov-report=term-missing
```

## Key Design Decisions
- **No LLM dependency**: All analysis is regex + heuristics. Fast, deterministic, offline.
- **Rule objects are immutable dataclasses**: Parser produces them, analyzer consumes them, nothing mutates.
…

Read the whole file at its exact version.

How to install

Latest version
mdr add hermes-labs-ai/rule-audit/.claude/CLAUDE.md@git:20260913.d6aea49
Exact content
mdr add hermes-labs-ai/rule-audit/.claude/CLAUDE.md@sha256:c833a1ff5d0fe392

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_z5rin5fcqtbjyqav.svg)](https://markdownregistry.com/a/art_z5rin5fcqtbjyqav)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260913.d6aea49 latest2026-09-13 d6aea49 2,782 BA view

Audit of the latest version

A  14 of 14 checks passed. Deterministic, no model, same answer every run.
  • pass: Size between 200 bytes and 200 KB (2782 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

hermes-labs-ai/rule-audit · 3 stars · license MIT · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_z5rin5fcqtbjyqav
GET https://markdownregistry.com/api/v1/resolve?ref=hermes-labs-ai/rule-audit/.claude/CLAUDE.md
GET https://markdownregistry.com/api/v1/blob/c833a1ff5d0fe392d31bf0dfac54907d1d0f1627df6dd9cfb0a9348738367cc4

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from hermes-labs-ai/rule-audit

AGENTS.md agents
hermes-labs-ai/rule-audit · AGENTS.md
git:20260913.d6aea49 · audit A · 3 stars
llms.txt llmstxt
hermes-labs-ai/rule-audit · llms.txt
git:20260923.3cc5946 · audit A · 3 stars
rule-audit skill
hermes-labs-ai/rule-audit · skills/rule-audit/SKILL.md · Audit a named AI system-prompt file for contradictions, coverage gaps, priority ambiguities, meta-paradoxes and…
git:20260920.015a25f · audit A · 3 stars

Every file in hermes-labs-ai/rule-audit

Other files named CLAUDE.md@.claude

CLAUDE.md@.claude claude
imbad0202/academic-research-skills · .claude/CLAUDE.md
git:20260924.f0139b1 · audit A · 49,390 stars
CLAUDE.md@.claude claude
fcakyon/claude-codex-settings · .claude/CLAUDE.md
git:20260827.57286f4 · audit A · 1,153 stars
CLAUDE.md@.claude claude
basecamp/hey-cli · .claude/CLAUDE.md
git:20260729.10f4054 · audit B · 380 stars
CLAUDE.md@.claude claude
basecamp/basecamp-cli · .claude/CLAUDE.md
git:20260125.f5d928c · audit B · 278 stars
CLAUDE.md@.claude claude
serradura/okf · .claude/CLAUDE.md
git:20260711.24e0e55 · audit B · 162 stars
CLAUDE.md@.claude claude
oprogramadorreal/optimus-claude · .claude/CLAUDE.md
git:20260908.5756d41 · audit A · 75 stars
CLAUDE.md@.claude claude
markshust/hcf · .claude/CLAUDE.md
git:20260726.95364dc · audit A · 75 stars
CLAUDE.md@.claude claude
jtmoon79/super-speedy-syslog-searcher · .claude/CLAUDE.md
git:20260714.9648bee · audit A · 60 stars

Browse by kind, by grade A, or by owner.