safety-escalation-review
Safety Escalation Review analyzes local transcripts, incident notes, and evidence bundles to identify potential harm signals and produces a redacted escalation memo with actionable checklists. Use this skill when preparing safety, legal, or trust-and-safety handoffs from collected evidence, stopping at local memo generation without contacting external authorities or third parties unless explicitly instructed.
git clone --depth 1 https://github.com/Prompthon-IO/agent-systems-handbook /tmp/safety-escalation-review && cp -r /tmp/safety-escalation-review/skills/safety-escalation-review ~/.claude/skills/safety-escalation-reviewSKILL.md
# Safety Escalation Review For the human-facing explanation, read `README.md` first. This file is the Codex invocation contract. ## Overview Use this skill when the user provides a local transcript, incident note, or evidence bundle that may require safety escalation. The workflow is local-first and review-first: 1. read the local input file 2. redact obvious direct identifiers for the memo copy 3. extract timeline cues and risk signals 4. generate a Markdown escalation memo and checklist 5. hand off to the responsible human owner Do not contact external authorities, submit reports, message involved parties, or upload sensitive evidence to external services unless the user gives a separate explicit instruction and the organization policy allows it. In the normal workflow, stop at the local memo. ## Inputs Supported input files: - Markdown or plain text transcripts - JSON objects or arrays with message-like fields - short local incident notes Keep original evidence in the user's chosen location. Do not rewrite or move source evidence. ## Commands Run the helper relative to this skill directory: ```bash python3 scripts/escalation_review.py review --input /path/to/evidence.md ``` Write to an explicit output: ```bash python3 scripts/escalation_review.py review \ --input /path/to/evidence.json \ --output ~/.codex/state/safety-escalation-review/memos/case-001.md ``` Show the CLI: ```bash python3 scripts/escalation_review.py --help ``` ## Safety Rules - Keep evidence local unless the user explicitly requests otherwise. - Never contact law enforcement, emergency services, platform trust-and-safety teams, or other external parties from this skill. - Do not decide whether the organization has a legal duty to report. - Redact obvious emails, phone numbers, bearer tokens, and API-like secrets in the generated memo. - Preserve enough source references for a human reviewer to find the original evidence. - Treat a generated memo as a preparation artifact, not as the final incident decision. ## Human Handoff Owners Use the user's organization language if they provide it. Otherwise suggest one or more of: - trust and safety - legal - security or incident response - clinical or student-safety owner - executive duty officer for urgent credible harm cases ## Outputs By default, runtime outputs should live outside git: ```text ~/.codex/state/safety-escalation-review/ memos/ ``` The memo includes: - case summary - severity estimate - detected risk signals - timeline cues - privacy handling notes - human handoff checklist - source reference ## Response Pattern When reporting back, include: - input path reviewed - output memo path - severity estimate - key signal categories - reminder that the memo is for human review and no external action was taken
用 connector-first、最少 token 的方式审阅 Gmail 客户支持线程。适用于 Codex 需要通过 Codex Gmail connector 读取 Gmail、把清洗后的消息导入本地 SQLite 问题队列、先执行确定性的清洗和分类、只把模型调用保留给 JSON-only 的消息理解和草稿字段生成,并支持 dashboard 审阅、客户审批与排队回复处理的时候。
审阅客户来信,以本地政策或 FAQ 文档为依据起草安全的投诉和咨询回复。
Compare two structured agent-run artifacts to estimate cache efficiency, explain likely cache breaks, and produce a local benchmark report. Use when a user wants to understand whether a prompt layout, tool manifest, or history shape is helping or hurting prompt-cache reuse.
Persistent daily news monitoring backed by local SQLite and Markdown reports. Use when a user asks Codex to track named publications, fetch the last N hours of news, summarize recent articles by topic, deduplicate articles across runs, or maintain a personal newsroom that survives across sessions.
Scan local cleanup targets, apply readable cleanup rules, produce a preview report, and execute approved cleanup actions with logs. Use when a user asks Codex to clean up their computer, empty old Trash items, find duplicated Downloads files, review local storage clutter, or propose safe file cleanup actions before making changes.
Preview-first local file organizer. Scan a user-named folder, classify files into category subfolders using readable rules, write a preview Markdown report and JSON plan, execute confirmed moves with persistent SQLite state, and reverse moves with undo. Use when a user asks Codex to organize Downloads, sort a messy folder into Invoices/Receipts/School/Images/Software/PDFs subfolders, propose a folder structure before moving anything, or undo a previous organization run.
Capture local or explicitly provided web knowledge sources into cited Markdown notes. Use when a user asks Codex to watch a research folder, register local folders for later scans, summarize new or modified local Markdown/TXT/PDF/DOCX files, capture a provided URL, maintain SQLite state for personal knowledge capture, or generate searchable source-grounded daily notes.
Persistent product price tracking for natural-language product requests. Use when a user asks to watch, track, monitor, compare, or report prices for a product, especially with a target price or threshold such as "Watch MacBook Pro M3 14-inch and tell me if it drops below $1200." Supports source discovery, Playwright/browser product checks, SQLite history, threshold comparison, and Markdown price reports.