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 skills add luiseiman/dotforge --skill sync-templategit clone --depth 1 https://github.com/luiseiman/dotforgeWrote 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/skills/luiseiman/dotforge/sync-template)<a href="https://agentmods.dev/skills/luiseiman/dotforge/sync-template"><img src="https://agentmods.dev/badge/skills/luiseiman/dotforge/sync-template/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/skills/luiseiman/dotforge/sync-template"><img src="https://agentmods.dev/badge/skills/luiseiman/dotforge/sync-template.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.00023 | $0.01793 |
| Opus 5.5 | $0.00009 | $0.00717 |
| Sonnet 5.5 | $0.00005 | $0.00359 |
| Haiku 4.5 | $0.00002 | $0.00179 |
Grade B, and why
sync-template scanned grade B with 1 finding 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
- **Never write project-scope-inert keys**: `permissions.defaultMode: auto|bypassPermissions`, `sandbox.credentials`, `sandbox.ripgrep`, `sandbox.excludedCommands` under a managed sandbox, telemetry/OTEL `env`, `CLAUDE_C How it starts
The opening of the file, as written. The whole thing — 158 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sync Template
Update the current project's Claude Code configuration against the latest version of dotforge.
Principle: merge, not overwrite
NEVER overwrite existing files without confirmation. Compare and propose changes.
NEVER touch settings.local.json — it is the user's personal configuration.
NEVER modify sections marked with <!-- forge:custom --> in CLAUDE.md.
Step 0: Verify global
Before syncing the project, verify that ~/.claude/CLAUDE.md exists and contains behavior rules (communication, planning, autonomy). If global rules are active, the project's _common.md only needs technical rules (git, naming, testing, security). Do not duplicate what is already in global.
Step 1: Detect current state
- Read the current
.claude/settings.json - Read the current
CLAUDE.md. If it is a symlink (e.g. toAGENTS.md), resolve it withrealpathand apply every CLAUDE.md change to the target file — never replace the link with a regular file. IfAGENTS.mdexists next to aCLAUDE.mdthat has no@AGENTS.mdline, report it in the sync summary (AGENTS.md ignored by Claude Code — add "@AGENTS.md" to CLAUDE.md or run /import) but do not change either file without confirmation - Read existing
.claude/rules/ - Read existing
.claude/hooks/ - Detect stacks using
$DOTFORGE_DIR/stacks/detect.md - Read
~/.claude/CLAUDE.mdto know which rules are already covered globally
Step 1b: Classify managed files (forge-doctor)
Run bash "$DOTFORGE_DIR/scripts/forge-doctor.sh" . --json and apply this policy per file for the rest of the sync:
| Class | Meaning | Sync action |
|---|---|---|
intact |
hash equals the manifest | overwrite with the template version without asking (nothing local to lose) |
drifted |
local edits since last sync | show the diff, propose a merge, apply only on confirmation |
missing |
in manifest, deleted locally | offer to recreate; treat deletion as intentional if the user declines |
unmanaged |
under .claude/ but not in the manifest |
never touch; list in the report |
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 · +13 lines f6f420315e85
- 1mo ago Changed · +2 lines scan A → B 388ff32fc854
- 3mo ago First seen · 143 lines · 23 tokens per session scan A dd716b44de86
sync-template is a skill published in the GitHub repository luiseiman/dotforge (8 stars, last pushed 26d ago), licensed MIT. It adds 23 tokens to every session and 1,793 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
sync-template compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sync-templateluiseiman/dotforge | Skill | 8 | 26d ago | MIT | B | 23 | Claude Code |
| zephermineDannykkh/skill-olympus | Skill | 9 | 6d ago | MIT | A | 97 | Codex |
| design-planDannykkh/skill-olympus | Skill | 9 | 6d ago | MIT | A | 108 | Codex |
| agent-teamDannykkh/skill-olympus | Skill | 9 | 6d ago | MIT | A | 132 | Claude Code, Codex |
| clioDannykkh/skill-olympus | Skill | 9 | 6d ago | MIT | A | 107 | Claude Code, Codex |
| frontend-designDannykkh/skill-olympus | Skill | 9 | 6d ago | MIT | A | 92 | Claude Code, Codex |
| argosDannykkh/skill-olympus | Skill | 9 | 6d ago | MIT | A | 89 | Claude Code, Codex |