Skills DirectorySearch all skills ↗

AI agent skill · by @SpecterOps

Oc2 Bot Development

Develop Outflank C2 event-driven Python bots. Use when creating or debugging OC2 automations.

Archived 2026-10-23 · Source updated 2026-09-23 · License: Apache-2.0. Check the original repository for the latest version.

SKILL.md instructions

# Outflank C2 (OC2) Bot Development

Outflank C2 Server has support for running bots. These bots are written in Python and react on events that happen in the server. Currently, these events are:

- on_new_implant: When a new implant arrives.
- on_implant_checkin: When an existing implant checks in.
- on_task_request: When a task has been sent to the implant.
- on_task_response: When the implant has sent the response to a task

Bots can be used to automate certain tasks, such as automatically sending a few tasks to the implant, exiting when the implant is not in the correct domain or notifying the operator when a new implant arrives.

## When NOT to Use

Do not use this skill unless Outflank C2 support is requested.

## References

- [Bot model](./references/bot-development.md) — discovery, execution context, reliability, and troubleshooting.
- [Runtime API](./references/bot-runtime-api.md) — events, services, and common accessors.
- [Examples](./references/bot-examples.md) — typed task scheduling and task-event lookup.

Related skills