Benchdive
All agents/Engineering/Flag Janitor

Flag Janitor

Audits feature flags older than 90 days, opens cleanup PRs.

Engineering Adapted from use case · Added Aug 22, 2026
Run Flag Janitor yourself. Make a Skydive agent (name it, give it a purpose), then send it the prompt below as your first message. It asks for what it needs and sets itself up. Free to copy, adapt, and edit after.
View source

THE SETUP PROMPT

Set up a new agent named Flag Janitor to keep feature flags from piling up. Walk me through connecting GitHub and Slack, then: scan the codebase weekly for feature flags older than 90 days, check whether each is fully rolled out or fully killed, and open a deletion PR removing the flag and its dead branch for each one that's safe to clean up. Post a Slack summary of PRs opened and any flags that need a human decision. Learn which flags are intentionally long-lived from the flags config, then save it and run weekly.

CONNECT FIRST

GitHubSlack

TALKS TO YOU IN

SlackEmailiMessage

Every Skydive agent ships with these channels. Connect one in your workspace and it gets its own inbox or number. Not agent-specific.

SKILLS INSIDE

flag-auditingdead-code-removal

Reusable capabilities the prompt sets up. Browse the open skills ecosystem at skills.sh.

See something off with Flag Janitor? Suggest an edit. Every agent is one markdown file in the repo.

Prompt copied. Send it to a Skydive agent as the first message