mtk-agent-toolkit: Skill for Claude Code

.claude/skills/setup-converge/SKILL.md

setup-converge is a skill for Claude Code from moberghr/mtk-agent-toolkit. It costs 37 tokens per session (2,588 once invoked), scanned B, original, MIT.

A read-only audit that compares a codebase with its agreed architecture principles and conventions, then reports differences as work items.

In plain words
What is it for?
Use it to find and grade violations of architecture or coding conventions and create follow-up tasks.
Why use it?
It shows where the implementation has drifted from the project's documented rules without changing the code automatically.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the AskUserQuestion tool.

This is moberghr/mtk-agent-toolkit's own configuration. It tells Claude Code how to work on mtk-agent-toolkit itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mtk-agent-toolkit configures →

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 mtk plugin — 45 skills, 6 agents, 7 hooks, 1 MCP server shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to moberghr/mtk-agent-toolkit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/moberghr/mtk-agent-toolkit/main/.claude/skills/setup-converge/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/moberghr/mtk-agent-toolkit

Made for: Claude Code.

Or install mtk, the plugin that ships this one along with the rest of its 45 skills, 6 agents, 7 hooks, 1 MCP server.

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 setup-converge

README.md
[![agentmods](https://agentmods.dev/badge/skills/moberghr/mtk-agent-toolkit/setup-converge.svg)](https://agentmods.dev/skills/moberghr/mtk-agent-toolkit/setup-converge)
Your own site
<a href="https://agentmods.dev/skills/moberghr/mtk-agent-toolkit/setup-converge"><img src="https://agentmods.dev/badge/skills/moberghr/mtk-agent-toolkit/setup-converge.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,588 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00037 $0.02588
Opus 5 $0.00018 $0.01294
Sonnet 5 $0.00007 $0.00518
Haiku 4.5 $0.00004 $0.00259

Measured 7d ago against content hash 49d9885c249f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade B, and why

setup-converge 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 7d 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.

4. Otherwise, fall back to `find ~/.claude/plugins -maxdepth 8 -name "SKILL.md" -path "*/mtk/*/context-engineering/*" -type f 2>/dev/null | sort -V | tail -1 | sed 's|/.claude/skills/context-engineering/SKILL.md||'`. If
.claude/skills/setup-converge/SKILL.md · 154 lines

How it starts

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

MTK Setup Converge — Code Judged Against Agreed Principles

MTK File Resolution

MTK skills and shared references live either in the project (local install) or the plugin cache (marketplace install). Resolve once:

  1. If $MTK_HELPER_ROOT is set, prefix .claude/skills/ and .claude/references/ reads with it — a pinned checkout wins over every other source.
  2. Otherwise, if $CLAUDE_PLUGIN_ROOT is set, prefix them with that.
  3. Otherwise, if .claude/skills/context-engineering/SKILL.md exists locally → project-relative paths work as-is.
  4. Otherwise, fall back to find ~/.claude/plugins -maxdepth 8 -name "SKILL.md" -path "*/mtk/*/context-engineering/*" -type f 2>/dev/null | sort -V | tail -1 | sed 's|/.claude/skills/context-engineering/SKILL.md||'. If empty, MTK skills are unavailable — warn the engineer and proceed with CLAUDE.md only.

Always project-relative (never prefixed): CLAUDE.md, .claude/tech-stack, .claude/rules/, tasks/, docs/, .claude/references/architecture-principles.md, .claude/references/pre-commit-review-list.md, .mtk/ (workflow state). Resolve skills and scripts from the same root: a split (skills from a local dev checkout, scripts from the plugin cache) risks version drift — anchor both the same way.


This skill is the inverse of setup-refresh: refresh keeps the docs honest about the code; converge keeps the code honest about the docs. It treats architecture-principles.md (and conventions.md, where stamped) as normative and reports where the codebase has drifted from what the team already agreed to — as reviewable, graded work items, never as an in-place fix. Converge is read-only outside .claude/.mtk-cache/; it never edits the audited docs, never edits source, and never appends to tasks/todo.md without an explicit interactive approval (STEP 5).

STEP 0: Preconditions

Require both a prior bootstrap AND at least one stamped doc to judge code against:

test -f .claude/tech-stack || MISSING_TECH_STACK=1
test -f .claude/mtk-version.json || MISSING_VERSION=1

STAMPED_DOCS=()
for doc in .claude/references/architecture-principles.md .claude/references/conventions.md; do
  [ -f "$doc" ] && grep -q '<!-- mtk-stamp' "$doc" && STAMPED_DOCS+=("$doc")
done

Read the full file on GitHub · 154 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. 7d ago First seen · 154 lines · 37 tokens per session scan B 49d9885c249f

Subscribe to this mod's changes

setup-converge is a skill published in the GitHub repository moberghr/mtk-agent-toolkit (7 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 2,588 once invoked, about $0.0002 per session on Opus 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.