SkillsReviewed · glebis

confide:audit

confide:audit is a transcript-auditing skill for people managing AI session collections, but its detection counts cannot prove that personal data is absent. Its Python script produces statistical reports using a shared detector with regex, Natasha and local-LLM layers. The shared detector is outside the supplied files, and a failed follow-up scan is recorded as zero residual detections.

Researched 17 Nov 2026

In short.

confide:audit is a transcript-auditing skill for people checking personal data across AI session folders, but its residual metric can report zero when a follow-up scan fails. The supplied script builds Markdown, JSON and optional HTML reports containing detection counts, masked-character rates and anonymized per-file rows. Its command-line configuration forces an Ollama engine and removes several cloud endpoint settings, but direct calls to its audit function do not apply those safeguards. The shared detector is not supplied, so detection accuracy and end-to-end network behavior remain unknown. Nothing was executed or tested.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage comprises confide/skills/audit/SKILL.md and confide/skills/audit/scripts/audit.py, together with the repository-root LICENSE, at commit 4d37d3b0af1f98cb4ac820d9abbce95e38e909fb. These are all files listed for the supplied skill-folder scope and its related notice. The shared confide core, configuration, setup and sibling skills, dependencies, models and tests are outside the supplied evidence. Findings describe the instructions and static implementation; installation, runtime behavior, network isolation, accuracy and performance were not tested.

The overview

Identity

