baseline

baseline is a command for Claude Code from synaptiai/synapti-marketplace. It costs 42 tokens per session (2,216 once invoked), scanned A, original, Apache-2.0.

A command that builds a complete project documentation package from source evidence. It collects facts, models the project, records gaps, drafts the documents, and creates public versions from approved claims.

In plain words
What is it for?
Use it to create technical due-diligence, onboarding, internal engineering, partner, and customer documentation.
Why use it?
It gives teams a repeatable way to turn scattered project files into documentation that can be checked and safely shared.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the dossier plugin — 10 skills, 9 commands, 6 agents, 2 hooks shipped together

Good fit Use it to create technical due-diligence, onboarding, internal engineering, partner, and customer documentation.

Compare 6 commands from other repositories ↓
Install

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.

Claude Code
/plugin marketplace add synaptiai/synapti-marketplace
Claude Code
/plugin install dossier

Made for: Claude Code.

Or install dossier, the plugin that ships this one along with the rest of its 10 skills, 9 commands, 6 agents, 2 hooks.

Wrote 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.

agentmods badge for baseline

README.md
[![agentmods](https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/baseline/github.svg)](https://agentmods.dev/commands/synaptiai/synapti-marketplace/baseline)
Your own site
<a href="https://agentmods.dev/commands/synaptiai/synapti-marketplace/baseline"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/baseline/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.

agentmods 80×15 button for baseline

Your own site · 80×15
<a href="https://agentmods.dev/commands/synaptiai/synapti-marketplace/baseline"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/baseline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,216 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.02216
Opus 5 $0.00021 $0.01108
Sonnet 5 $0.00008 $0.00443
Haiku 4.5 $0.00004 $0.00222

Measured 5d ago against content hash adb33aecd6c8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

baseline 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 5d 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.

plugins/dossier/commands/baseline.md · 167 lines

How it starts

The opening of the file, as written. The whole thing — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Build Documentation Baseline: $ARGUMENTS

Phases 0 through 5 of the documentation protocol. Produces a complete, evidence-cited package. Verification is /dossier:audit.

Required Skills

  • engagement-scoping — Phase 0: resolve and freeze scope, ceiling, and inspection batches
  • evidence-ledger — Phase 1: claim states, source authority, executed checks
  • project-modeling — Phase 2: the canonical model, terminology, and end-to-end traces
  • gap-and-contradiction-register — Phase 3: classify and route material gaps
  • doc-package-contract — Phase 4: per-document contracts and headers
  • prose-clarity — Phase 4: self-lint drafted prose before returning each document
  • disclosure-gating — Phase 5: derive the public documents from approved claims only

References

Phase 0 — Orient and protect

__dr="${CLAUDE_PLUGIN_ROOT:-}"
[ -x "$__dr/bin/dossier-resolve-config.sh" ] || __dr=$({ echo plugins/dossier; ls -d "$HOME"/.claude/plugins/cache/synapti-marketplace/dossier/*/ 2>/dev/null | sort -Vr; echo "$HOME/.claude/plugins/marketplaces/synapti-marketplace/plugins/dossier"; } | while read -r __p; do [ -x "${__p%/}/bin/dossier-resolve-config.sh" ] && { echo "${__p%/}"; break; }; done)

echo "### Preflight"
if [ ! -x "$__dr/bin/dossier-resolve-config.sh" ]; then
  echo "BASELINE_STATE=blocked"
  echo "BASELINE_ERROR=dossier plugin scripts not found — reinstall or upgrade the plugin"
  true; exit 0
fi
echo "DOSSIER_ROOT=$__dr"

OUTPUT_ROOT=$("$__dr/bin/dossier-resolve-config.sh" --default "docs/dossier" dossier.project.outputRoot 2>/dev/null)
echo "OUTPUT_ROOT=$OUTPUT_ROOT"
echo "DELIVERY_MODE=$("$__dr/bin/dossier-resolve-config.sh" --default full dossier.engagement.deliveryMode 2>/dev/null)"
echo "PACKAGE_EXISTS=$([ -d "$OUTPUT_ROOT/00-control" ] && echo true || echo false)"

echo "### Config"
"$__dr/bin/dossier-validate-config.sh" 2>&1 || echo "CONFIG_FINDINGS=present"

echo "### Working tree"
echo "UNCOMMITTED=$(git status --porcelain 2>/dev/null | wc -l | tr -d ' ')"
echo "COMMIT=$(git rev-parse HEAD 2>/dev/null || echo unknown)"
true

Read the full file on GitHub · 167 lines

Changes

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.

  1. 5d ago First seen · 167 lines · 0 tokens per session scan A adb33aecd6c8

Subscribe to this mod's changes

baseline is a command published in the GitHub repository synaptiai/synapti-marketplace (6 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 42 tokens to every session and 2,216 once invoked, about $0.0002 per session on Opus 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.

Related

Other commands, from other repositories