Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/yacb2/domaintome/syncgit clone --depth 1 https://github.com/yacb2/domaintomeWhat 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 | $0.00043 | $0.04201 |
| Opus 5 | $0.00022 | $0.02100 |
| Sonnet 5 | $0.00009 | $0.00840 |
| Haiku 4.5 | $0.00004 | $0.00420 |
Grade A, and why
sync 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 yesterday.
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 — 448 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/dt:sync is the single entry point for "make the graph reflect the
code". It replaces the old /dt:init + /dt:bootstrap + /dt:sync
trio. The mode is auto-detected from repo state and the presence of a
$ARGUMENTS git revision.
Mode quick-reference
| Repo state | Args | Mode | Section |
|---|---|---|---|
No .dt/graph.db, or DB with 0 modules |
(any) | INIT | §INIT mode |
| DB has modules | no git rev | EXTEND | §EXTEND mode |
| DB has modules | git rev (HEAD~10, sha, tag) |
DIFF | §DIFF mode |
/dt:init is a permanent alias that always lands here in INIT mode
(it predates /dt:sync and stays around because external docs and
muscle memory rely on it). /dt:bootstrap is a deprecated alias
that lands in EXTEND mode and emits a warning.
Step 0 — Detect mode
- Check if
.dt/graph.dbexists. If not → INIT mode. - Otherwise call
dt_list(type="module"). Ifitemsis empty → INIT mode. - Otherwise, if
$ARGUMENTSis non-empty (or contains--since <rev>) → DIFF mode. - Otherwise → EXTEND mode.
Announce the detected mode in one sentence before doing anything, so the user can correct you if the heuristic misfires:
"Detected mode: EXTEND (graph has 12 modules, no git rev passed). Continuing with a fresh sub-agent scan over the codebase."
INIT mode
First-time setup. Replaces the legacy two-step init + bootstrap flow
with a single conversation.
I.1 — Ensure the DB file
Run dt init --db .dt/graph.db (no-op if the file is already there from
auto-create).
I.2 — Detect layout
Inspect the current directory and its immediate children:
- Multi-repo workspace: no top-level manifest, but two or more
child directories each have their own
package.json,pyproject.toml,Cargo.toml,go.mod, or.git/. Also look for obvious workspace markers:backend/+frontend/,*_ws/naming,apps/with per-app manifests. - Single repo: one manifest at the root.
- Unclear: ask the user to confirm.
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.
- yesterday First seen · 448 lines · 43 tokens per session scan A 37d53b4b51cd
sync is a command published in the GitHub repository yacb2/domaintome (0 stars, last pushed 3mo ago), licensed MIT. It adds 43 tokens to every session and 4,201 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-08-31.
Other commands, from other repositories
memory-search
Search agent memory + learned patterns for cross-session context relevant to $ARGUMENTS.
discovery-ping
Discovery-plugin self-test. Exercises the plugin-shipped slash command path so we can capture commandsource/expansiontype values via the hook dumps.
kg-setup
Configure Knowledge Graph path and create config file.
approve
Approve the current PRD and begin parallel story execution. Analyzes dependencies, creates execution batches, launches background Task agents for each story, and monitors progress. Usage: /plan-cascade:approve [--flow ] [--tdd ] [--confirm] [--no-confirm] [--agent ] [--impl-agent ] [--retry-agent ] [--no-verify]…
speckit.tasks
Generate an actionable, dependency-ordered tasks.md for the feature based on available design artifacts.
gsd:docs-update
Generate or update project documentation verified against the codebase.