confide:audit consists of assistant instructions in SKILL.md and a Python command-line script in scripts/audit.py. It belongs to the confide suite within glebis/claude-skills. Its original source location is [https://github.com/glebis/claude-skills/tree/main/confide/skills/audit].

The supplied source is pinned to commit 4d37d3b0af1f98cb4ac820d9abbce95e38e909fb. The resource audits transcript collections for personally identifiable information, or PII, and reports statistics rather than exporting redacted transcripts.

Assessment

The resource offers a useful structure for measuring detector hits across many transcripts while omitting input filenames and transcript excerpts from normal per-file reports. Separate type counts, layer counts and per-session rates can help identify where further privacy review is needed.

Its strongest limitation is that apparent cleanliness is not reliable evidence of privacy. The same detector performs both passes, and failures during the second pass become zero residual detections without an error indicator. The missing shared detector also prevents a complete assessment of detection coverage and local-only operation.

Users

The documented audience is people maintaining folders of session transcripts who want to estimate personal-data exposure before redaction or inspect already-redacted collections. Developers can use the structured JSON output for further local analysis.

Beginners need access to a terminal and a working confide installation. Experienced developers should distinguish detector-hit statistics from accuracy measurements: the reports do not establish how much personal data the detector missed or whether a person could still be identified.

Capabilities

The script recursively gathers .md and .txt files, accepts a single file or an explicit path list, and allows detection layers to be selected. It writes a Markdown report and a JSON sibling, with an optional HTML dashboard.

Outputs include successfully processed file count, first-pass error count, corpus total and mean character counts, document-length buckets, detected spans by type and layer, overall masked-character rate, and minimum, median, mean and maximum per-session rates. A span is a detected text segment, not necessarily a distinct person or identifier.

Per-file rows use identifiers such as own-00 and coarse length buckets instead of source filenames and exact document lengths. The script uses redacted text internally but does not write redacted transcript files.

Using it

Requirements

The script requires Python 3, readable UTF-8 input files, and the shared confide_core module expected at confide/shared/confide_core.py. That module is imported even when only regex detection is requested, so the captured script is not a standalone installation.

The instructions associate the additional layers with Natasha and a local language model through Ollama. Exact Python and dependency versions, model identity, supported languages, hardware requirements and installation sizes are not established by the supplied files.

Mechanism

For each input, audit_paths reads the text and calls core.anonymize. It collects the returned detection statistics, assigns a sequential anonymous identifier, and calls core.anonymize again on the returned redacted text. The second call supplies the residual proxy. The overall redaction rate is calculated from reconstructed masked-character totals divided by corpus character count.

The command-line entry point calls build_config, which forces engine=ollama, removes llm_base_url, openai_api_base and api_base, and sets local-only privacy flags. The shared core determines whether those settings actually prevent remote transport; its implementation is unavailable.

Calling audit_paths directly does not force a local configuration. It accepts a supplied configuration or loads one from the core, so callers cannot assume the command-line safeguards automatically apply to the function.

Setup

Preserve the confide directory structure so the script can locate its shared module. From the confide directory, the documented command is python3 skills/audit/scripts/audit.py FOLDER. The instructions refer to confide:setup for missing detector layers, but that setup resource is not supplied.

The documented regex-only option is --layers regex. The instructions describe this mode as deterministic and offline, although the shared implementation has not been assessed. Use --out to choose the report location and --html to request the dashboard; the output directory must already exist.

Recursive collection skips files ending in .green.md. To inspect those generated redacted files, provide a single file explicitly or use --list with one path per line.

Example

An illustrative command, run from the confide directory with an existing writable output directory, is python3 skills/audit/scripts/audit.py /data/sessions --layers regex --out /data/audit-results/report.md --html. This requests report.md, report.json and report.html outside the transcript folder. It is an example only; no execution or output counts are available.

Interpret the resulting figures as detections made by the chosen layer. Check n_files and n_errors before interpreting zero totals. For already-redacted inputs, first-pass spans_by_type describes remaining detections in the input; residual_proxy describes detections after another redaction pass.

Assessment & evidence

Limitations

The residual proxy is not an independent leakage test. It scans text already redacted by the same detector, so shared blind spots remain invisible. A second-pass exception is converted to zero and does not increase n_errors. Zero therefore cannot distinguish no detections from a failed residual scan.

Input coverage also needs attention. Folder traversal excludes .green.md files, and an empty or unmatched input can produce a zero-file report. File-reading or first-pass processing exceptions are counted without their messages. No accuracy, false-positive rate, recall, speed or memory measurements are supplied.

The output privacy guarantees have boundaries. PII type labels are checked against a core-defined allowlist, but layer labels pass through unchanged and are inserted into HTML without escaping. The console prints chosen report basenames, and path gathering and output writing occur outside the per-file exception handler. Universal claims that every output is free of sensitive text are not established.

Reasoning

This resource fits aggregate privacy triage because its reports summarize where its detector finds candidate personal data without normally exposing the matched text. Comparing results requires consistent inputs, detector configuration and model behavior; otherwise a change in counts may reflect a changed detector rather than changed exposure.

Its masked-character rate measures how much text was masked, not how completely personal data was removed. High rates can include false positives, and low rates can reflect missed detections. Privacy conclusions therefore require evidence beyond this report, particularly an evaluation capable of finding errors the detector itself misses.

Alternatives

Within the same suite, the instructions point to confide:anon for re-redacting transcripts and confide:red for probing re-identification risk. Their implementations are not supplied, so their effectiveness, setup and safety properties are unknown here.

Within audit itself, regex-only mode provides a narrower documented option than the layered configuration. It changes detection coverage rather than establishing equivalent results with fewer dependencies. No comparative measurements or external alternatives are supported by the supplied evidence.

Evidence

The pinned instruction file is available at [https://raw.githubusercontent.com/glebis/claude-skills/4d37d3b0af1f98cb4ac820d9abbce95e38e909fb/confide/skills/audit/SKILL.md]. The implementation is available at [https://raw.githubusercontent.com/glebis/claude-skills/4d37d3b0af1f98cb4ac820d9abbce95e38e909fb/confide/skills/audit/scripts/audit.py].

The accompanying license is available at [https://raw.githubusercontent.com/glebis/claude-skills/4d37d3b0af1f98cb4ac820d9abbce95e38e909fb/LICENSE]. The shared detector, configuration, dependency manifests, setup implementation and tests are not included. No execution results, network traces or measured detection results are available; runtime behavior was not tested.

Access & freshness

Costs

Operating cost is unknown. The supplied files provide no service pricing, hardware estimate, model size, throughput measurement or per-document cost.

The design uses local processing rather than an explicitly priced cloud API in this wrapper. Natasha and Ollama layers may add installation, model-storage and compute requirements, but their resource consumption is not quantified. Local operation should not be interpreted as a demonstrated zero-cost deployment.

Rights

The supplied repository-root MIT License names Gleb Kalinin as copyright holder for 2025–2026. It permits use, modification, distribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions. It supplies the software without warranty.

That notice supports redistribution of the captured skill files with the required notices. It does not establish licensing terms for third-party dependencies or model weights, nor permission to process or share the contents of a transcript collection.

Freshness

These findings describe commit 4d37d3b0af1f98cb4ac820d9abbce95e38e909fb, captured on 17 November 2026 at 07:31:50 UTC. The capture timestamp is not a release date.

The supplied files do not specify a release version or pinned dependency versions. Changes on the moving main branch and compatibility with other detector or model versions are unknown.

Actions

Before using raw transcripts, inspect the shared detector and effective configuration to establish where text is processed. Programmatic integrations should explicitly apply build_config and verify the underlying transport behavior rather than relying on audit_paths to enforce locality.

Use an explicit input list when auditing generated .green.md files, keep reports outside the input folder, and choose non-sensitive report filenames. Confirm processed-file and error counts before interpreting any totals.

For dependable monitoring, distinguish residual-scan failures from zero detections and validate the detector against labeled examples representative of the intended corpus. Treat aggregate reports as diagnostic evidence, not certification that transcripts are anonymous or safe to publish.

Evidence for this report

LICENSEnotice · checked 2026-11-17
confide/skills/audit/SKILL.mdselected · checked 2026-11-17
confide/skills/audit/scripts/audit.pyselected · checked 2026-11-17