Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add synaptiai/synapti-marketplace/plugin install flowWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/synaptiai/synapti-marketplace/explain)<a href="https://agentmods.dev/commands/synaptiai/synapti-marketplace/explain"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/explain/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/synaptiai/synapti-marketplace/explain"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/explain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00038 | $0.01881 |
| Opus 5.5 | $0.00015 | $0.00752 |
| Sonnet 5.5 | $0.00008 | $0.00376 |
| Haiku 4.5 | $0.00004 | $0.00188 |
Grade A, and why
explain scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 25d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Explain Decisions
Interactive Q&A mode for understanding what was built and why. Read-only — no changes made.
Required Skills
None — explanatory Q&A over journal and diff context. No skill invocations.
Phase 1: Load Context
# Output: `###`-headed sections + KEY=value per
# `references/command-output-format.md`.
printf '%s\n' "### Branch & Issue"
BRANCH=$(git branch --show-current 2>/dev/null)
ISSUE_NUM=$(printf '%s\n' "$BRANCH" | grep -oE 'issue-[0-9]+' | grep -oE '[0-9]+')
printf '%s\n' "BRANCH=$BRANCH"
# Quote parenthesized fallback per command-output-format.md rule 2.
printf '%s\n' "ISSUE_NUM=${ISSUE_NUM:-\"(none)\"}"
printf '%s\n' ""
printf '%s\n' "### Decision Journal"
HELPER="$(__fr="${CLAUDE_PLUGIN_ROOT:-}";[ -x "$__fr/bin/cascade-resolve.sh" ]||__fr=$({ printf '%s\n' plugins/flow;ls -d "${CLAUDE_CONFIG_DIR:-$HOME/.claude}"/plugins/cache/synapti-marketplace/flow/*/ 2>/dev/null|sort -Vr;printf '%s\n' "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/plugins/marketplaces/synapti-marketplace/plugins/flow"; }|while read -r __p;do [ -x "${__p%/}/bin/cascade-resolve.sh" ]&&{ printf '%s\n' "${__p%/}";break;};done);printf '%s\n' "$__fr")/bin/cascade-resolve.sh"
# journal-dir.sh, beside the cascade helper: the directory every journal
# writer uses, so this reads the journal where it was written.
JOURNAL_DIR=".decisions"
[ -x "$HELPER" ] && JOURNAL_DIR=$("${HELPER%/cascade-resolve.sh}/journal-dir.sh")
[ -n "$JOURNAL_DIR" ] || JOURNAL_DIR=".decisions"
printf '%s\n' "JOURNAL_DIR=$JOURNAL_DIR"
# On a branch whose name contains issue-N the journal is issue-N.md, with its
# monthly auto-log trail. On any other branch it is the session journal of today,
# session-YYYY-MM-DD.md, named by the local calendar day as journal-append.sh
# and journal-record.sh name it, with the session trail of today: a session
# journal holds one day of work with no issue number, not of one branch, and
# files of earlier days are not loaded here.
if [ -n "$ISSUE_NUM" ]; then
JOURNAL_FILE="$JOURNAL_DIR/issue-$ISSUE_NUM.md"
AUTOLOG_NAME="issue-$ISSUE_NUM.*.md"
else
SESSION_DAY=$(date +%Y-%m-%d)
JOURNAL_FILE="$JOURNAL_DIR/session-$SESSION_DAY.md"
AUTOLOG_NAME="session-$SESSION_DAY.md"
fi
if [ -f "$JOURNAL_FILE" ]; then
printf '%s\n' "JOURNAL_FILE=$JOURNAL_FILE"
printf '%s\n' "JOURNAL_BYTES=$(wc -c < "$JOURNAL_FILE" | tr -d ' ')"
printf '%s\n' ""
printf '%s\n' "#### Journal contents"
cat "$JOURNAL_FILE"
# The auto-log breadcrumbs live in a local trail. They are context for "what
# was touched", not decisions, so they are labelled and kept separate from
# the journal body above rather than inlined into it. A set of files, not
# one: the issue-scoped trail rotates monthly (a session trail is one file).
#
# The heading names where the trail came from rather than asserting it is
# untracked. The journal dir is read from a TRACKED settings file, so a fork
# could point it at a tracked path, and this label would then be vouching for
# content it has not checked.
AUTOLOG_FILES=0
printf '%s\n' ""
printf '%s\n' "#### Auto-log trail ($JOURNAL_DIR/auto-log/)"
# Listed with find, not a glob: this block runs under zsh on macOS, where a
# glob that matches nothing aborts the whole block before the loop guard.
while IFS= read -r AUTOLOG; do
[ -f "$AUTOLOG" ] || continue
AUTOLOG_FILES=$((AUTOLOG_FILES + 1))
printf '%s\n' ""
printf '%s\n' "##### $(basename "$AUTOLOG")"
cat "$AUTOLOG"
done <<AUTOLOG_LIST
$(find "$JOURNAL_DIR/auto-log" -maxdepth 1 -type f -name "$AUTOLOG_NAME" 2>/dev/null | LC_ALL=C sort)
AUTOLOG_LIST
printf '%s\n' "AUTOLOG_FILES=$AUTOLOG_FILES"
else
printf '%s\n' "STATE=empty"
fi
printf '%s\n' ""
printf '%s\n' "### Issue Details"
if [ -n "$ISSUE_NUM" ]; then
gh issue view "$ISSUE_NUM" --json title,body --jq '"TITLE=\"\(.title)\"\nBODY_LENGTH=\(.body | length)"' 2>/dev/null
printf '%s\n' ""
printf '%s\n' "#### Issue body"
gh issue view "$ISSUE_NUM" --json body --jq '.body' 2>/dev/null
else
printf '%s\n' "STATE=empty"
fi
printf '%s\n' ""
printf '%s\n' "### Branch Diff Summary"
DEFAULT_BRANCH=$(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name' 2>/dev/null || printf '%s\n' "main")
printf '%s\n' "DEFAULT_BRANCH=$DEFAULT_BRANCH"
# Capture so an empty stat (e.g., on the default branch) emits STATE=empty
# rather than a silent heading; prefix raw stat lines with DIFF_STAT=.
DIFF_STAT=$(git diff --stat "$DEFAULT_BRANCH"...HEAD 2>/dev/null)
if [ -z "$DIFF_STAT" ]; then
printf '%s\n' "STATE=empty"
else
printf '%s\n' "$DIFF_STAT" | sed 's/^/DIFF_STAT=/'
fi
true
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 25d ago Changed 2210145f5284
- 1mo ago Changed · +16 lines 228771b9798e
- 2mo ago Changed · +3 lines b9964cc37bcc
- 2mo ago Changed · +4 lines b712f5b6eb65
- 2mo ago Changed 2004c85e905e
- 2mo ago Changed · +20 lines 0eab4f394550
- 2mo ago Changed 240d0bcb01de
- 2mo ago Changed 0fc86c99d01d
- 3mo ago First seen · 107 lines · 38 tokens per session scan A 84d8035d1617
explain is a command published in the GitHub repository synaptiai/synapti-marketplace (9 stars, last pushed today), licensed Apache-2.0. It adds 38 tokens to every session and 1,881 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
explain compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| explainsynaptiai/synapti-marketplace | Command | 9 | today | Apache-2.0 | A | 38 | Claude Code |
| create-worktreeCaptainMe-AI/lead-dev-os | Command | 2 | 24d ago | MIT | A | 0 | Claude Code |
| paper-trail-reviewroomi-fields/paper-trail | Command | 8 | 3mo ago | MIT | A | 39 | Claude Code |
| paper-trail-new-paperroomi-fields/paper-trail | Command | 8 | 3mo ago | MIT | A | 35 | Claude Code |
| paper-trail-registry-cleanuproomi-fields/paper-trail | Command | 8 | 3mo ago | MIT | A | 109 | Claude Code |
| paper-trail-cascaderoomi-fields/paper-trail | Command | 8 | 3mo ago | MIT | A | 44 | Claude Code |
| paper-trail-linkifyroomi-fields/paper-trail | Command | 8 | 3mo ago | MIT | A | 70 | Claude Code |