Credential-safe Claude Code plugin that limits secret exposure through per-command guidance and output redaction.
- version
- 0.0.24
- GitHub stars
- 37
What it does
- Adds a
nopeekskill and three hooks:hooks.json,redact-output.sh, andsession-load.sh - Guides credential-dependent commands so secrets load per command rather than across the whole session
- Redacts cloud CLI stdout on a best-effort basis, so secrets may still leak in some outputs
- Designed for developers who run cloud CLIs that need credentials and
.envfiles in Claude Code
Per-command credential guidance and best-effort cloud CLI stdout redaction. No session-wide credential loading. Powered by the nopeek CLI.
Add marketplace
/plugin marketplace add spences10/claude-code-toolkitRun it inside Claude Code once, then install the plugin below.
Install
/plugin install nopeek@claude-code-toolkitRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourcenopeek — Per-command credentials
When the user says "use nopeek if you need keys", handle the CLI syntax
and key selection yourself. Use npx, pnpx, or bunx as appropriate;
prefer a reviewed, pinned local version for production credentials.
Do not read secret files into tool output or put literal credentials in commands.
nopeek run .env --only API_KEY -- node ./script-that-reads-env.js
nopeek list
nopeek status
nopeek audit
Delivery rules
- Prefer
runin every harness, including Claude Code, Codex, Gemini CLI, OpenCode, Cursor, and Pi. Select only the keys the command needs. runpasses values in the child's environment, not shell assignments. It does not redact child stdout/stderr or prevent the child exposing values.--onlyfilters the input file, not inherited environment variables. Start with a clean parent session; avoidenv,printenv, tracing, verbose auth output, and expanding credentials into command arguments.loadnever writesCLAUDE_ENV_FILE. In detected agent sessions it creates a private, self-removing source file. Source its path only in the shell running the command; never inline its contents or put it into a session env file. Preferrunover this fallback.setandload --persist --only KEYexplicitly store global plaintext keys. They are not project-scoped and are not automatically loaded. Avoid persistence unless specifically requested;runreads a file, not this global store.initaudits cloud auth; it does not migrate it.
Migration and limitations
Update both the CLI and plugin. Older versions injected stored keys and
CLI profiles into every session. Disable legacy SessionStart hooks,
restart affected sessions, and rotate exposed credentials. Updating does
not clear existing shell environments, hook files, histories, or transcripts.
Use nopeek remove KEY only when removal is requested.
The remaining PreToolUse hook applies best-effort regex redaction to
stdout of selected cloud CLI commands. It does not cover stderr,
ps/pgrep, or commands containing pipes/redirections, and requires jq.
It is not a security boundary. File permissions, sandboxes, and redaction
reduce risk but cannot guarantee secrecy from an arbitrary child command.
From the spences10/claude-code-toolkit README
claude-code-toolkit
Productivity and ecosystem tools for Claude Code.
For vendor-agnostic skills usable outside Claude Code's plugin marketplace, use spences10/skills.
Quick Start
# Add marketplace
/plugin marketplace add spences10/claude-code-toolkit
# Install plugins
/plugin install mcp-essentials
/plugin install analytics
/plugin install toolkit-skills
/plugin install claude-workflow
/plugin install dev-environment
/plugin install devops-skills
/plugin install dev-practices
/plugin install nopeek
Plugins
mcp-essentials
Setup guide for recommended MCP servers:
| Server | Purpose |
|---|---|
| mcp-omnisearch | Unified search (Tavily, Kagi, GitHub, Perplexity) |
| mcp-sqlite-tools | Safe SQLite operations |
| mcpick | Manage MCP servers, plugins, cache, and profiles |
Skills: mcp-setup — setup guide for configuring MCP servers
analytics
Query Claude Code usage from ccrecall database:
- Token usage by model/project/day
- Session history
- Thinking block search
Skills: analytics — query token usage and session history
toolkit-skills
Core skills for the toolkit ecosystem.
| Skill | Description |
|---|---|
| ecosystem-guide | Guide to choosing the right tool across the ecosystem |
| research | Verify sources before presenting findings |
| skill-creator | Design and create Claude Skills using progressive disclosure |
| reflect | Extract learnings from sessions and persist to skills |
| plugin-dev | Validate, test, and distribute Claude Code plugins |
claude-workflow
Claude Code workflow patterns.
| Skill | Description |
|---|---|
| advanced-prompting | High-leverage prompts that challenge Claude's defaults |
| claude-md-maintenance | Maintain CLAUDE.md files effectively |
| orchestration | Multi-agent orchestration patterns for team mode |
| structured-rpi | Enhanced Research-Plan-Implement workflow with structured phase gates |
dev-environment
Development environment setup.
| Skill | Description |
|---|---|
| terminal-optimization | Terminal setup for Claude Code (Ghostty, statusline, tmux) |
| worktree-mastery | Git worktree patterns for parallel Claude sessions |
devops-skills
DevOps patterns.
| Skill | Description |
|---|---|
| ci-debug-workflow | Debug failing CI pipelines and reproduce bugs locally |
| techdebt-finder | Find duplicated code, inconsistent patterns, and refactoring opportunities |
| deslop | Identify and remove AI-generated code patterns (slop) |
| improve-codebase-architecture | Find architectural improvement opportunities and deepen shallow modules |
dev-practices
Development practice skills.
| Skill | Description |
|---|---|
| tdd | Test-Driven Development workflow with red-green-refactor cycle |
nopeek
Secret safety for Claude Code sessions. Powered by the nopeek CLI.
| Hook | Event | What it does |
|---|---|---|
| redact-output | PreToolUse(Bash) | Best-effort pattern redaction for selected cloud CLI stdout; not stderr |
Tell your coding agent: Use npx nopeek if you need keys.
Swap npx for pnpx or bunx if that's what you use.
The agent selects keys and uses run for each credential-dependent command.
init is an optional cloud-auth audit, not an installation prerequisite.
Security migration: Update to nopeek CLI 0.0.17 or newer and
nopeek plugin 0.0.24 or newer. Stored credentials
and CLI profiles are no longer automatically loaded into sessions, and
load no longer writes CLAUDE_ENV_FILE. Remove legacy SessionStart
registrations and restart affected sessions. The retired session-load.sh
entry point only prints migration guidance; it never reads stored keys.
Neither updating nor deleting stored keys clears old environments,
session files, histories, or transcripts. Rotate exposed credentials.
Persistence remains explicit, global plaintext, and not project-scoped;
load --persist now requires --only. Prefer per-command run instead.
run --only filters the file, not inherited parent variables, and does
not prevent child output or argument disclosure. Redaction is not a guarantee.
Skills: nopeek — per-command credentials, migration, and limitations
Regression checks (synthetic credentials only):
python3 -m unittest discover -s plugins/nopeek/tests -v
claude plugin validate plugins/nopeek
See the cross-agent assessment for source-backed comparisons and the tested delivery boundary.
Ecosystem
Related projects for Claude Code power users. For portable skills across compatible agents, use spences10/skills.
| Project | What it does |
|---|---|
| nopeek | Per-command credential loading that reduces accidental disclosure |
| svelte-skills-kit | Production-ready Svelte 5 & SvelteKit skills (90%+ verified accuracy) |
| claude-skills-cli | Create skills with progressive disclosure validation and 84% activation hooks |
| mcpick | Manage MCP servers, plugins, cache, and profiles from the CLI |
| ccrecall | Sync Claude Code transcripts to SQLite for usage analytics and search |
Local Development
git clone git@github.com:spences10/claude-code-toolkit.git ~/repos/claude-code-toolkit
# Add local marketplace
/plugin marketplace add ~/repos/claude-code-toolkit
# Install plugin
/plugin install mcp-essentials
Releasing Updates
Version lives in one place: .claude-plugin/marketplace.json. Bump all
"version" values there, commit, and push. Users with auto-update get
changes on startup. Others run /plugin update plugin-name@spences10-claude-code-toolkit.
Details
- Marketplace
- spences10/claude-code-toolkit
- Source
- plugins/nopeek
- Author
- Scott Spence
- Category
- Hooks
- License
- MIT
- Keywords
- secrets, redaction, env, credentials, nopeek, safety
- Listed since
- Apr 7, 2026
More from spences10/claude-code-toolkit
All 8Similar to nopeek
More Security
PasteShield Reversible Secret SanitizerMCP server963239327Reversible local secret sanitizer for AI prompts, with placeholder vault and restore tools.
env-secrets-managerSkillalirezarezvani/claude-skills698 installsEnv and secrets hygiene for local and production, from auditing .env files to planning rotation.
safety-hooksPluginpchalasani/claude-code-tools2K starsProvides safety guards to block or require confirmation for risky CLI operations (e.g., rm, destructive git actions, .env access, large file operations)
secrets-managementSkillwshobson/agents13.8K installsSecrets management patterns for CI/CD using Vault, AWS Secrets Manager, and native platform stores, without hardcoded credentials.
protect-secretsPluginkaranb192/claude-code-hooks587 starsSecrets firewall for tool calls: denies (or asks, per level) any Read/Edit/Write/Bash/Grep that would read, search, modify, or exfiltrate .env files, SSH keys,
secrets-scannerPluginmintmcp/agent-security77 starsScans for common credentials across cloud, source control, payment, and collaboration providers
