Agent skill

Memstack Security Secrets Scanner

by cwinvestments in cwinvestments/memstack

A skill your agent uses when the user says 'scan for secrets', 'check for leaked keys', 'secrets scanner', 'hardcoded credentials', 'API key leak', or needs to detect exposed secrets in source code.

ProprietaryAuto-check: notesDevOps & Cloud

Install Memstack Security Secrets Scanner

skills CLI
$ npx skills add cwinvestments/memstack --skill memstack-security-secrets-scanner -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cwinvestments/memstack memstack-security-secrets-scanner --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/cwinvestments/memstack.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/security/secrets-scanner .claude/skills/memstack-security-secrets-scanner && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
memstack-security-secrets-scanner
GitHub stars
423
Token cost
~6k tokens
SKILL.md length
1,874 words
Files
1
Skills in repo
87
Repo updated
First seen
Licence
Proprietary

At a glance

A skill your agent uses when the user says 'scan for secrets', 'check for leaked keys', 'secrets scanner', 'hardcoded credentials', 'API key leak', or needs to detect exposed secrets in source code.

  • Works in 11 steps: Scan for Hardcoded Secrets (Check 1) → Audit .env File Security (Check 2) → Scan Config and Documentation Files… → …
  • The user says scan for secrets
  • SKILL.md covers Activation, Context Guard, ⚠️ Enforcement lives in… and Safe Inspection Patterns (use…, plus 7 more sections
  • Calls git, python and stripe; needs STRIPE_SECRET_KEY and SUPABASE_SERVICE_ROLE_KEY

What it does

Memstack Security Secrets Scanner is an agent skill from cwinvestments/memstack. Use this skill when the user says 'scan for secrets', 'check for leaked keys', 'secrets scanner', 'hardcoded credentials', 'API key leak', or needs to detect exposed secrets in source code. Do NOT use for dependency vulnerabilities or RLS auditing.

Its SKILL.md is about 6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud, covering Secrets management and Vulnerability scanning. The repository describes itself as: Structured skill framework for Claude Code. 130 skills, persistent memory, TokenStack compression, localhost dashboard with 3-agent runner, real-time streaming, MCP tools.

When your agent uses it

  • The user says scan for secrets
  • Check for leaked keys
  • Secrets scanner
  • Hardcoded credentials

Example prompts

  • “scan for secrets”
  • “check for leaked keys”
  • “secrets scanner”
  • “/memstack-security-secrets-scanner”

Requirements

  • Python 3
  • Docker
  • A credential in STRIPE_SECRET_KEY

Workflow steps

11 steps, taken from the step headings in SKILL.md.

  1. Scan for Hardcoded Secrets (Check 1)
  2. Audit .env File Security (Check 2)
  3. Scan Config and Documentation Files (Check 3)
  4. Check Environment Variable Usage (Check 4)
  5. Check Client-Side Secret Exposure (Check 5)
  6. Scan Git History (Check 6)
  7. Check Docker/Container Files (Check 7)
  8. Generate Report
  9. Generate .env.example
  10. Pre-Rotation Checklist
  11. Provide Recommendations

What it can do on your machine

Read from SKILL.md and the folder at commit 00370ce. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • python
    • stripe
    • vercel

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git and vercel, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • STRIPE_SECRET_KEY
    • SUPABASE_SERVICE_ROLE_KEY
    • STRIPE_PUBLISHABLE_KEY
    • NEXT_PUBLIC_SUPABASE_ANON_KEY
    • NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY
    • STRIPE_WEBHOOK_SECRET

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Memstack Security Secrets Scanner loads about 6k tokens when it runs. Until then it costs about 71 tokens; SKILL.md has 1,874 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~71
When it runs · the whole SKILL.md, loaded when a task matches
~6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:26
    | **User asks about .env security** | ACTIVE: targeted .env audit |
  • NoteMentions a .env fileSKILL.md:28
    | **User is creating .env files** | DORMANT: let them work |
  • NoteMentions a .env fileSKILL.md:54
    cut -d= -f1 .env | grep -vE '^#|^$' | sort
  • NoteMentions a .env fileSKILL.md:57
    sed 's/=.*/=<redacted>/' .env
  • NoteMentions a .env fileSKILL.md:60
    grep -qE '^VARNAME=.+' .env && echo set || echo unset
  • NoteMentions a .env fileSKILL.md:63
    (KEY|SECRET|PASSWORD)=.*/\1=[REDACTED]/' .env
  • NoteMentions a .env fileSKILL.md:66
    sed -E 's/=(.{6}).*/=\1…/' .env
  • NoteMentions a .env fileSKILL.md:77
    awk -F= '/^VARNAME=/{print length($2)}' .env
  • NoteMentions a .env fileSKILL.md:80
    grep '^VARNAME=' .env | cut -d= -f2- | tr -d '"' \
  • NoteMentions a .env fileSKILL.md:84
    grep '^VARNAME=' .env | cut -d= -f2- | tr -d '"' | sha256sum | cut -c1-8

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Proprietary) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,874 words (~6,020 tokens).

