Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计提醒

accept-no-substitutes不接受替代品

Agent Skill

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

总安装

210

周安装

9

GitHub Stars

17

下载量

73
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/plurigrid/asi --skill accept-no-substitutes

简介

accept-no-substitutes 严格禁止在 Agent 输出中使用占位符或替代文本,确保工作完整性。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 中生成代码、配置或解释性文本时,防止出现伪代码或 mock 数据。
  • 当存在不确定性时,优先询问用户而非自行填充 placeholder;仅作用于新生成内容,不扫描现有代码。
  • 安装命令为 npx skills add https://github.com/plurigrid/asi --skill accept-no-substitutes,需确认权限范围是否允许拦截输出。
  • 该技能作为约束机制,用于强制要求完成度,而非替代其他功能或跳过必要交互。

SKILL.md

Accept No Substitutes

Zero tolerance for placeholder tokens in agent output. Incompleteness triggers user interview.

Purpose

Detect and reject incomplete work tokens generated in agent output. When uncertainty exists, ask the user rather than substitute with placeholders.

Scope: Agent Output Only

This skill validates what agents produce, not existing code:

  • Code being written or modified
  • Prose explanations
  • Configuration being generated
  • Any text output from parallel agents

NOT for scanning existing codebases (use linters for that).

Trit Assignment

  • Trit: -1 (MINUS/VALIDATOR)
  • Hue: 240° (cold blue - enforcement)
  • Role: Constraint enforcer, substitution detector

Forbidden Token Categories

Prefix Substitutions

PatternExamples
pseudo-*pseudo-code, pseudo-implementation
mock-*mock-data, mock-service
fake-*fake-response, fake-auth
stub-*stub-function, stub-api
dummy-*dummy-value, dummy-handler

Completeness Evasions

TokenContext
temporary"temporary solution"
placeholder"placeholder for now"
TODOinline TODOs as output
FIXMEdeferred fixes
TBD/TBAundetermined items
WIPwork-in-progress as deliverable

Deferral Signals

PatternContext
later"we'll add this later"
eventually"eventually this will..."
for now"for now just use..."
skeletonincomplete implementation

Example/Demo Evasions

PatternExamples
example_*example_config, example_key
demo_*demo_mode, demo_data
foo/bar/bazmetasyntactic placeholders
xxx/yyymarker placeholders

Enforcement Protocol

On Detection

  1. HALT - Stop generation immediately
  2. ABANDON - Discard substituted content with complete disgust
  3. INTERVIEW - Ask user for clarification

Interview Template

Substitution detected that indicates incomplete work:
  - Token: "[detected token]"
  - Context: [what was being attempted]

This requires input:
1. What is the ACTUAL implementation needed?
2. What specific details are missing?
3. Should research be conducted before proceeding?

GF(3) Integration

Operates as MINUS (-1) validator in any triad:

accept-no-substitutes(-1) + generator(+1) + coordinator(0) = 0

When generator produces substitution tokens:

  • Validator REJECTS with -1
  • Generator must RE-ATTEMPT with +1
  • Coordinator mediates user interview at 0

Examples

Rejected Output (triggers interview)

def authenticate(user):
    # TODO: implement actual auth
    return True  # temporary bypass

Accepted Output (no substitution)

def authenticate(user: User) -> AuthResult:
    credentials = vault.get_credentials(user.id)
    return verify_signature(user.token, credentials.public_key)

Rejected Prose (triggers interview)

Here's a pseudo-implementation you can adapt...

Accepted Prose (no substitution)

Clarification needed before implementing:
- Which authentication provider is used?
- What is the expected token format?

Rationale

Placeholder tokens are technical debt laundering:

  1. Create false sense of progress
  2. Defer decisions that need making NOW
  3. Accumulate into unmaintainable systems
  4. Signal uncertainty that should be surfaced

The correct response to uncertainty is asking, not substituting.

Integrated Detection Pipeline

Phase 1: Regex Scan

scripts/detect.py --stdin < output.txt

Phase 2: AST Check (if code)

# Invoke tree-sitter for structural detection
tree-sitter query '(comment) @comment' | grep -iE 'TODO|FIXME|placeholder'

Phase 3: Compression Test

# High compression ratio = likely template/placeholder
from zlib import compress
ratio = len(compress(output.encode())) / len(output)
if ratio < 0.3:  # Suspiciously compressible
    flag_as_boilerplate()

Phase 4: GF(3) Emit

# On detection, emit MINUS signal
emit_trit(-1, reason="substitution_detected", token=matched)

Hook Integration

Add to .claude/settings.json:

{
  "hooks": {
    "PostToolUse": [{
      "matcher": {"toolName": "Write|Edit"},
      "command": "~/.claude/skills/accept-no-substitutes/scripts/validate.sh"
    }]
  }
}

MCP Bridge

Call via babashka for fast validation:

(require '[babashka.process :refer [shell]])
(defn validate-output [text]
  (let [{:keys [exit]} (shell {:in text} "scripts/detect.py" "-")]
    (zero? exit)))

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

展示第三方安全扫描或审计结果

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

平台分布

Codex

35.25%
按下载量换算26

Claude

32.06%
按下载量换算23

Cursor

18.32%
按下载量换算13

Gemini CLI

9.94%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/plurigrid/asi --skill accept-no-substitutes 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills