config.es

config.es is a command for Claude Code from druide67/asiai. It costs 28 tokens per session (579 once invoked), scanned A, original, Apache-2.0.

A saved settings manager for the local programs that run language models, including their addresses, ports and labels.

In plain words
What is it for?
Use it to list known engines, register one on a non-standard or remote address, remove an entry by URL, or clear all saved settings.
Why use it?
It avoids repeatedly finding or re-entering the same model-engine connections. Automatically found engines can be reused for faster future detection, while manual entries are not removed automatically.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

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 commands/druide67/asiai/config.es
Clone the repo
git clone --depth 1 https://github.com/druide67/asiai

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 config.es

README.md
[![agentmods](https://agentmods.dev/badge/commands/druide67/asiai/config.es.svg)](https://agentmods.dev/commands/druide67/asiai/config.es)
Your own site
<a href="https://agentmods.dev/commands/druide67/asiai/config.es"><img src="https://agentmods.dev/badge/commands/druide67/asiai/config.es.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 579 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.1 $0.00028 $0.00579
Opus 5 $0.00014 $0.00290
Sonnet 5 $0.00006 $0.00116
Haiku 4.5 $0.00003 $0.00058

Measured 6d ago against content hash c9e33eed9f03, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

config.es 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 6d 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.

docs/commands/config.es.md · 67 lines

How it starts

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

asiai config

Gestiona la configuración persistente de motores. Los motores descubiertos por asiai detect se guardan automáticamente en ~/.config/asiai/engines.json para una detección posterior más rápida.

Uso

asiai config show              # Mostrar motores conocidos
asiai config add <engine> <url> [--label NAME]  # Añadir motor manualmente
asiai config remove <url>      # Eliminar un motor
asiai config reset             # Borrar toda la configuración

Subcomandos

show

Muestra todos los motores conocidos con su URL, versión, origen (auto/manual) y última marca de tiempo.

$ asiai config show
Known engines (3):
  ollama v0.17.7 at http://localhost:11434  (auto)  last seen 2m ago
  lmstudio v0.4.6 at http://localhost:1234  (auto)  last seen 2m ago
  omlx v0.9.2 at http://localhost:8800 [mac-mini]  (manual)  last seen 5m ago

add

Registra manualmente un motor en un puerto no estándar. Los motores manuales nunca se eliminan automáticamente.

asiai config add omlx http://localhost:8800 --label desktop
asiai config add ollama http://192.0.2.10:11434 --label remote

remove

Elimina una entrada de motor por URL.

asiai config remove http://localhost:8800

reset

Elimina todo el archivo de configuración. El siguiente asiai detect redescubrirá los motores desde cero.

Cómo funciona

El archivo de configuración almacena los motores descubiertos durante la detección:

  • Entradas automáticas (source: auto): creadas automáticamente cuando asiai detect encuentra un nuevo motor. Se eliminan después de 7 días de inactividad.
  • Entradas manuales (source: manual): creadas mediante asiai config add. Nunca se eliminan automáticamente.

La cascada de detección de 3 capas de asiai detect usa esta configuración como Capa 1 (la más rápida), seguida del escaneo de puertos (Capa 2) y la detección de procesos (Capa 3). Consulta detect para más detalles.

Ubicación del archivo de configuración

Read the full file on GitHub · 67 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. 6d ago First seen · 67 lines · 28 tokens per session scan A c9e33eed9f03

Subscribe to this mod's changes

config.es is a command published in the GitHub repository druide67/asiai (11 stars, last pushed 7d ago), licensed Apache-2.0. It adds 28 tokens to every session and 579 once invoked, about $0.0001 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-08-30.