agentleFS
ChiefGyk3DChiefGyk3D/department-of-internal-arguments/.agents/skills/pack-safe-live/SKILL.md

pack-safe-live

Skill166 starsChanged 6 days agoApache-2.0View on GitHub

Leak prevention for live and recorded security content, with release-blocking authority: window-only or dedicated capture, stream delay sized to the takedown time, notification shutdown, a redaction scene, a pre-live checklist, frame-level scrub of VODs, clips and thumbnails, a lab-only scope line, a sponsor and affiliate disclosure kit always verified against the live platform or regulator text, and incident response (take down, rotate, notify). Load for any live stream, recording, clip, thumbnail or upload that shows a screen. Not for writing the content.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Capture credentials by name, never by value: If a rule-6 hit or an incident exposes a credential, record its name and location only.

    line 27
  2. Distinctive:

    If something sensitive was shown or published:

    line 32
  3. Distinctive:

    No report line contains a secret value.

    line 62
  4. Distinctive:

    Every disclosure line cites a page fetched in this session with its date.

    line 63

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “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
<!-- Generated by scripts/generate.py (release 0.4.0) from packs/safe-live/PACK.md, updated 2026-11-07. sha256:ffd3c8969eee06b2ae32ca796397c42c665e8b368316a6e87bbeb93e80242e83. Do not edit; run the generator. -->

Pack: safe live

Status: written 2026-11-07. Numbers marked owner-set are the owner's bar; numbers marked pilot are unmeasured defaults to be replaced by a measurement. Platform and regulator rules are never stated here: they are fetched (rule 11).

Authority

This pack can BLOCK any release: a stream going live, a VOD, a clip, a thumbnail, an upload or a post. A BLOCK from this pack cannot be overridden by media-dispatch, clip-desk, stage-crew, front-door, a schedule, a deadline or a lead. Only the owner can lift a BLOCK, in the owner's own message, naming the item. Every other pack reports a safe-live BLOCK as open and stops.

