wire-disconnect

wire-disconnect is a skill for Claude Code from usewire/wire-memory. It costs 11 tokens per session (162 once invoked), scanned B, original, MIT.

A tool for disconnecting Wire memory from the coding agent.

In plain words
What is it for?
Use it when you want to stop using Wire memory and require a new connection before using it again.
Why use it?
It removes the saved credentials, configuration, and environment settings used for the connection.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths.

Part of the wire-memory plugin — 6 skills, 4 hooks shipped together

Good fit Use it when you want to stop using Wire memory and require a new connection before using it again.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/usewire/wire-memory/wire-disconnect
Install

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.

Any agent
npx skills add usewire/wire-memory --skill wire-disconnect
Clone the repo
git clone --depth 1 https://github.com/usewire/wire-memory

Made for: Claude Code.

Or install wire-memory, the plugin that ships this one along with the rest of its 6 skills, 4 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 wire-disconnect

README.md
[![agentmods](https://agentmods.dev/badge/skills/usewire/wire-memory/wire-disconnect/github.svg)](https://agentmods.dev/skills/usewire/wire-memory/wire-disconnect)
Your own site
<a href="https://agentmods.dev/skills/usewire/wire-memory/wire-disconnect"><img src="https://agentmods.dev/badge/skills/usewire/wire-memory/wire-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.

agentmods 80×15 button for wire-disconnect

Your own site · 80×15
<a href="https://agentmods.dev/skills/usewire/wire-memory/wire-disconnect"><img src="https://agentmods.dev/badge/skills/usewire/wire-memory/wire-disconnect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 162 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.00011 $0.00162
Opus 5.5 $0.00004 $0.00065
Sonnet 5.5 $0.00002 $0.00032
Haiku 4.5 $0.00001 $0.00016

Measured 3mo ago against content hash 20da47b2506e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

wire-disconnect 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 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/disconnect.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

SCRIPT="$(find ~/.claude/plugins ~/.cursor/plugins -path '*wire-memory*/skills/wire-disconnect/scripts/disconnect.mjs' -print -quit 2>/dev/null)"
skills/wire-disconnect/SKILL.md · 16 lines

What it actually says

Disconnect Wire Memory

Locate and run the disconnect script with the Bash tool. The script is at scripts/disconnect.mjs inside this skill's own directory (skills/wire-disconnect/scripts/disconnect.mjs within the installed wire-memory plugin). The Bash tool's working directory may not be the skill directory — resolve to an absolute path before invoking:

SCRIPT="$(find ~/.claude/plugins ~/.cursor/plugins -path '*wire-memory*/skills/wire-disconnect/scripts/disconnect.mjs' -print -quit 2>/dev/null)"
node "$SCRIPT"

This removes stored API keys, config, and environment variables. The user will need to run /wire-connect again to reconnect.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 16 lines · 11 tokens per session scan B 20da47b2506e

Subscribe to this mod's changes

wire-disconnect is a skill published in the GitHub repository usewire/wire-memory (10 stars, last pushed 6mo ago), licensed MIT. It adds 11 tokens to every session and 162 once invoked, about $0.0000 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.

Related

wire-disconnect compared with skills from other repositories

wire-disconnect next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wire-disconnectusewire/wire-memorySkill106mo agoMITB11Claude Code
focusyanfeid/claude-amberSkill25mo agoMITA66Claude Code
checkpointyanfeid/claude-amberSkill25mo agoMITA62Claude Code
dietyanfeid/claude-amberSkill25mo agoMITA61Claude Code
resumeyanfeid/claude-amberSkill25mo agoMITA55Claude Code
evaluatexg-gh-25/SwarmAISkill66yesterdayMITA65Claude Code, Codex
ddd-managerxg-gh-25/SwarmAISkill66yesterdayMITA69Claude Code, Codex