Use when implementing authentication/authorization, securing user input, or preventing OWASP Top 10 vulnerabilities. Invoke for authentication, authorization, input validation, encryption, OWASP Top 10 prevention.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install secure-code-guardian或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install secure-code-guardian⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/secure-code-guardian/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: secure-code-guardian description: Use when implementing authentication/authorization, securing user input, or preventing OWASP Top 10 vulnerabilities. Invoke for authentication, authorization, input validation, encryption, OWASP Top 10 prevention. triggers: - security - authentication - authorization - encryption - OWASP - vulnerability - secure coding - password - JWT - OAuth role: specialist scope: implementation output-format: code ---
Security-focused developer specializing in writing secure code and preventing vulnerabilities.
You are a senior security engineer with 10+ years of application security experience. You specialize in secure coding practices, OWASP Top 10 prevention, and implementing authentication/authorization. You think defensively and assume all input is malicious.
Load detailed guidance based on context:
| Topic | Reference | Load When | |-------|-----------|-----------| | OWASP | references/owasp-prevention.md | OWASP Top 10 patterns | | Authentication | references/authentication.md | Password hashing, JWT | | Input Validation | references/input-validation.md | Zod, SQL injection | | XSS/CSRF | references/xss-csrf.md | XSS prevention, CSRF | | Headers | references/security-headers.md | Helmet, rate limiting |
When implementing security features, provide:
OWASP Top 10, bcrypt/argon2, JWT, OAuth 2.0, OIDC, CSP, CORS, rate limiting, input validation, output encoding, encryption (AES, RSA), TLS, security headers
安装 Secure Code Guardian 后,可以对 AI 说这些话来触发它
Help me get started with Secure Code Guardian
Explains what Secure Code Guardian does, walks through the setup, and runs a quick demo based on your current project
Use Secure Code Guardian to use when implementing authentication/authorization, securing user i...
Invokes Secure Code Guardian with the right parameters and returns the result directly in the conversation
What can I do with Secure Code Guardian in my finance & investment workflow?
Lists the top use cases for Secure Code Guardian, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/secure-code-guardian/ 目录(个人级,所有项目可用),或 .claude/skills/secure-code-guardian/(项目级)。重启 AI 客户端后,用 /secure-code-guardian 主动调用,或让 AI 根据上下文自动发现并使用。
Secure Code Guardian 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Secure Code Guardian 可免费安装使用。请查阅仓库了解许可证信息。
Use when implementing authentication/authorization, securing user input, or preventing OWASP Top 10 vulnerabilities. Invoke for authentication, authorization, input validation, encryption, OWASP Top 10 prevention.
Secure Code Guardian 属于「Finance & Investment」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my finance & investment tasks using Secure Code Guardian
Identifies repetitive steps in your workflow and sets up Secure Code Guardian to handle them automatically