config.fr

config.fr is a command for coding agents from druide67/asiai. It costs 29 tokens per session (586 once invoked), scanned A, original, Apache-2.0.

A command for managing the saved addresses, ports, labels, and detection details of local or remote language-model engines used by asiai. An engine is the program that runs a language model.

In plain words
What is it for?
Use it to list known engines, manually register an engine URL, remove an entry, or clear the saved configuration.
Why use it?
It avoids repeatedly entering connection details, especially when an engine uses a non-standard port. You can inspect, add, remove, or reset the saved engine configuration.

Command

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

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.fr

README.md
[![agentmods](https://agentmods.dev/badge/commands/druide67/asiai/config.fr.svg)](https://agentmods.dev/commands/druide67/asiai/config.fr)
Your own site
<a href="https://agentmods.dev/commands/druide67/asiai/config.fr"><img src="https://agentmods.dev/badge/commands/druide67/asiai/config.fr.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 586 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.00029 $0.00586
Opus 5 $0.00015 $0.00293
Sonnet 5 $0.00006 $0.00117
Haiku 4.5 $0.00003 $0.00059

Measured 5d ago against content hash 84092a41edef, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

config.fr 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 5d 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.fr.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

Gérer la configuration persistante des moteurs. Les moteurs découverts par asiai detect sont automatiquement sauvegardés dans ~/.config/asiai/engines.json pour une détection ultérieure plus rapide.

Utilisation

asiai config show              # Afficher les moteurs connus
asiai config add <engine> <url> [--label NAME]  # Ajouter un moteur manuellement
asiai config remove <url>      # Supprimer un moteur
asiai config reset             # Effacer toute la configuration

Sous-commandes

show

Affiche tous les moteurs connus avec leur URL, version, source (auto/manual) et dernière date de détection.

$ 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

Enregistrer manuellement un moteur sur un port non standard. Les moteurs manuels ne sont jamais supprimés automatiquement.

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

remove

Supprimer une entrée de moteur par URL.

asiai config remove http://localhost:8800

reset

Supprimer l'intégralité du fichier de configuration. Le prochain asiai detect redécouvrira les moteurs de zéro.

Fonctionnement

Le fichier de configuration stocke les moteurs découverts lors de la détection :

  • Entrées auto (source: auto) : créées automatiquement quand asiai detect trouve un nouveau moteur. Supprimées après 7 jours d'inactivité.
  • Entrées manuelles (source: manual) : créées via asiai config add. Jamais supprimées automatiquement.

La cascade de détection à 3 niveaux dans asiai detect utilise cette configuration comme Niveau 1 (le plus rapide), suivi du scan de ports (Niveau 2) et de la détection de processus (Niveau 3). Voir detect pour les détails.

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. 5d ago First seen · 67 lines · 29 tokens per session scan A 84092a41edef

Subscribe to this mod's changes

config.fr is a command published in the GitHub repository druide67/asiai (11 stars, last pushed 6d ago), licensed Apache-2.0. It adds 29 tokens to every session and 586 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.