“Scan a codebase for hardcoded secrets, leaked API keys, and credential exposure across files and git history.”

— opening of SKILL.md by cwinvestments, Proprietary
name
memstack-security-secrets-scanner
version
1.0.0
license
Proprietary, MemStack™ Pro by CW Affiliate Investments LLC. See LICENSE.txt

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/security/secrets-scanner of cwinvestments/memstack.

Open the folder on GitHubat commit 00370ce

Compare with similar skills

Memstack Security Secrets Scanner next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Memstack Security Secrets Scanner compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Memstack Security Secrets Scanner this skillcwinvestments/memstack423—~6kAutomated safety check: NotesProprietary
Performing Container Security Scanning With Trivymukul975/Anthropic-Cybersecurity-Skills34k—~818Automated safety check: PassApache-2.0
Secleak Checkinstructa/agent-skills139—~557Automated safety check: PassNone
Omh Security Event Responserlaope/oh-my-hermes3.2k—~2.4kAutomated safety check: PassMIT
Secrets Scandeonmenezes/mantishack505—~347Automated safety check: PassApache-2.0
Aeon Vuln ScannerBankrBot/skills1.2k—~858Automated safety check: PassNone

Similar skills

  • Performing Container Security Scanning With Trivy

    mukul975/Anthropic-Cybersecurity-Skills

    Runs Trivy across every target type it supports - container images, filesystems, Git repositories, and Kubernetes clusters - for OS and dependency vulnerabilities, IaC misconfiguration, exposed…

    34k GitHub stars~818 tokensUpdated 1 mo ago
    DevOps & CloudAuto-check passed
  • Secleak Check

    instructa/agent-skills

    Run or install repo security leak checks with BetterLeaks and Trivy.

    139 GitHub stars~557 tokensUpdated 9 days ago
    AI & LLM EngineeringAuto-check passed
  • Omh Security Event Response

    rlaope/oh-my-hermes

    [omh] Security event on the code already shipped -- a CVE in a dependency, a secret committed to the repo, a license question, an advisory: triage reachability and severity, contain in order, and…

    3.2k GitHub stars~2.4k tokensUpdated today
    SecurityAuto-check passed
  • Secrets Scan

    deonmenezes/mantishack

    Run trufflehog via the mantistrufflehog MCP server and handle secret findings without ever exposing the raw secret

    505 GitHub stars~347 tokensUpdated 4 days ago
    DevOps & CloudAuto-check passed
  • Aeon Vuln Scanner

    BankrBot/skills

    Audit trending repos for real exploitable vulnerabilities and disclose responsibly — Private Vulnerability Reporting for code flaws and verified secrets, public PRs only for already-disclosed…

    1.2k GitHub stars~858 tokensUpdated 2 days ago
    SecurityAuto-check passed
  • Security Auditor

    eigent-ai/eigent

    Audits source code, dependencies and config files for vulnerabilities and hardcoded secrets, using two bundled Python scanners and an OWASP Top 10 checklist.

    15k GitHub stars~1.8k tokensUpdated today
    SecurityAuto-check: notes

More from cwinvestments/memstack

