binders

A configuration helper for connecting coding assistants such as Aider, Continue, and OpenCode to an OpenAI-compatible service.

In plain words
What is it for?
It updates the relevant configuration files for Aider, Continue, or OpenCode while preserving other settings such as models, editors, automatic commits, lint commands, and test commands.
Why use it?
It reduces the risk of overwriting unrelated settings while adding the service URL and access key each client needs.

Agent

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.

agentmods
npx agentmods add agents/shaivpidadi/freeridev3/binders
Clone the repo
git clone --depth 1 https://github.com/Shaivpidadi/FreeRideV3
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,780 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
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 $0.00000 $0.02780
Opus 5 $0.00000 $0.01390
Sonnet 5 $0.00000 $0.00556
Haiku 4.5 $0.00000 $0.00278

Measured 2d ago against content hash 537247291aa0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

binders 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 2d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

> - **Continue** — append a `models[]` entry with `provider: openai`, `apiBase`, `apiKey` to `~/.continue/config.yaml`.
docs/agents/binders.md · 191 lines

How it starts

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

Consumer config reference (for freeride bind)

One line each: name, what we write, and where.

  • Aider — write openai-api-base + openai-api-key to ~/.aider.conf.yml.
  • Continue — append a models[] entry with provider: openai, apiBase, apiKey to ~/.continue/config.yaml.
  • OpenCode (sst/opencode) — add a provider.<id> block with npm: "@ai-sdk/openai-compatible" and options.baseURL to ~/.config/opencode/opencode.json.

All three preserve unrelated keys; only the named keys are touched. None require a process restart in normal cases (Continue hot-reloads YAML; OpenCode reloads on next prompt; Aider reads at startup).


Aider

Identity / docs

Config file

Base URL knob

API key knob

  • YAML key: openai-api-key
  • Env var: AIDER_OPENAI_API_KEY
  • CLI flag: --openai-api-key VALUE

Keys to preserve

Anything we did not write. Aider's config is a flat YAML; the bind helper must read → patch only openai-api-base and openai-api-key → write back, keeping all other top-level keys. Categories users commonly customize (do NOT clobber): model, weak-model, editor-model, edit-format, auto-commits, lint-cmd, test-cmd, read, gitignore, verbose, dark-mode/light-mode, cache-prompts, voice-*, set-env, alias, etc.

Read the full file on GitHub · 191 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. 2d ago First seen · 191 lines · 0 tokens per session scan B 537247291aa0

Subscribe to this mod's changes

binders is an agent published in the GitHub repository Shaivpidadi/FreeRideV3 (42 stars, last pushed 9d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,780 tokens. 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-30.