aid-set-connector

aid-set-connector is a skill for Claude Code from AndreVianna/aid-methodology. It costs 148 tokens per session (3,921 once invoked), scanned A, original, MIT.

A connector-configuration tool that adds or updates one external tool in the project's connector catalogue.

In plain words
What is it for?
Use it when adding a new external tool or changing the type or configuration of an existing connector.
Why use it?
It lets you change one integration's settings without rerunning the project's full discovery process or altering other connectors.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; 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 OLD_TYPE=$(bash .aid/runtime/scripts/connectors/connector-registry.sh read "$STEM" connection_type --root .aid/connectors).

Good fit Use it when adding a new external tool or changing the type or configuration of an existing connector.

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-set-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-set-connector

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/andrevianna/aid-methodology/aid-set-connector"><img src="https://agentmods.dev/badge/skills/andrevianna/aid-methodology/aid-set-connector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 148 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,921 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00148 $0.03921
Opus 5.5 $0.00059 $0.01568
Sonnet 5.5 $0.00030 $0.00784
Haiku 4.5 $0.00015 $0.00392

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

Security

Grade A, and why

aid-set-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-set-connector/SKILL.md · 274 lines

How it starts

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

Set Connector

aid-set-connector <tool> <type> upserts one connector into .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-discover's ELICIT step (.agents/skills/aid-discover/references/state-elicit.md Step E2): use it to add a connector between discovery cycles, or to change an existing one's type or fields.

Absent from the mandatory pipeline flow. Like /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, one mutable connection_type per stem. Re-running this skill against a stem that already exists updates that same descriptor in place — including when <type> differs from what's on disk (a type transition). That is still a single UPDATE, never a remove-then-add pair.


Pre-flight

  • Default or Auto-accept edits → proceed.
  • Plan mode → STOP. This skill writes files under .aid/connectors/.
  • Requires exactly two positional arguments: <tool> <type>. One optional trailing flag: --rotate-secret (forces a fresh secret capture on an otherwise field-only, same-type, same-auth_method update — Step 5).

Step 0: Validate arguments

  1. Fewer than 2 positional arguments → print and exit non-zero:
    Usage: aid-set-connector <tool> <type>   (type: mcp | api | ssh | cli)
    Example: aid-set-connector Jira mcp
    
  2. <type> MUST be one of the closed enum mcp | api | ssh | cli. An unrecognized value is refused, not coerced — e.g. db is not a value:
    Unknown type: <type>   (expected one of: mcp, api, ssh, cli)
    
    exit non-zero.
  3. Any flag other than --rotate-secret is unknown:
    Unknown argument: <flag>
    Usage: aid-set-connector <tool> <type> [--rotate-secret]
    
    exit non-zero.

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

Read the full file on GitHub · 274 lines

Files

What ships with it

2 files 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. 26d ago Changed a8f0d1a0378e
  2. 2mo ago First seen · 274 lines · 148 tokens per session scan A f83f6d928b95

Subscribe to this mod's changes

aid-set-connector is a skill published in the GitHub repository AndreVianna/aid-methodology (6 stars, last pushed 11d ago), licensed MIT. It adds 148 tokens to every session and 3,921 once invoked, about $0.0006 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-set-connector compared with skills from other repositories

aid-set-connector next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aid-set-connectorAndreVianna/aid-methodologySkill611d agoMITA148Claude 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