agentleFS
aykyusufaykyusuf/crew-chief/skills/security/SKILL.md

security

Skill8 starsChanged 10 days agoMITView on GitHub

Runs a security review of a change with crew-chief's read-only security-reviewer agent: finds the security-relevant files (risk map), picks the model and effort from what they touch, briefs the agent, and reports what it found. Use when the user asks for a security review (/crew-chief:security), when crew-chief's security gate holds back a commit, or before a pull request that touches authentication, crypto, secrets, payments, migrations, input reaching SQL/shell/path sinks, CI or dependencies. Main session only. Not a general code review (use the reviewer agent).

148 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use cost-reducer, albert-dm and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • huyvpSkill

    cost-reducer

    Reduce cloud, infrastructure, and operational costs while maintaining performance. Use when writing database queries, configuring cloud resources, optimizing bundles, setting up caching, choosing between services, sizing instances, configuring CDN, managing storage, or reviewing code for cost inefficiencies. Covers AWS/GCP/Vercel pricing, database optimization, serverless tuning, image pipelines, observability costs, and FinOps practices.

    Also in 12 projects that use this

  • yawningwhaleAISkill

    albert-dm

    Reply to DMs and messages the way Albert would. Use when the user asks "how would Albert reply to this", pastes a conversation and wants an Albert-style response, or asks you to draft/write a DM in Albert's voice. Albert sells AI voice agents / automations to local service businesses (Go High Level, lead follow-up, bookings).

    Also in 7 projects that use this

  • yawningwhaleAISkill

    new-client-system

    Scaffold a new client's full stack — Next.js 16 frontend dashboard + Trigger.dev backend worker — from the Shiney automations template. Use when the user says "new client", "onboard a client", "scaffold a client system", "set up <client-name>", or wants to start a fresh frontend+backend project styled and structured like the Shiney automations dashboard. Produces structure only; no automations are scaffolded — those are added later.

    Also in 7 projects that use this

  • RoxenRobloxSkill

    youtube-broll-maker

    Generate 10-second B-roll footage of yourself doing an action using the Higgsfield MCP (Seedance 2.0). Upload one photo of yourself, describe the action ("typing on laptop", "walking at night"), pick from 5 cinematography style presets, get an MP4. Use when the user wants B-roll, cutaway footage, "me doing X" video, YouTube B-roll, or any image-to-video of themselves performing an action.

    Also in 4 projects that use this

  • RoxenRobloxSkill

    youtube-popup-graphic

    Generate stunning Adobe-Premiere-Pro-style UI popup motion graphics for YouTube videos using the Higgsfield MCP. The user uploads a style reference image (any UI mockup, dashboard, glass card, design they love), names one skill/feature/item, and the skill produces an MP4 of a single card popping in styled to match the reference. Use when the user wants a "popup graphic", "popup animation", "card popup", "skill popup", "AE/Premiere-style animation", "stunning UI animation for YouTube", or says "make me a popup for <skill/feature/item> styled like <reference>".

    Also in 4 projects that use this

  • ffsshhttiikkSkill

    scalability

    Core foundational concepts and principles for Scalability

    Also in 13 projects that use this

  • +4 more from yawningwhaleAI

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 120 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Which files matter: Run "${CLAUDE_PLUGIN_ROOT}/scripts/security-map.sh" match "<project root>" <files in scope>: each line is …

    line 13
  2. Distinctive:

    The commit gate: If this ran because the security gate held back a commit: once the findings are fixed or the user accepted them, retry the …

    line 26

“Common” is measured: kept by at least 6 in 10 of the 120 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Security review of a change. Arguments: $ARGUMENTS (optional). Main session only: it launches an agent and may ask the user a question, which a subagent cannot do. If you are a subagent, stop and tell the caller to run it.

  1. Scope. From the arguments: staged = the staged diff; branch = the commits ahead of the upstream (or the default) branch plus uncommitted changes; a path or a commit range = that; map = only build or refresh the risk map (step 2) and report it. With no argument: the staged diff if anything is staged, otherwise uncommitted changes, otherwise the branch. List the files in scope with one git command.
  2. Risk map. If .crew-chief/security-map.json does not exist in the project (or it is older than 7 days, or the argument is map), build it: "${CLAUDE_PLUGIN_ROOT}/scripts/security-map.sh" scan "<project root>". It is cheap (regexes, no model call) and keeps entries the user added by hand. Add .crew-chief/ to the project's .gitignore only if the user wants the map kept out of git; do not decide that for them.
  3. Which files matter. Run "${CLAUDE_PLUGIN_ROOT}/scripts/security-map.sh" match "<project root>" <files in scope>: each line is category<TAB>file<TAB>reason. No line means nothing security-relevant in scope: say so in one line and stop, unless the user asked for the review anyway (then review the whole scope).
  4. Is a review worth it, and at what setting (never Fable unless the user asked for Fable). Most changes need none: mechanical or local edits (renames, formatting, comments, log or UI text, tests, a behaviour-keeping refactor) do not. Review when behaviour changes at a trust boundary: who may access or change what, how money, prices, balances or rates are calculated or moved, how outside input reaches SQL, a shell, a file path or HTML, secrets or crypto, a migration that changes or drops data. The user asked for this run, so review what they asked; pick the smallest setting that fits:
    • model: "sonnet", effort: "medium": one focused question on a small change;
    • model: "opus", effort: "medium": a real logic change in one area (the usual choice);
    • model: "opus", effort: "high": several risky files, a new endpoint or permission, money calculations, a data-moving migration;
    • effort: "xhigh": only for a large change spanning auth, money and data right before it ships, or when the user asks (about 2.5 times the cost of high for a small gain). The saver may lower this (plain saver keeps high; ultra-saver asks the user before Opus): follow what it says.
  5. Brief the agent (it does not see this conversation): the scope and the exact git command for the diff, the risky files with their categories and reasons from step 3, the project's stack in one line, any security rule the user gave in this conversation, and "read-only: report, do not fix". One agent, not several in parallel on the same diff.
  6. Report to the user in their language: the tally, then each Critical/High finding with path:line, the attack in one sentence and the fix; Medium and Low as a short list. Then offer to fix (ask before changing code if the user has not already asked for fixes). After fixes, a second round reviews only the new diff.
  7. The commit gate. If this ran because the security gate held back a commit: once the findings are fixed or the user accepted them, retry the identical commit command; the gate lets it through.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.