Rules

  1. Capture only what is meant to be shown. Use window-only capture or a dedicated capture display; never capture a whole desktop that also holds mail, chat, a password manager or a terminal with history. Verify: open a canary window whose title and body read CANARY-N0TST on a display or window that is not captured, grab one frame of the program output, and confirm the canary is absent (tesseract frame.png - | grep -c CANARY prints 0 if OCR is installed, else read the frame by eye and say so).
  2. Stream delay covers the takedown time. The owner sets the delay in seconds. It must be at least the worst of three stopwatch trials of "see a leak, press the redaction hotkey" plus 5 s (pilot margin). Verify: put a running clock in view, compare it with the viewer-side playback, and record the measured delay; it must be within 2 s of the setting and at least the takedown time.
  3. Notifications are off on the capture host before going live. Do-not-disturb on, mail, chat and messaging clients closed, password manager locked. Verify: send a test notification to the capture host and confirm it neither appears in the program output nor plays a sound; record the command or setting used.
  4. One redaction scene. A scene that shows only a static card, reachable by one hotkey, that switches in at most 1 s. Verify: with the canary window open, press the hotkey, grab a frame, confirm the canary is absent and the card is present; time the hotkey with a stopwatch, 3 trials, worst case <= 1 s.
  5. Pre-live checklist, dated, pass or fail per line. Capture scope (rule 1), delay (2), notifications (3), redaction scene (4), secret scan of overlays and source files (rule 6 patterns), scope line loaded (rule 8), disclosure state (rule 9), audio check owned by stage-crew. Save it as a file with the date and time. A line that is not pass, or a missing checklist, is a BLOCK.
  6. Scrub every recording before it leaves the machine. Video path (VOD or clip). Sampling is a prefilter only: a credential shown for less than the sampling gap is never seen by it, so a sampled-only pass is never a PASS. Review the whole duration by one of two documented routes, and the report names which: (a) a human watches the video end to end (reviewer, date, and watched duration equal to the file duration within 5 s), or (b) every scene-change frame is extracted (ffmpeg -i in.mp4 -vf "select='gt(scene,0.05)'" -vsync vfr frames/s_%05d.png) in addition to the timed sample, and a human reads the contact sheet of both. Prefilter: ffmpeg -i in.mp4 -vf fps=1/5 frames/f_%05d.png, then OCR (tesseract if installed, else the human route only) and the scan block below over the OCR text and the caption or transcript, plus any owner list of names that must not appear. Verify: the timed frame count equals floor(duration_seconds / 5) within 1, and the report states it with the route used. Strip file metadata with exiftool -all= -overwrite_original <file> (no _original backup is left) and confirm with exiftool <file> that no GPS or device-serial tag remains.
  7. Thumbnail path (a still). A still has no duration, so the timed frame count and fps=1/5 do not apply. Open the thumbnail once at full resolution and read it for addresses, tabs, names and prompts, OCR it once, run the scan block below on the OCR text, and strip metadata as above. A title or thumbnail that frames a real named target as an attack target is a BLOCK.
  8. Lab-only scope line. Every demo opens with a spoken line and an on-screen card stating: lab, owned or authorized targets only, no live third-party systems. Each demonstrated technique names its target. Verify: the first 60 s of the transcript contains the scope line (grep -ci for the owner's fixed wording, from the overlay, returns >= 1) and the card appears in a sampled frame.
  9. Disclosure kit, filled from the live rule. Kit parts: one plain-words disclosure sentence per platform, an on-screen text, a spoken form, a repeat for late joiners on a live stream, and the platform's own branded-content or paid-promotion setting. The wording and placement rule for each part is ALWAYS verified against the live platform or regulator text, never taken from memory or from this pack: fetch the current page, record its URL and the date read, compare. If it cannot be fetched, the item is a BLOCK and is listed under facts to verify. Whether a sponsor or affiliate relationship exists comes from the owner, never assumed. This is not legal advice.
  10. Capture credentials by name, never by value. If a rule-6 hit or an incident exposes a credential, record its name and location only. Rotation is handed to the human with the exact steps; an agent does not rotate.
  11. No rule here is a platform rule. Platform and regulator rules (disclosure, content policy, loudness) are fetched per use, with URL and date. A remembered rule gives no clearance.

Incident response

If something sensitive was shown or published:

  1. Take down, first. Switch to the redaction scene, then end the stream; set the VOD private or delete it; delete or unlist clips and posts; replace the thumbnail. Log each action with its time (UTC). Time from first sight to takedown is recorded.
  2. Rotate. List every credential, address or identifier that appeared, by name. The human rotates or changes each; the agent hands over the steps and does not touch secrets.
  3. Notify. The owner at once; anyone whose data appeared; a platform support channel if a platform copy cannot be removed. Mirrors and third-party clips are listed and requested for takedown.
  4. Record. A short note: what the lab was, what appeared, how long, what was rotated, what changes the checklist. Keep it for an appeal; no secret value in it.

Scan block

Prints file:line: kind only, never the matched text (save as a script and call it with the file to scan as the first argument; hits are never echoed from the file):

f="$1"
for kv in 'label=(token|secret|passw[a-z]*|api[_-]?key)[[:space:]]*[:=]' \
  'private-key=BEGIN [A-Z ]*PRIVATE KEY' 'ipv4=[0-9]{1,3}(\.[0-9]{1,3}){3}'; do
  k=${kv%%=*}; p=${kv#*=}
  grep -nEi -e "$p" "$f" | cut -d: -f1 | sed "s|^|$f:|; s|\$|: $k|"
done

A scanner such as gitleaks detect --no-git --redact --source <dir> may be run as well; do not capture its output unless it is redacted.

Deliverable

PASS or BLOCK per item, each BLOCK with the rule number and the evidence. Then: the checklist file path, the measured delay, takedown time and redaction time, frames sampled and tool used, scan results by location and kind, the disclosure sources (URL, date read), facts to verify, and not verified.

How to verify (before you hand it back)

  • The canary test ran and its result (OCR count or eye check) is in the report.
  • The delay, takedown and redaction numbers are measured values with the method, not copied from this pack.
  • For video, the report names the whole-duration route used and the timed frame count equals floor(duration_seconds / 5) within 1; for a thumbnail, it says it was read once at full resolution.
  • No report line contains a secret value; hits are location and kind.
  • Every disclosure line cites a page fetched in this session with its date.
  • Any BLOCK is stated as a BLOCK, and no other pack's output lifts it.

What this pack does not cover

Legal advice, the content itself, platform account security, and the owner's real schedule, gear and platform list, which live in the private overlay.

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.