Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问clear审计未展示

approvalsapprovals 搜索

Agent Skill

approvals 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

989

周安装

40

GitHub Stars

公开资料未说明

下载量

310
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:approvals(approvals 搜索)
来源仓库:https://github.com/tracemem/tracemem-skills
仓库路径:skills/approvals
安装命令:
npx skills add tracemem/tracemem-skills --skill "approvals"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add tracemem/tracemem-skills --skill "approvals"

简介

approvals 提供基于关键词的检索与筛选能力,用于快速定位相关信息。

  • 适合在复杂任务中缩小搜索范围,提升 Agent 获取有效数据的效率。
  • 可通过参数定制排序规则或过滤条件,适配不同业务场景需求。
  • 需确认数据来源的可靠性,避免返回过时或不相关的结果。
  • 建议结合上下文使用,防止过度依赖单一检索路径导致信息偏差。

SKILL.md

name
approvals
description
Guidelines for seeking user approval for sensitive actions.

Skill: TraceMem Approvals and Human-in-the-Loop

Purpose

This skill teaches how to handle scenarios where an action requires human approval. This is a core feature of TraceMem's governance model.

When to Use

  • When decision_evaluate returns outcome: "requires_exception".
  • When your automation mode is approve (meaning you *expect* to wait for approval).
  • When you detect a high-risk situation and voluntarily want to ask for confirmation.

When NOT to Use

  • Do not ask for approval if the policy denys the action outright (you cannot bypass a deny).
  • Do not ask for approval for trivial read-only tasks that don't need it.

Core Rules

  • Request and Wait: Approval is an asynchronous process. You request it, then you poll (wait) for the result.
  • Do Not Proceed Unapproved: If you receive a rejected status, you must abort the operation. Proceeding is a violation.
  • Provide Rationale: When requesting approval, explain *why* the exception is needed. This helps the human decider.

Correct Usage Pattern

  1. Request Approval:

Call decision_request_approval with: - decision_id: Current decision. - title: Short summary (e.g., "High Value Refund"). - message: Detailed explanation ("Refund of $500 exceeds $100 auto-limit"). - require_rationale: true (usually good practice). - expires_in_seconds: e.g., 3600 (1 hour).

*Result*: You get an approval_id and status requested.

  1. Poll for Concluson:

Loop and call decision_get periodically (e.g., every 5-10 seconds). Check status field. - If open or needs_approval: Continue waiting. - If approved: Break loop and proceed. - If rejected: Break loop and handle rejection (abort/rollback).

  1. Proceed:

Once approved, you can retry the operation (e.g., the write) that was previously blocked or required the exception. The policy check should now pass (or you can proceed if the approval *was* the gate).

Common Mistakes

  • Busy Waiting: Polling too fast (e.g., every 10ms) will hit rate limits. Use reasonable sleep (5-10s).
  • Ignoring Rejection: Treating rejected as a "soft" error and trying again immediately.
  • Timeout Handling: Waiting forever. Set a max wait time (e.g., 5 minutes) and abort if no human responds.

Safety Notes

  • Notification Channels: The human is notified via configured channels (Slack, Email). You don't need to send the email yourself; TraceMem handles the routing.
  • Context: The approver sees the *Context* and *Reads* you performed. Ensure you added enough context *before* requesting approval so they have the full picture.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenCode

25.59%
按下载量换算79

Antigravity

25%
按下载量换算78

Claude Code

16.19%
按下载量换算50

Gemini CLI

14.12%
按下载量换算44

Cursor

8.21%
按下载量换算25

windsurf

3.66%
按下载量换算11

安全审计

暂无安全审计结果可展示。

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills