
Security best practices
Perform language and framework specific security best-practice reviews and suggest improvements
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 28.8K
- Last commit
- 20 days ago
- Listing updated
- today
When your agent uses it
Perform language and framework specific security best-practice reviews and suggest improvements. Trigger only when the user explicitly requests security best practices guidance, a security review/report, or secure-by-default coding help. Trigger only for supported languages (python, javascript/typescript, go). Do not trigger for general code review, debugging, or non-security tasks.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 13 files (402 KB) on GitHub on 17 November 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Install
Copy the skill folder to ~/.claude/skills/security-best-practices to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/openai/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/security-best-practices &&
cp -R "$tmp/skills/.curated/security-best-practices" ~/.claude/skills/security-best-practices &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/security-best-practices inside it instead.
Copy the skill folder to ~/.agents/skills/security-best-practices to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/openai/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/security-best-practices &&
cp -R "$tmp/skills/.curated/security-best-practices" ~/.agents/skills/security-best-practices &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/security-best-practices inside it instead.
Copy the skill folder to ~/.cursor/skills/security-best-practices to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/openai/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/security-best-practices &&
cp -R "$tmp/skills/.curated/security-best-practices" ~/.cursor/skills/security-best-practices &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/security-best-practices inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/openai/skills.git --path skills/.curated/security-best-practicesOr copy the folder to ~/.gemini/skills/security-best-practices yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/security-best-practices:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/openai/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/security-best-practices &&
cp -R "$tmp/skills/.curated/security-best-practices" ~/.copilot/skills/security-best-practices &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/security-best-practices inside it instead.
Get the folder:
git clone --depth 1 https://github.com/openai/skills.gitThen copy skills/skills/.curated/security-best-practices into your agent's skills folder as security-best-practices. Agents that support SKILL.md read one folder per skill.
Security best practices FAQ
How do I install Security best practices in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/security-best-practices to use it in all your projects, or to .claude/skills/security-best-practices in one project.
Does Security best practices run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Security best practices?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
More from openai/skills

Build, review, refactor, or architect ASP.NET Core web applications using current official guidance for .NET web development
- 28.8K GitHub stars

Build, scaffold, refactor, and troubleshoot ChatGPT Apps SDK applications that combine an MCP server and widget UI
- 28.8K GitHub stars

Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script
- 28.8K GitHub stars

Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services
- 28.8K GitHub stars

Help the user define a concrete, measurable goal before starting work, especially when they ask to use the goal tool, create a goal, set an
- 28.8K GitHub stars

Use the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into productio
- 28.8K GitHub stars