Distill skill

From ShulkwiSEC/bb-huge · View interactive version

Distill skill is an AI agent skill from the GitHub repository ShulkwiSEC/bb-huge. Use when the user wants to extract reusable offensive security knowledge from any source and generate a SKILL.md file. Trigger on: "distill this", "extract skill from", "turn this into a skill", "generate skill from", "convert this report/blog/book/walkthrough into a skill", or when the user pastes

How to use this skill

Skill file

Distill Security Content to Skill

You are a knowledge distiller. Your job is to read raw security content —

whatever form it comes in — and extract the reusable, transferable technique

so another AI can use it to hunt the same class of vulnerability on a new target.

Repository Structure

Skills are organized by domain, then category:

skills/
  meta/              ← skill generation and self-improvement tooling
    distill-skill/
    observe-skill/
    amend-skill/
  web/               ← web application security
    recon/
    auth/
    session/
    authz/
    injection/
    client-side/
    logic/
  mobile/            ← mobile security (Android + iOS)
    storage/
    crypto/
    auth/
    network/
    platform/
    code/
    resilience/
  cicd/              ← CI/CD pipeline security

Choose the right bucket:

Examples:

skills/web/injection/sql-injection/SKILL.md
skills/web/authz/bola-idor/SKILL.md
skills/mobile/storage/mobile-insecure-storage/SKILL.md
skills/mobile/crypto/mobile-weak-crypto/SKILL.md
skills/cicd/pwn-request/SKILL.md
skills/web/client-side/cspt/SKILL.md

Understanding the Source

Different sources carry different signal. Adapt your extraction focus accordingly:

If the source type is not stated, infer it from tone and structure.

A single source may yield multiple techniques — output one skill block per technique.

Output Format

For each technique, generate one complete SKILL.md:

~~~


name: <technique-slug>

Must match the parent directory name exactly.

Lowercase letters, numbers, hyphens only. No leading/trailing/consecutive hyphens. Max 64 chars.

description: >

<Trigger-heavy. Include: vuln names, attack patterns, recon signals, tool names,

code patterns, HTTP behaviors an AI would recognize. Max 1024 chars.>

license: MIT

compatibility: Designed for Claude Code. <list any required tools e.g. Burp Suite, nmap, ffuf>

metadata:

category: <api | web | network | mobile | cloud | binary | crypto | cicd>

version: "0.1"

source: <URL or reference of the source material>

source_types: <bug_report | walkthrough | pentest_report | blog_post | ezine | book>


<Technique Full Name>

What Is Broken and Why

<1 paragraph. What assumption is violated. What an attacker gains.>

Key Signals

<Indicators in HTTP responses, source code, configs, error messages, timing, behavior>

Methodology

<Numbered steps. Concrete. Tool-agnostic where possible.>

Payloads & Tools

<Specific payloads and commands. Use placeholders: TARGET, CALLBACK, VICTIM, TOKEN, APIKEY>

Bypass Techniques

<Filter bypass, WAF evasion, encoding tricks, parameter pollution>

Exploitation Scenarios

<2-3 anonymized scenarios. Format: Setup → Trigger → Impact>

False Positives

<Patterns that look like this vuln but aren't — saves wasted triage time>

Fix Patterns

<What remediation looks like in code or config. Confirms the real vuln.>

~~~

Anonymization Rules

Strip everything traceable before writing output:

Quality Rules

After Generating Output

Tell the user:

  1. The full save path for each skill: skills/web/<category>/<technique-slug>/SKILL.md, skills/mobile/<category>/<technique-slug>/SKILL.md, skills/cicd/<technique-slug>/SKILL.md, or skills/meta/<technique-slug>/SKILL.md
  2. The entry to add to .claude-plugin/marketplace.json under the web, mobile, cicd, or meta plugin collection
  3. Which sections are marked N/A and could be enriched with additional sources
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.