# Repository Briefing: tornikeo/declaude
> Source: https://repoforai.com/repo/tornikeo/declaude (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/tornikeo/declaude
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Python
- **License**: MIT
- **Engineering Health**: B+ (74/100 · Maintenance 35/35 · Adoption 8/25 · Releases 11/20 · License 20/20)
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: MCP, CLI, Local AI
- **Momentum**: 75 ★ total (+2 24h / +75 7d) · 3 forks
- **Topics**: `agent-skill`, `ai-agents`, `claude`, `code-audit`, `codex`, `gemini`, `security`
- **When to Use**: Best for: Teams investigating unexpected behavior after agent-assisted changes and needing to connect Git diffs, local configuration, and tests before approving fixes. Skip if: You need a documented MCP service, comprehensive static or secret scanning for CI, or reliable attribution of who authored a change.

## Overview
```text
### Architecture & Core Mechanics
declaude separates evidence collection from semantic review. The Python 3.9+ entry point, scripts/scan.py, takes a repository path and a Git history window, with opt-in expansion to home-directory agent configuration and local Claude Code transcripts. The scanner has no third-party Python dependencies and can emit JSON. It does not modify or upload files and redacts matched secrets before printing.

SKILL.md defines how a host agent evaluates findings and asks for approval before making changes. references/audit-checklist.md and references/evidence-patterns.md supply the semantic checklist and examples. The concrete integration surfaces are an Agent Skill and a CLI; no MCP server entry point, tool registration, or transport is established.

### Key Capabilities & Differentiators
The workflow covers both repository and workstation artifacts: cross-agent instructions in files such as AGENTS.md and GEMINI.md, Claude memory, permissions.deny settings, blocking hooks, and credentials saved in local settings. It also examines hardcoded field exclusions, success-returning stubs, skipped tests, and changes hidden behind vague commit messages.

The semantic pass can compare research notes with trainer code and flag suspicious gradient detaches, frozen parameters, or repeated embedding computation. Those findings require context: the same code may be intentional. The skill calls for file:line references, commit SHAs, diffs, and severity labels before proposed edits. It is designed for a non-Claude reviewer, such as Codex, Gemini Neon, or a host running an open-weight model. The standalone scanner needs no model.

### Trade-offs & Limitations
Compared with a dedicated secret scanner or a language-specific static analyzer, declaude is better suited to investigating whether Git changes, local agent rules, and tests tell conflicting stories. It is not a replacement for broad secret detection, systematic code scanning, or CI policy enforcement. A deny rule, a skipped test, or a detached gradient is a lead, not proof of tampering or proof that Claude authored the change.

The scanner's read-only boundary makes it suitable for initial triage, but it does not constrain the host agent's write permissions. Keep approval at the host level and review the proposed diff before applying it. Redaction applies to matched secrets in scanner output, not to arbitrary sensitive text a host agent may read from configs or transcripts.

### Hardware & Deployment Guide
For standalone use, run `python3 scripts/scan.py . --weeks 4` with Python 3.9+ and Git available for history inspection. Add `--format json` for downstream processing. Start with repository-only scope; add `--include-home` for user-level configuration and `--include-claude-logs` only when session evidence is needed and approved. Git evidence is bounded by the history available in the local checkout.

For agent-assisted review, install with `npx skills add tornikeo/declaude` or clone into a supported skill directory such as `~/.codex/skills/declaude`. The scanner can run locally without a model API; what a hosted review agent receives depends on the host and the context you supply. Hardware sizing applies to the chosen review model, not the scanner. No published release is listed, so pin a tested commit for repeatable runs.
```

## Key Capabilities
```text
- Integration: SKILL.md defines the Agent Skill workflow; scripts/scan.py is the standalone CLI.
- Git scope: --weeks selects the history window, and --format json provides machine-readable findings.
- Configuration scope: --include-home extends inspection to local agent configuration and memory.
- Transcript scope: --include-claude-logs opts into recent local Claude Code session evidence.
- Triage: The skill calls for file:line references, commit SHAs, diffs, and CRITICAL/HIGH/MEDIUM/INFO severity labels.
- Mutation boundary: The scanner is read-only and redacts matched secrets; the agent proposes edits for approval.
```

## Quick Start / Clone
```bash
npx skills add tornikeo/declaude
```
