Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

security-precheck

Skill by LeeYudok

Runs a self-service security pre-check before an external security-team code audit. It scans the codebase, grades findings P0, P1 and P2, files issues, and fixes them with parallel subagents. Built for teams preparing a project for a code audit.

  • Score 52
  • 40 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install security-precheck

Built from the published package, never by AI.

git clone --depth 1 https://github.com/LeeYudok/agents-scaffold /tmp/agents-scaffold && mkdir -p ~/.claude/skills && cp -r /tmp/agents-scaffold/presets/lang/en/base/.claude/skills/security-precheck ~/.claude/skills/security-precheck

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install security-precheck in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Security Pre-check is a skill for finding and fixing security issues before an external security-team code audit. It runs a security-audit agent that greps the code for the P0 and agent-configuration items the source lists. When a sonar-project.properties file exists, it also pulls SonarQube security hotspots. Findings are graded P0, P1 or pass and summarized in a table.

P1 findings are grouped by file or topic into GitHub or GitLab issues. Fixes run in parallel subagents, each in its own git worktree, committing to a branch. The parent session reviews security diffs, opens PRs or MRs, and merges them one at a time. A memory file records accepted risks. It is intended for developers preparing a project for an external audit.

Written from the project's SKILL.md and checked against it.

What it can do

  • Security-audit scanRuns the security-audit agent over the P0 code items and agent-configuration items in parallel.
  • SonarQube hotspotsFetches TO_REVIEW security hotspots when sonar-project.properties is present and credentials are set.
  • Finding gradingGrades findings as P0 (critical), P1 (recommended fix) or pass, and reports counts in a table.
  • Issue registrationGroups P1 and higher findings by file or topic into one GitHub or GitLab issue each.
  • Parallel fixingAssigns issues to subagents by work type and model tier, each in an isolated worktree.
  • Sequential merge via PR/MROpens a PR or MR per fix and merges them one at a time after CI and build gates pass.
  • Memory recordWrites a project memory file with the date, counts, handled issues and accepted risks.

What you need

  • A git repository
  • gh CLI for GitHub or glab CLI for GitLab
  • SonarQube host and token, optional
  • SONAR_HOST_URL and SONAR_TOKEN environment variables, optional

Try asking

  • Run a security check on this project before the external audit
  • Do a security audit prep and file issues for P0 and P1 findings
  • Check SonarQube security hotspots and fix the ones that need review

Good to know

  • The SonarQube step is skipped when sonar-project.properties is absent.
  • Worktrees start without installed dependencies, so frontend gates can fail.
  • MCP permissions are granted per tool, so read-only access per tool is not possible.
  • Subagents commit only; the parent session handles push and merge.

Security check

B
  • Allowed to use Bash, Edit, Write without limitsIn SKILL.md

Checked automatically: presets/lang/en/base/.claude/skills/security-precheck/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: BashAgentReadEditWrite

Alternatives to security-precheck

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

security-precheck: common questions

Who is this skill for?

It is for teams preparing a codebase for an external security-team code audit who want to run a self-check first.

Does it fix findings automatically?

Yes. Subagents fix the issues in separate worktrees, and changes go through PRs or MRs rather than direct commits to the default branch.

Does it require SonarQube?

No. SonarQube hotspots are checked only when the project has sonar-project.properties and SONAR_HOST_URL and SONAR_TOKEN are set.

How do I install security-precheck?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is security-precheck free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is security-precheck safe to use?

It scores 52 of 100. Grades: maintenance A, licence A, quality C. Security check: grade B (allowed to use bash, edit, write without limits). Review the code before you install. How grades work.

What are alternatives to security-precheck?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

security-precheck Install

Add to stack

Loading.