一键导入
nbhd-action-gate
Request user confirmation before executing irreversible actions (delete, trash, send email).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Request user confirmation before executing irreversible actions (delete, trash, send email).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review the week, synthesize patterns, and save a structured weekly review.
Extract, classify, cross-reference, and persist goals/tasks/ideas/lessons from conversation and automation passes. Use when: end-of-conversation reflection cues, scheduled daily/weekly/monthly review triggers, or explicit user request to "save this"/"track this"/"remember". Don't use for routine chatting where no durable capture is needed.
Manage the user's daily journal -- morning reports, weather, news, focus, evening check-ins, and long-term memory curation. Use when: a scheduled job fires for morning report, evening reminder, or memory curation. Also use when the user asks to add a journal entry, check their journal, review their week, or update their memory. Don't use when: the user is just chatting and not referencing their journal or daily workflow.
| name | nbhd-action-gate |
| description | Request user confirmation before executing irreversible actions (delete, trash, send email). |
| tools | [{"name":"nbhd_request_action_approval","description":"Request user approval before performing an irreversible action.\nALWAYS use this tool BEFORE executing any of these operations:\n- Deleting or trashing emails (gmail trash, gmail delete)\n- Sending emails on behalf of the user (gmail send)\n- Deleting calendar events\n- Deleting Drive files\n- Deleting tasks\n\nThe tool sends a confirmation prompt to the user and waits for their\nresponse (up to 5 minutes). Returns the approval status.\n\nDO NOT proceed with the action unless status is \"approved\".\nIf status is \"denied\" or \"expired\", inform the user and do not retry.\nIf status is \"blocked\", explain the tier restriction to the user.\n","parameters":{"action_type":{"type":"string","description":"Type of action. One of: gmail_trash, gmail_delete, gmail_send, calendar_delete, drive_delete, task_delete","required":true},"display_summary":{"type":"string","description":"Human-readable description of what you want to do, e.g. 'Trash email: Re: Invoice #4521 from billing@acme.com'","required":true},"payload":{"type":"object","description":"Structured data about the action (message_id, event_id, file_id, etc.)","required":false}},"command":"python3 /opt/nbhd/skills/nbhd-action-gate/scripts/request_approval.py"}] |
CRITICAL: You MUST use this tool before any irreversible action.
When the user asks you to delete an email, trash a message, send an email,
delete a calendar event, delete a Drive file, or delete a task — call
nbhd_request_action_approval FIRST.
nbhd_request_action_approval with details"blocked", explain that destructive actions aren't available
on the Starter plan. Do NOT include payment, pricing, or upgrade links — some
channels (the iOS app) are not allowed to point users at external purchases.