gac: Skill for Claude Code

.skills/adding-provider/SKILL.md

adding-provider is a skill for Claude Code, Codex from thomwebb/gac. It costs 78 tokens per session (2,196 once invoked), scanned A, original, MIT.

A step-by-step guide for adding a new AI service as a provider in the GAC project. It covers the provider code, registration, setup screen, documentation, and tests.

In plain words
What is it for?
Use it when adding an OpenAI-compatible service, an Anthropic-compatible service, or a provider with its own connection method to GAC.
Why use it?
It prevents a provider from being only partly connected, such as appearing in setup but not working in the provider registry.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

This is thomwebb/gac's own configuration. It tells Claude Code and Codex how to work on gac itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gac configures →

View source ↗ thomwebb/gac
Reuse

Borrowing it

Nothing to install: this file belongs to thomwebb/gac. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/thomwebb/gac/main/.skills/adding-provider/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/thomwebb/gac

Made for: Claude Code, Codex.

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 adding-provider

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/thomwebb/gac/adding-provider"><img src="https://agentmods.dev/badge/skills/thomwebb/gac/adding-provider.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,196 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 warn 7 Sept 2026
SkillSpector: 11 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 3
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
  • medium MCP Rug Pull · line 10
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
  • medium MCP Rug Pull · line 104
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
  • medium MCP Rug Pull · line 165
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
  • medium MCP Rug Pull · line 185
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
  • medium Prompt Injection · line 29
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 31
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 29
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 34
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 35
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 162
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
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.00078 $0.02196
Opus 5.5 $0.00031 $0.00878
Sonnet 5.5 $0.00016 $0.00439
Haiku 4.5 $0.00008 $0.00220

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

Security

Grade A, and why

adding-provider 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 2mo 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.

.skills/adding-provider/SKILL.md · 188 lines

How it starts

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

Adding a Provider to GAC

Overview

GAC supports 35+ providers via a registry pattern. Adding one means creating a provider class, registering it, listing it in the interactive setup CLI, advertising it in the README, and adding standardized tests. Skipping any step leaves the provider partially wired (e.g. selectable in uvx gac init but not in the registry, or callable but not advertised).

Core principle: every provider lives in five places. Touch all five.

When to Use

Use when:

  • A user asks to "add X as a provider"
  • You need to support a new OpenAI-compatible inference service (cheapest case — extend OpenAICompatibleProvider)
  • You need to support an Anthropic-compatible or custom-protocol provider

Do NOT use for:

  • Modifying behavior of an existing provider (just edit its file)
  • Adding a new model to an existing provider (no code change needed; users set GAC_MODEL)

The Five Touch Points

# Path Purpose
1 src/gac/providers/<key>.py Provider class (NEW file)
2 src/gac/providers/__init__.py Import + register_provider("<key>", Cls)
3 src/gac/model_cli.py Add to providers list in _configure_model; add alias mapping if display name → key derivation doesn't match
4 README.md Add to "Supported Providers" bullet list
5 tests/providers/test_<key>.py + tests/test_ai.py + tests/test_model_cli_providers.py Tests (NEW + edits)

Read the full file on GitHub · 188 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. 2mo ago First seen · 188 lines · 78 tokens per session scan A 40537b6d5f07

Subscribe to this mod's changes

adding-provider is a skill published in the GitHub repository thomwebb/gac (318 stars, last pushed 18d ago), licensed MIT. It adds 78 tokens to every session and 2,196 once invoked, about $0.0003 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-08-30.

Related

adding-provider compared with skills from other repositories

adding-provider next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
adding-providerthomwebb/gacSkill31818d agoMITA78Claude Code, Codex
serving-llms-vllmNousResearch/hermes-agentSkill261kyesterdayMITA27Claude Code, Codex
open-sourcebrowser-use/browser-useSkill120kyesterdayMITA137Claude Code
mem0-test-integrationmem0ai/mem0Skill68k2d agoApache-2.0A207Claude Code, Codex
data-leakage-detectionTencent/AI-Infra-GuardSkill7.4kyesterdayApache-2.0A34Claude Code
bridging-presidio-and-spacymaziyarpanahi/openmedSkill5.8kyesterdayApache-2.0A154Claude Code
llmsimlangwatch/langwatchSkill5.0kyesterdayApache-2.0A98Claude Code