aid-set-connector

aid-set-connector is a skill for Claude Code from AndreVianna/aid-methodology. It costs 148 tokens per session (3,938 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: reads .claude/ paths; names the AskUserQuestion tool.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is OLD_TYPE=$(bash .claude/aid/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,938 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.03938
Opus 5 $0.00074 $0.01969
Sonnet 5 $0.00030 $0.00788
Haiku 4.5 $0.00015 $0.00394

Measured 9d ago against content hash f83f6d928b95, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 9d 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.

.claude/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 (.claude/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. 9d 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 (5 stars, last pushed 2d ago), licensed MIT. It adds 148 tokens to every session and 3,938 once invoked, about $0.0007 per session on Opus 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

Other skills, from other repositories

recipe-create-meet-space

Create a Google Meet meeting space and share the join link.

googleworkspace/cli · 18 tokens

atmos-config

Atmos root configuration: atmos.yaml discovery, precedence, deep merging, basepath, imports, minimal bootstrap, and routing to narrower Atmos skills.

cloudposse/atmos · 31 tokens

workthreads

SpecStory Workthreads - a weekly work-thread rollup across a team's repos from SpecStory coding histories (any agent - Claude Code, Codex, Cursor, Gemini, and more). It groups the window's sessions into threads of work per project and labels each new / open / recently closed, so a lead sees what shipped, what is still…

specstoryai/getspecstory · 126 tokens

story-readiness

Validate that a story file is implementation-ready. Checks for embedded GDD requirements, ADR references, engine notes, clear acceptance criteria, and no open design questions. Produces READY / NEEDS WORK / BLOCKED verdict with specific gaps. Use when user says 'is this story ready', 'can I start on this story', 'is…

Donchitos/Claude-Code-Game-Studios · 77 tokens

projects

List all managed projects with status, branch, open PRs, and open issue counts — portfolio-level view.

me2resh/apexyard · 24 tokens

magpie-security-issue-import-from-md

Open one or more tracking issues from a markdown file containing a batch of security findings. Each finding becomes one tracker landing in the Needs triage board column. The file itself is the full report — there is no inbound reporter to reply to and no PR to inspect.

apache/magpie · 73 tokens