aid-unset-connector

aid-unset-connector is a skill for Claude Code from AndreVianna/aid-methodology. It costs 105 tokens per session (2,121 once invoked), scanned A, original, MIT.

A cleanup skill that removes one external-tool entry from the project's connector catalogue, including its stored secret.

In plain words
What is it for?
Use it when a project stops using an external tool and its connector descriptor and secret should be deleted.
Why use it?
It removes an unused connector without changing other entries or rebuilding the catalogue through the full discovery process.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash .aid/runtime/scripts/connectors/connector-secret.sh purge "$STEM" --root .aid/connectors.

Good fit Use it when a project stops using an external tool and its connector descriptor and secret should be deleted.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/AndreVianna/aid-methodology
agentmods
npx agentmods add skills/andrevianna/aid-methodology/aid-unset-connector

Made for: Claude Code.

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 aid-unset-connector

README.md
[![agentmods](https://agentmods.dev/badge/skills/andrevianna/aid-methodology/aid-unset-connector/github.svg)](https://agentmods.dev/skills/andrevianna/aid-methodology/aid-unset-connector)
Your own site
<a href="https://agentmods.dev/skills/andrevianna/aid-methodology/aid-unset-connector"><img src="https://agentmods.dev/badge/skills/andrevianna/aid-methodology/aid-unset-connector/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 aid-unset-connector

Your own site · 80×15
<a href="https://agentmods.dev/skills/andrevianna/aid-methodology/aid-unset-connector"><img src="https://agentmods.dev/badge/skills/andrevianna/aid-methodology/aid-unset-connector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,121 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00105 $0.02121
Opus 5.5 $0.00042 $0.00848
Sonnet 5.5 $0.00021 $0.00424
Haiku 4.5 $0.00011 $0.00212

Measured 26d ago against content hash 41b16cccbd1b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aid-unset-connector 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 26d 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.

.agents/skills/aid-unset-connector/SKILL.md · 170 lines

How it starts

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

Unset Connector

aid-unset-connector <tool> removes one connector from .aid/connectors/ without touching any other catalogued connector and without requiring — or triggering — an /aid-discover cycle. It is the incremental, single-tool counterpart to aid-set-connector's upsert (.agents/skills/aid-set-connector/SKILL.md), and shares its reconcile.md single-stem plumbing.

Absent from the mandatory pipeline flow. Like aid-set-connector, /aid-config, and /aid-housekeep, this is an optional, on-demand skill — no phase gate references it, and it never invokes /aid-discover.

Keyed by <tool> → one descriptor, unconditionally removed. Unlike aid-set-connector's ADD-vs-UPDATE classification, this skill has exactly one class: REMOVE. Whether <tool>'s stem is currently catalogued or not, the same purge-then-delete sequence runs — on an already-absent stem both operations are themselves clean no-ops (idempotent by construction; AC5), never a special-cased branch that checks first and skips.


Pre-flight

  • Default or Auto-accept edits → proceed.
  • Plan mode → STOP. This skill deletes files under .aid/connectors/.
  • Requires exactly one positional argument: <tool>. No optional flags.

Step 0: Validate arguments

  1. Not exactly one positional argument → print and exit non-zero:
    Usage: aid-unset-connector <tool>
    Example: aid-unset-connector Jira
    
  2. Any flag or extra argument is unknown:
    Unknown argument: <arg>
    Usage: aid-unset-connector <tool>
    
    exit non-zero.

From here on, $TOOL names the resolved <tool> argument (already validated above) — used as a shell variable in the bash snippets below, never as literal angle-bracket text.


Step 1: Resolve <tool> → descriptor stem

Derive the stem exactly as ELICIT and aid-set-connector do (feature-002's slug rule) — lowercase, non-alphanumeric runs collapsed to -, no leading/trailing -:

STEM=$(echo "$TOOL" | tr '[:upper:]' '[:lower:]' | sed -E 's/[^a-z0-9]+/-/g; s/^-+|-+$//g')

Read the full file on GitHub · 170 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. 26d ago Changed 41b16cccbd1b
  2. 2mo ago First seen · 170 lines · 105 tokens per session scan A 48edc3895be1

Subscribe to this mod's changes

aid-unset-connector is a skill published in the GitHub repository AndreVianna/aid-methodology (6 stars, last pushed 11d ago), licensed MIT. It adds 105 tokens to every session and 2,121 once invoked, about $0.0004 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-09-03.

Related

aid-unset-connector compared with skills from other repositories

aid-unset-connector next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aid-unset-connectorAndreVianna/aid-methodologySkill611d agoMITA105Claude Code
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79kyesterdayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill100kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill314k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code