oc2-bof-script-development

Installation
SKILL.md

Outflank C2 (OC2) BOF Python Script Development

Python wrappers expose a compiled Beacon Object File as an OC2 command (the OC2 equivalent of Cobalt Strike Aggressor Script). Use the c2-bof-development skill for the C/C++ object itself.

Note that OC2 version 3 is still in beta. Later release candidates may introduce breaking changes.

Route before writing code

First, determine whether the user is writing a V2 or V3 BOF. Do not always ask. Infer from evidence, then load the matching references:

  • V2: *_bof.s1.py, BaseBOFTask, outflank_stage1, or explicit OC2 2.x
  • V3: oc2_sdk_python, @command, or a V3 manifest.json
  • Port: user says port, migrate, or convert (also load the V3 refs)
  • No version clues: for a new wrapper, ask whether it targets V2 or V3. When modifying existing code, ask only if its version cannot be inferred.

When NOT to Use

Do not use this skill unless Outflank C2 support is requested, or BOF development is being completed and an OC2 Python script is required to load and execute the BOF.

Installs
4
GitHub Stars
739
First Seen
Sep 4, 2026