Maskara — Development skill for Claude Code
Offline CLI for scanning and redacting secrets from coding-agent session logs.
How to install Maskara
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open mrgoonie/maskara and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Maskara does
Offline CLI for scanning and redacting secrets from coding-agent session logs.
Alternatives in Development
- Ccusage — CLI for analyzing Claude Code/Codex usage from local JSONL files 11.8k ★
- Coding Agent Session Search — Unified TUI and CLI to index and search your local coding agent session history across 11+ providers (Codex, C 708 ★
- Agent Teams Configuration — This file defines coordinated multi-agent workflows for enterprise accessibility scanning in the Claude Code e 219 ★
README

Maskara
[](https://github.com/mrgoonie/maskara/actions/workflows/ci.yml)
Maskara is an offline CLI for scanning coding-agent session logs, finding sensitive values, redacting local copies, and producing a rotation report.
Name meaning: `maskara` mixes `mascara` and `mask`. If you do not want to cry your mascara away after leaking secrets into agent conversations, mask them.
Install
go install github.com/mrgoonie/maskara/cmd/maskara@latest
Or download a release binary from GitHub Releases.
Usage
# full workflow: scan, redact with backups, and write a Markdown report
maskara
# print version
maskara --version
maskara -v
# scan only
maskara scan
# scan only Codex logs
maskara scan --agent codex
maskara scan -a codex
# scan Gemini CLI logs from a custom directory
maskara scan --agent gemini --root /path/to/logs
# scan and report
maskara report
# JSON report
maskara report --json
# write report to a file or directory
maskara report --output /path/to/file.md
maskara report -o /path/to/reports/
# install coding-agent guardrails
maskara guardrails
maskara guardrails -a claude
maskara guardrails -a codex
maskara guardrails --dry-run
`maskara` with no subcommand runs the full workflow: scan, redact, and report. Redaction creates `*.maskara.bak` backups before rewriting files.
How it works
flowchart TD
Command["maskara command"] --> Mode{"Subcommand"}
Mode -->|"scan, report, or default"| Targets["Resolve agent targets
auto, all, --agent, --root"]
Targets --> Scanner["Walk local files
skip binary and oversized files"]
Scanner --> Detector["Detect secret patterns"]
Detector --> Findings["Create masked findings
preview and SHA-256 fingerprint"]
Findings --> Report["Write Markdown or JSON report"]
Findings -->|"default workflow only"| Redact["Backup
Related Skills
Cachewhy
Find out why your coding agent's prompt cache broke, and what it cost. Offline forensics for Claude Code and C
Heeler Secrets Scan
Run Heeler secret scanning for a repository or staged changes. Use when comitting code or the user asks to det
Lcc
Compact coding-agent context without summarizing it away. Verbatim, offline, with a receipt and recall for eve
Generate Image Skill
Give your coding agent the power to generate its own images locally with FLUX.1-schnell — free, offline, no AP
Spillage
Find the API keys your coding agents spilled into their logs. Claude Code, Codex, Gemini CLI, Cline and more.
Claude History Manager
CLI tool to browse, search, and optimize Claude Code session logs, history, and claude-mem databases
Related Agents
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and
PR Delivery Agent
Pre-PR secrets scanner, conventional-commit git stager, and GitHub PR publisher (or offline .patch generator w
Local Worker
Coding worker on a local model (Ollama, LM Studio, vLLM) served by the multi-model gateway's upstream. Use whe