skill-file-security — Claude Code skill: what it does, install
Adds OWASP and CWE security rule sets to your project so your AI assistant can audit code and prepare patch diffs right inside your editor.
npx skills add reason-machines/security-skills --skill skill-file-security -a claude-codeWhat skill-file-security does
This skill installs 29 rule files directly into the .skills/security/ folder. The AI assistant uses these instructions to catch vulnerabilities defined by OWASP Top 10 and CWE Top 25 standards. It spots hardcoded credentials, misconfigured HTTP headers, injection risks, and database flaws tailored to your stack.
Daily workflows rely on six slash commands. Running /security-scan quickly flags critical issues. Using /security-audit evaluates your codebase and calculates an overall score. The tool tracks audit history over time inside memory-security.md.
Applying updates through /security-fix requires explicit approval after previewing the diff. Setting up this skill changes your repository tree by writing configuration files and updating .gitignore.
What it helps with
- locate leaked secrets and exposed environment variables
- verify row-level security policies across database migrations
- calculate codebase security score against OWASP standards
- produce reviewed patch diffs for discovered vulnerabilities
Example prompts for the agent
- /security-scan
- /security-audit
- /security-fix rls
How to install skill-file-security
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill skill-file-security -a claude-code2Manually: put the files in place
~/.claude/skills/skill-file-security/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/skill-file-security/
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill skill-file-security -a codex2Manually: put the files in place
.agents/skills/skill-file-security/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill skill-file-security -a cursor2Manually: put the files in place
.cursor/skills/skill-file-security/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/security-skills skill-file-security2Manually: put the files in place
.github/skills/skill-file-security/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill skill-file-security -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/security-skills --path skills/skill-file-securityManually: put the files in place
.devin/skills/skill-file-security/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill skill-file-security -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about skill-file-security
How to install skill-file-security in Claude Code?
Run npx skills add reason-machines/security-skills --skill skill-file-security -a claude-code in your terminal.
What does skill-file-security do?
It copies 29 security rule documents into your repository and configures slash commands for vulnerability reviews.
Does the skill modify code automatically?
No. Whenever you run /security-fix, it renders a diff first and waits for your confirmation before changing files.