secure-password-policy

secure-password-policy is a skill for Claude Code, Codex from JayRHa/AgentSkills. It costs 100 tokens per session (1,846 once invoked), scanned A, original, MIT.

A guide for setting modern password and sign-in requirements based on NIST SP 800-63B, a U.S. standard for digital identity security.

In plain words
What is it for?
Use it to write or review an authentication policy, turn security guidance into engineering requirements, choose password hashing settings, or audit a sign-in flow.
Why use it?
It helps avoid outdated password rules and covers requirements such as passphrase length, breach screening, multi-factor authentication, rate limiting, secure password storage, and account recovery.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/jayrha/agentskills/secure-password-policy
Any agent
npx skills add JayRHa/AgentSkills --skill secure-password-policy
Clone the repo
git clone --depth 1 https://github.com/JayRHa/AgentSkills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for secure-password-policy

README.md
[![agentmods](https://agentmods.dev/badge/skills/jayrha/agentskills/secure-password-policy.svg)](https://agentmods.dev/skills/jayrha/agentskills/secure-password-policy)
Your own site
<a href="https://agentmods.dev/skills/jayrha/agentskills/secure-password-policy"><img src="https://agentmods.dev/badge/skills/jayrha/agentskills/secure-password-policy.svg" alt="Measured on agentmods" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,846 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00100 $0.01846
Opus 5 $0.00050 $0.00923
Sonnet 5 $0.00020 $0.00369
Haiku 4.5 $0.00010 $0.00185

Measured 3d ago against content hash 698f0738b9da, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

secure-password-policy scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check_password.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

secure-password-policy/SKILL.md · 131 lines

How it starts

The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Secure Password Policy (NIST SP 800-63B)

Overview

This skill produces and reviews authentication and password policies that follow current NIST Digital Identity Guidelines (SP 800-63B) rather than legacy "complexity rule" folklore. The modern consensus inverts much of the 2003-era advice: favor LONG passphrases, screen against breach/blocklists, drop forced periodic rotation, drop composition rules, and lean on phishing-resistant MFA plus strong server-side hashing.

Keywords: password policy, NIST 800-63B, authentication, AAL, memorized secret, passphrase, password length, breach screening, Have I Been Pwned, password complexity, password rotation, MFA, 2FA, TOTP, WebAuthn, passkeys, rate limiting, account lockout, Argon2, bcrypt, scrypt, PBKDF2, password storage, salt, pepper, credential stuffing, account recovery, password reset.

Use this skill to: author a policy document, translate it into concrete engineering requirements, choose a password hashing configuration, or audit a sign-in flow.

Core Principles (the NIST inversion)

Topic Legacy advice (avoid) NIST 800-63B (adopt)
Length 8 chars Min 8, recommend 12-15+; allow at least 64
Composition Require upper/lower/digit/symbol Do NOT impose composition rules
Allowed chars Restrict symbols Allow all printable ASCII + Unicode + spaces
Rotation Force change every 60-90 days Do NOT force periodic change; rotate only on evidence of compromise
Hints / security questions Allowed Prohibited as authenticators
Breach check None Screen against known-compromised/blocklist values
Truncation Common Never silently truncate; accept full input
Paste in password fields Blocked Always allow paste (supports password managers)
Show password Hidden always Offer "show password" toggle

The single highest-leverage controls are: (1) breach/blocklist screening at set-time, (2) a strong, salted, memory-hard hash for storage, (3) rate limiting + MFA against online guessing. Composition rules and forced rotation actively hurt usability with little security gain.

Read the full file on GitHub · 131 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 131 lines · 100 tokens per session scan A 698f0738b9da

Subscribe to this mod's changes

secure-password-policy is a skill published in the GitHub repository JayRHa/AgentSkills (4 stars, last pushed 1mo ago), licensed MIT. It adds 100 tokens to every session and 1,846 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.