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 pydantic/skills/plugin install logfireWrote 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/pydantic/skills/disconnect)<a href="https://agentmods.dev/commands/pydantic/skills/disconnect"><img src="https://agentmods.dev/badge/commands/pydantic/skills/disconnect/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/pydantic/skills/disconnect"><img src="https://agentmods.dev/badge/commands/pydantic/skills/disconnect.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.00013 | $0.00354 |
| Opus 5.5 | $0.00005 | $0.00142 |
| Sonnet 5.5 | $0.00003 | $0.00071 |
| Haiku 4.5 | $0.00001 | $0.00035 |
Grade A, and why
disconnect 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 21d 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.
What it actually says
Stop Logfire session capture
This command removes native Claude telemetry configuration, not the remote project, project token, account login, MCP connection, or application instrumentation. Explain that distinction and confirm the user's intent. If the user's request is ambiguous, ask whether they want to stop session capture, disconnect MCP, or both. If MCP-only, use Claude's native controls and skip the telemetry runtime entirely. Do not make users stop capture just to disconnect MCP, or clear their MCP login when they only asked to stop capture.
Run python3 "${CLAUDE_PLUGIN_ROOT}/scripts/agent_runtime.py" without
--install. Using its returned executable and data directory:
- Preview
--beta --no-input --output json agent claude --data-dir <data_dir> remove --dry-run. - With confirmation, run the same operation with
--yesinstead of--dry-run. - Recheck
agent claude ... status. Report the actual result and ask the user to restart Claude to stop exports from already-running sessions.
Do not delete the managed runtime or credential directory while the saved header helper may still reference them. The CLI refuses removal if managed fields were edited; surface that conflict rather than deleting fields by hand. If runtime or credentials are missing, do not claim capture has stopped or install software without asking. Help locate the original configuration.
Disabling/uninstalling the plugin is not a substitute for this operation.
If the user also wants to disconnect MCP, use Claude's native /mcp controls
to clear that connection separately. Do not revoke remote tokens unless asked.
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.
- 21d ago First seen · 32 lines · 13 tokens per session scan A 5a484862a422
disconnect is a command published in the GitHub repository pydantic/skills (151 stars, last pushed 9d ago), licensed MIT. It adds 13 tokens to every session and 354 once invoked, about $0.0001 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-10-17.
disconnect compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| disconnectpydantic/skills | Command | 151 | 9d ago | MIT | A | 13 | Claude Code |
| cost-optimizewshobson/agents | Command | 42k | yesterday | MIT | A | 26 | Claude Code |
| deploybutterbase-ai/butterbase-skills | Command | 535 | 6d ago | MIT | A | 20 | Claude Code |
| envvercel/vercel-plugin | Command | 326 | yesterday | none | A | 35 | Claude Code |
| firebase-publishPierry/harness-kit | Command | 4 | 1mo ago | MIT | A | 20 | Claude Code |
| scanprajapatimehul/claude-aws-cost-saver | Command | 24 | 4mo ago | MIT | A | 6 | Claude Code |
| migrationdatabayt/hogwarts | Command | 18 | 3d ago | none | A | 4 | Claude Code |