# Repo Auditor

> Audit repo structure, memory health, compatibility, and security

- Skill: `creanlab/repo-auditor` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add creanlab/repo-auditor`
- Raw SKILL.md: https://api.skillmd.com/api/skills/creanlab/repo-auditor/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Security
- Author: creanlab (https://skillmd.com/u/creanlab)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/creanlab/repo-auditor

---


# Repo Auditor

> Performs structural audit of the Evolution Tamagotchi repository.

## When to Use

- At session start (lightweight check)
- After migration or structural change
- Periodically to check for drift

## Procedure

### 1. Structure Check
Verify these paths exist:
```
AGENTS.md
.agents/rules/*.md (7 files)
.agents/workflows/*.md (11 files)
.agents/skills/*/SKILL.md (5 skills)
.evolution/incidents/
.evolution/experience_units/
.evolution/failure_genomes/
docs/backlog_tama.md
docs/research.md
docs/POMDP_framework.md
schemas/failure-genome.schema.json
```

### 2. Memory Health
```
Count files in .evolution/incidents/
Count files in .evolution/experience_units/
Count files in .evolution/failure_genomes/
Check for orphans (EU without matching INC)
Check staleness (days since last incident)
```

### 3. Compatibility Check
```
Verify web/index.html exists (dashboard)
Verify TAMA_start/ exists (starter kit)
Verify 5 wrapper workflows exist
Verify web/vision.html or vision_legacy.html exists
```

### 4. Security Scan
```
grep for API key patterns in tracked files
Check .gitignore includes: .env, gcp-key.json
Check .evolution/exports/ for unredacted data
```

### Output

Save to `.evolution/audits/AUDIT-YYYYMMDD.json`

