Local-first masking for agent workflows

Move sensitive text through AI workflows without losing the shape of the work.

MaskInk gives you a CLI-first path for masking, reviewing, restoring, and writing sensitive content with a safer operational rhythm.

1. INSTALL
curl -fssl https://mask.ink/install.sh | bash
2. CONFIGURE
maskink setup
See MaskInk in action

Terminal-first examples for the workflows you actually need to run.

Treat the homepage like a short operator guide: start with a command, inspect the result, then decide whether to continue into preview or safe write.

Mask logs before agent review
maskink
$ maskink read logs/production.log --stdout
[scan] 4 sensitive values detected
[mask] DB_URL -> <MI_DB_URL_1>
[mask] API_KEY -> <MI_API_KEY_1>
[done] masked output emitted to stdout

Turn noisy production output into review-safe text without flattening the debugging context.

Share config safely
maskink
$ maskink read .env --stdout > .env.masked
DATABASE_URL=<MI_DB_URL_1>
OPENAI_API_KEY=<MI_OPENAI_API_KEY_1>
STRIPE_SECRET=<MI_STRIPE_SECRET_1>

Hand teammates or agents a usable configuration shape without exposing the original values.

Preview transformed text
maskink
$ maskink write prompts/patched.txt --preview
[preview] unresolved placeholders: 0
[preview] target drift: none
[preview] safe write: allowed

Inspect what will be restored before committing real values back to disk.

Use cases / proof

Keep the operational context. Reduce the accidental leak surface.

The core value is not abstract security theater. It is a concrete editing and review loop that stays legible while removing raw values from the path.

Before an agent sees a file

Before

Authorization: Bearer sk_live_abc123... DATABASE_URL=postgres://prod-user:secret@db

After

Authorization: Bearer <MI_API_KEY_1> DATABASE_URL=<MI_DB_URL_1>

Preserve the structure, remove the risk surface.

When reviewing generated patches

Before

Patch references raw credentials inline and is unsafe to replay.

After

Patch operates on placeholders first, then restores only through a checked write path.

Move from ad hoc redaction to a repeatable workflow.

Compact feature grid

Small surface area. Deliberate workflow primitives.

The site should read like a disciplined open-source tool page: concise modules, low chrome, and enough specificity to prove the product posture.

Reversible masking

Replace sensitive values with stable placeholders that can be restored later with intent and checks.

SQLite-backed workspace state

Keep token authority, snapshots, and audit metadata local to the project workspace.

Safe write previews

Block unknown or unresolved placeholders and preview the restore path before mutating files.

CLI-first install path

Public install stays shell-first and direct, with the homepage optimized around fast onboarding.

Docs-like proof surfaces

Homepage sections prioritize examples, command panels, and before/after evidence over slogans.

Agent-ready distribution

The distribution repo can later grow installer, manifests, workers, and adapter assets without reshaping the site.