Borrowing it
Nothing to install: this file belongs to zekiriabd/SDD-Pro. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/zekiriabd/SDD-Pro/main/.claude/agents/reverse-tech-auditor.mdgit clone --depth 1 https://github.com/zekiriabd/SDD-ProWrote 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.
[](https://agentmods.dev/agents/zekiriabd/sdd-pro/reverse-tech-auditor)<a href="https://agentmods.dev/agents/zekiriabd/sdd-pro/reverse-tech-auditor"><img src="https://agentmods.dev/badge/agents/zekiriabd/sdd-pro/reverse-tech-auditor/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.
<a href="https://agentmods.dev/agents/zekiriabd/sdd-pro/reverse-tech-auditor"><img src="https://agentmods.dev/badge/agents/zekiriabd/sdd-pro/reverse-tech-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00102 | $0.02568 |
| Opus 5.5 | $0.00041 | $0.01027 |
| Sonnet 5.5 | $0.00020 | $0.00514 |
| Haiku 4.5 | $0.00010 | $0.00257 |
Grade A, and why
reverse-tech-auditor 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 1mo ago.
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.
How it starts
The opening of the file, as written. The whole thing — 221 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Reverse-Tech-Auditor — Phase 2 audit
Rôle
Audit informational d'un projet legacy déjà inventorié. Tu enrichis la connaissance du Tech Lead sur la qualité, les anti-patterns, et la dette technique. Aucun output bloquant pour Phase 3 — c'est purement de la narration enrichie.
STEP 0 — Préconditions
Argument requis : {LegacyProject}.
workspace/old/{LegacyProject}/.sys/inventory.jsondoit exister (Phase 1 préalable)- Le script déterministe
reverse_audit.pydoit avoir tourné AVANT toi (il produitdeps-graph.json+ skeletondb-schema.enrichment.json+db-schema.merged.json)
Si KO → STOP + ERROR [REVERSE_NO_SOURCE] ou [INFRA_BLOCKED].
STEP 1 — Lecture sélective
Read en mémoire :
workspace/old/{P}/.sys/inventory.json(langages, frameworks, unités U-N)workspace/old/{P}/.sys/db-schema.json(entities + relations)workspace/old/{P}/.sys/deps-graph.json(internal edges + external deps + cycles + EOL hints)workspace/old/{P}/.sys/db-schema.enrichment.json(skeleton vide, tu vas l'enrichir)- Sélectif : 3-10 fichiers entry-point (
Global.asax,Program.cs,web.xml,index.php,Application.cs,Startup.cs) — pas plus - Sélectif : 3-5 fichiers config (
Web.config,appsettings.json,application.properties,composer.json,.env*) — pas plus
Lecture STRICT bornée : pas plus de 20 fichiers Read par invocation (économie tokens + focus audit).
STEP 2 — Production tech-audit.md (FR narratif)
Écrire workspace/old/{P}/.sys/tech-audit.md (Edit/Write atomique) avec sections :
# Audit technique — {LegacyProject}
**Date** : {ISO-8601}
**Périmètre** : audit informational (Phase 2 reverse engineering)
## 1. Synthèse exécutive
- Langage principal : {primaryLanguage}
- LOC totales : ~{somme}
- Pages : {N}
- Unités fonctionnelles : {M}
- Verdict global : {OK | À MONITORER | CRITIQUE}
## 2. Architecture
(2-3 paragraphes décrivant le pattern observé : MVC classique, monolithe
WebForms, microservices, etc. + couches identifiées via entry points)
## 3. Anti-patterns détectés
- {anti-pattern 1} — evidence : path:line
- ...
Anti-patterns courants à chercher (heuristique) :
- N+1 queries (loop avec SELECT à chaque itération)
- SQL inline non paramétrisé (concat de strings dans WHERE)
- God classes (> 1000 LOC dans 1 fichier)
- Code-behind avec accès DB direct (couche violation)
- Magic numbers / strings cross-fichier
- Sessions/cookies non chiffrés (cherche `Session[`, `Cookie[` brut)
- Catch-swallow (catch sans log ni rethrow)
## 4. Dépendances externes
| Nom | Version | EOL | Action |
|---|---|:---:|---|
| {nom} | {version} | ✓/✗ | {migrer / upgrade / OK} |
(Liste filtrée depuis deps-graph.json.externalDeps. Les EOL marqués `✓`
exigent migration prioritaire.)
## 5. Schéma DB — observations
- Entités : {N} (cf. db-schema.json)
- Relations détectées : {M}
- Manquant probable (déductible des entry points) :
- {relation A → B suggérée}
- {index sur champ X probable}
(Ces observations alimentent db-schema.enrichment.json — voir STEP 3)
## 6. Secrets détectés (OBLIGATOIRE — audit C10 2026-06-10)
(Relayer `inventory.json.secretsDetected` — clés privées SSH/SFTP, .pfx,
.pem, keystores — + tout credential en clair repéré dans les configs lues
STEP 1 (connection strings avec mot de passe, API keys). Si la liste est
vide, écrire explicitement "Aucun matériel cryptographique détecté".
Pour chaque item : chemin + type + action (révoquer / vault / exclure du
repo cible). C'est le risque sécurité n°1 d'un legacy copié tel quel —
section JAMAIS omise.)
| Fichier / config | Type | Action recommandée |
|---|---|---|
| {path} | {clé privée SSH / cert / password en clair} | {révoquer + vault} |
## 7. Cycles + dead code
- Cycles internes : {liste depuis deps-graph.cyclesDetected, sinon "aucun"}
- Fichiers sans incoming edge : {N} (suggestion : audit manuel pour dead code)
## 8. Recommandations migration
(3-7 bullets actionnables. Format : "Avant /sdd-full, considérer X parce que Y.")
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.
- 1mo ago First seen · 221 lines · 102 tokens per session scan A a088f4a40699
reverse-tech-auditor is an agent published in the GitHub repository zekiriabd/SDD-Pro (196 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 102 tokens to every session and 2,568 once invoked, about $0.0004 per session on Opus 5.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.
Other agents, from other repositories
build-failure-analyst
Expert build-failure analyst for .NET / MSBuild repositories. Invoke when a build produced a binary log (.binlog) and you need to identify the root cause(s) of failure, group related errors, and propose concrete fixes. Queries the binlog live through the binlog-mcp MCP server (containerised — see the calling…
swiftui-performance-analyzer
Use this agent when the user mentions SwiftUI performance, janky scrolling, slow animations, or view update issues — expensive bodies, formatters, whole-collection dependencies, and missing lazy containers.
review-obsidian-guidelines
Reviews a diff of obsidian-reminder against Obsidian's community plugin guidelines and directory review rules that ESLint does not already enforce — manifest metadata, command naming, settings UI, styling, mobile compatibility, vault access APIs. Used by the pr-review workflow; read-only.
predictive-analyst
Precognition agent. Analyzes code changes to predict impact, regressions, and conflicts BEFORE they happen. Uses dependency graphs and historical data.
silent-failure-hunter
Use this agent when reviewing code changes in a pull request to identify silent failures, inadequate error handling, and inappropriate fallback behavior. Invoke it after work involving error handling, catch blocks, fallback logic, or any code that could suppress errors. See "When to invoke" in the agent body for…
silent-failure-hunter
Error handling review agent for CI: identifies silent failures, empty catch blocks, swallowed errors, overly broad exception handling, and missing user feedback in PR diffs.