/asi:accept-no-substitutesfrom asi
Detects placeholder tokens like 'TODO', 'mock-', 'pseudo-' in agent output and triggers user interview to enforce completeness.
Ships in asi. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Zero tolerance for placeholder tokens in agent output. Incompleteness triggers user interview.
Detect and reject incomplete work tokens generated in agent output. When uncertainty exists, ask the user rather than substitute with placeholders.
This skill validates what agents produce, not existing code:
NOT for scanning existing codebases (use linters for that).
| Pattern | Examples |
|---|---|
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 |
| Token | Context |
|---|---|
temporary | "temporary solution" |
placeholder | "placeholder for now" |
TODO | inline TODOs as output |
FIXME | deferred fixes |
TBD/TBA | undetermined items |
WIP | work-in-progress as deliverable |
| Pattern | Context |
|---|---|
later | "we'll add this later" |
eventually | "eventually this will..." |
for now | "for now just use..." |
skeleton | incomplete implementation |
| Pattern | Examples |
|---|---|
example_* | example_config, example_key |
demo_* | demo_mode, demo_data |
foo/bar/baz | metasyntactic placeholders |
xxx/yyy | marker placeholders |
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?
Operates as MINUS (-1) validator in any triad:
accept-no-substitutes(-1) + generator(+1) + coordinator(0) = 0
When generator produces substitution tokens:
def authenticate(user):
# TODO: implement actual auth
return True # temporary bypass
def authenticate(user: User) -> AuthResult:
credentials = vault.get_credentials(user.id)
return verify_signature(user.token, credentials.public_key)
Here's a pseudo-implementation you can adapt...
Clarification needed before implementing:
- Which authentication provider is used?
- What is the expected token format?
Placeholder tokens are technical debt laundering:
The correct response to uncertainty is asking, not substituting.
scripts/detect.py --stdin < output.txt
# Invoke tree-sitter for structural detection
tree-sitter query '(comment) @comment' | grep -iE 'TODO|FIXME|placeholder'
# 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()
# On detection, emit MINUS signal
emit_trit(-1, reason="substitution_detected", token=matched)
Add to .claude/settings.json:
{
"hooks": {
"PostToolUse": [{
"matcher": {"toolName": "Write|Edit"},
"command": "~/.claude/skills/accept-no-substitutes/scripts/validate.sh"
}]
}
}
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)))
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (plurigrid/asi) — no native marketplace selected
npx claudepluginhub p/plurigrid-asi-plugins-asi1,393 skills in this plugin
/abductive-replHypothesis-Test Loops via REPL for Exploratory Abductive Inference/academic-researchSearch academic papers across arXiv, PubMed, Semantic Scholar, bioRxiv, medRxiv, Google Scholar, and more. Get BibTeX citations, download PDFs, analyze citation networks. Use for literature reviews, finding papers, and academic research./acquiring-disk-image-with-dd-and-dcflddCreate forensically sound bit-for-bit disk images using dd and dcfldd while preserving evidence integrity through hash verification.Other plugins' skills for the same job