Skip to content
Back to skills

Accept

ASecurity

Use as a terminal node that emits accepted@1 only when an upstream verdict@1 says pass, and fails loudly on a rejected draft regardless of how routing reached it. Single tool. Reusable standalone.

  • 209 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 22, 2026
ai-agentspythonnode

Works with

  • terminal

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 22, 2026

npx -y skills add s0912758806p/agentic-sop-to-work --skill accept --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Accept?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Accept
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/s0912758806p-accept/badge)](https://www.skillsdirectory.com/skills/s0912758806p-accept)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: accept
description: Use as a terminal node that emits accepted@1 only when an upstream verdict@1 says pass, and fails loudly on a rejected draft regardless of how routing reached it. Single tool. Reusable standalone.
---

# Skill — accept(終端節點,不信任路由)

圖示範流程的終端節點。刻意**不信任路由**:即使編排把一份 `reject` 的判定送到這裡
(例如有人手改了 `flow.json` 的 branch 條件),這一步仍拒絕通過。
閘門查真相,不查「我是被誰叫來的」。

## 綁定的單一工具
- `python3`(標準庫)。**本 skill 只此一個工具。**

## 依賴
- `python` >= 3.8

## 參數化(無硬編碼)
- 輸入:`--in <verdict artifact.json>`;輸出:`--out <accepted artifact.json>`

## 介面
- **輸入 artifact**:`verdict@1`(讀 `data.verdict`、`data.round`)。
- **輸出 artifact**:`accepted@1` — `data{accepted, rounds, draft_status:"DRAFT"}`,透傳 `trace`。

## fail-loud 邊界
`data.verdict != "pass"` → **exit 3**。產出一律 DRAFT,需人覆核。

## 執行
`python3 skills/accept/tool.py --in <$RUN/verdict.json> --out <$RUN/accepted.json>`

## 獨立重用
`skills/accept/` + `lib/kit.py` 可單獨抽出;只要上游給 `verdict@1` 即可運作。

Files in this skill

  • SKILL.md1.3 KB
  • tool.py1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.