All 87 skills in this repo
  • Memstack SEO Site Audit

    cwinvestments/memstack

    A skill your agent uses when the user says 'SEO audit', 'site audit', 'check SEO', 'audit my site', 'SEO check', 'technical SEO', or is evaluating a website's search engine optimization health, meta…

    423 GitHub stars~3.5k tokensUpdated 11 days ago
    Auto-check passed
  • Memstack SEO Schema Markup

    cwinvestments/memstack

    A skill your agent uses when the user says 'add schema', 'schema markup', 'JSON-LD', 'structured data', 'rich results', 'rich snippets', or is adding or fixing schema.org structured data for better…

    423 GitHub stars~2.7k tokensUpdated 11 days ago
    Auto-check passed
  • Compress

    cwinvestments/memstack

    A skill your agent uses when the user says 'tokenstack', 'compression', 'token savings', 'proxy status', or asks about context window usage.

    423 GitHub stars~1.2k tokensUpdated 11 days ago
    Auto-check passed
  • Diary

    cwinvestments/memstack

    A skill your agent uses when the user says 'save diary', 'log session', 'wrapping up', or at end of a productive session.

    423 GitHub stars~5k tokensUpdated 11 days ago
    Auto-check passed
  • Echo

    cwinvestments/memstack

    A skill your agent uses when the user references past sessions, asks 'what did we do', 'do you remember', 'last session', 'recall', or 'continue from'.

    423 GitHub stars~1.7k tokensUpdated 11 days ago
    Auto-check passed
  • Familiar

    cwinvestments/memstack

    A skill your agent uses when the user says 'dispatch', 'send familiar', 'split task', or needs work split across parallel CC sessions.

    423 GitHub stars~556 tokensUpdated 11 days ago
    Auto-check passed

Questions about Memstack Security Secrets Scanner

What does Memstack Security Secrets Scanner do?

A skill your agent uses when the user says 'scan for secrets', 'check for leaked keys', 'secrets scanner', 'hardcoded credentials', 'API key leak', or needs to detect exposed secrets in source code. Memstack Security Secrets Scanner is an agent skill from cwinvestments/memstack. Use this skill when the user says 'scan for secrets', 'check for leaked keys', 'secrets scanner', 'hardcoded credentials', 'API key leak', or needs to detect exposed secrets in source code.

When should I use Memstack Security Secrets Scanner?

Memstack Security Secrets Scanner fits situations like: the user says scan for secrets; check for leaked keys; secrets scanner; hardcoded credentials.

How do I install Memstack Security Secrets Scanner in Claude Code?

Run `npx skills add cwinvestments/memstack --skill memstack-security-secrets-scanner -a claude-code`. Or copy the skill folder (skills/security/secrets-scanner in cwinvestments/memstack) into .claude/skills/memstack-security-secrets-scanner in your project. Claude Code loads it when a task matches its description.

How do I install Memstack Security Secrets Scanner in Codex?

Run `npx skills add cwinvestments/memstack --skill memstack-security-secrets-scanner -a codex`. Or copy the skill folder (skills/security/secrets-scanner in cwinvestments/memstack) into .agents/skills/memstack-security-secrets-scanner in your project. Codex loads it when a task matches its description.

Can I use Memstack Security Secrets Scanner in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cwinvestments/memstack --skill memstack-security-secrets-scanner -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/memstack-security-secrets-scanner, .gemini/skills/memstack-security-secrets-scanner, .github/skills/memstack-security-secrets-scanner and .opencode/skills/memstack-security-secrets-scanner in your project.

What does Memstack Security Secrets Scanner need to run?

Going by SKILL.md and its folder, Memstack Security Secrets Scanner needs the command-line tools its instructions call (git, python, stripe and vercel) and credentials named STRIPE_SECRET_KEY, SUPABASE_SERVICE_ROLE_KEY, STRIPE_PUBLISHABLE_KEY and NEXT_PUBLIC_SUPABASE_ANON_KEY. Our summary lists: Python 3; Docker; A credential in STRIPE_SECRET_KEY.

Does Memstack Security Secrets Scanner access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Memstack Security Secrets Scanner safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Memstack Security Secrets Scanner use?

Memstack Security Secrets Scanner carries a proprietary licence (declared in SKILL.md). It is published on GitHub, but it is not open source: read the licence file before using or sharing it.

How many tokens does Memstack Security Secrets Scanner use?

About 6k tokens (SKILL.md is roughly 24k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Memstack Security Secrets Scanner?

Skills that share tags, products or a category with Memstack Security Secrets Scanner: Performing Container Security Scanning With Trivy (mukul975/Anthropic-Cybersecurity-Skills, 34k stars), Secleak Check (instructa/agent-skills, 139 stars), Omh Security Event Response (rlaope/oh-my-hermes, 3.2k stars) and Secrets Scan (deonmenezes/mantishack, 505 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Memstack Security Secrets Scanner?

cwinvestments (a GitHub user) maintains it in cwinvestments/memstack, which has 423 GitHub stars. The repository holds 87 skills in this directory. The repository was last updated on September 26, 2026.

Source: cwinvestments/memstack on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.