Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
glebis avatar

Setup

  • 40 installs
  • 339 repo stars
  • Updated August 4, 2026
  • glebis/claude-skills

Install and configure the CONFIDE local de-identification toolkit: Python deps, Ollama and the default model, and the optimal-default config.

About

One-shot installer and config writer that sets up CONFIDE's dependencies (natasha, scrubadub, phonenumbers, pymorphy2), pulls the Ollama model, and writes defaults so anon and red work with no further config. A developer runs it first to get local PII de-identification ready.

  • Readiness --check table of deps, Ollama, model, and config
  • Local-first; checks and config writes never touch PII

Setup by the numbers

  • 40 all-time installs (skills.sh)
  • Ranked #1,415 of 2,203 Security skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/glebis/claude-skills --skill setup

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs40
repo stars339
Last updatedAugust 4, 2026
Repositoryglebis/claude-skills

What it does

Install and configure the CONFIDE local de-identification toolkit: Python deps, Ollama and the default model, and the optimal-default config.

Files

SKILL.mdMarkdownGitHub ↗

confide:setup

One-shot installer + optimal-default config writer for the CONFIDE local de-identification toolkit. After running this, confide:anon (redact a transcript) and confide:red (residual re-identification risk check) work with no further configuration.

Local-first: all detection and redaction run on the user's machine. Readiness checks and config writing never read, print, or transmit any transcript text or PII — only booleans and the config path.

When to use

Trigger phrasings: "set up confide", "install confide", "configure confide de-id", "confide setup", "get confide ready to anonymize".

How to run

The entrypoint is scripts/setup.py. It imports the shared core (shared/confide_core.py) for the canonical DEFAULTS — do not redefine preferences here.

1. Check readiness (default, no install):

   python3 skills/setup/scripts/setup.py --check

Prints a ✓/✗ table: Python deps importable (natasha, scrubadub, phonenumbers, pymorphy2), Ollama reachable (GET ollama_host/api/tags), the anon_model pulled, llama.cpp on PATH (optional), and whether the config exists. Booleans only — no PII.

2. Install everything (best-effort, tolerates failures):

   python3 skills/setup/scripts/setup.py --install            # core deps + ollama pull
   python3 skills/setup/scripts/setup.py --install --with-presidio   # + optional EN baseline
  • pip-installs: natasha scrubadub phonenumbers pymorphy2 pymorphy2-dicts-ru "setuptools<81"

(setuptools<81 supplies pkg_resources for pymorphy2). Optional presidio-analyzer behind --with-presidio.

  • If ollama is on PATH, runs ollama pull qwen2.5:3b.
  • Each step reports ✓/✗; a failed step never aborts the others.

3. Write the optimal-default config (idempotent):

   python3 skills/setup/scripts/setup.py --write-config   # writes only if absent
   python3 skills/setup/scripts/setup.py --reconfigure    # overwrites with defaults
   python3 skills/setup/scripts/setup.py --show           # print current config

On first run with no config present, the script writes the defaults automatically. --write-config will not clobber an existing (user-customized) config; use --reconfigure to force-reset.

Config lives at ~/.config/confide/config.json.

Chosen optimal preferences (from SPEC.md)

Written from confide_core.DEFAULTS:

KeyValueWhy
engineollamazero-config, Metal-accelerated, handles long docs (llama.cpp 400s on long RU)
anon_modelqwen2.5:3bfast local LLM layer for quasi-PII
red_attacker_modelqwen2.5:3blocal default; it is a floor — a stronger attacker is the true ceiling
languages["ru", "en"]bilingual corpus
layers["regex", "natasha", "llm"]deterministic → RU NER → quasi-PII
redaction_styletyped_placeholder[PERSON], [DATE], … (reversible map kept locally, never shipped)
privacy.local_onlytrueraw text never leaves the machine
privacy.cloud_apisfalsecloud disabled by default
privacy.cloud_only_on_synthetictruecloud attacker only opt-in on synthetic/consented data
ollama_hosthttp://localhost:11434local Ollama

Notes

  • llama.cpp is optional (reproducible engine) — detected and recorded if present, never required.
  • The bigger attacker model for confide:red is optional; the local 3b default under-reports risk.
  • Importable functions for programmatic / tested use: readiness(), ensure_config(reconfigure=False),

install(with_presidio=False), show_config().

Related skills

Securitysecretscompliance

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.