config.ko

config.ko is a command for Claude Code from druide67/asiai. It costs 29 tokens per session (599 once invoked), scanned A, a copy of config.ja, Apache-2.0.

A command-line configuration manager for locally detected AI engines, such as Ollama, LM Studio, or other compatible services. It stores known engine URLs and related details in a configuration file.

In plain words
What is it for?
Use it to list known engines, add one manually, remove an engine by URL, or reset the saved configuration so detection starts over.
Why use it?
It lets the detection tool remember engines between runs and lets you manage engines that use non-standard ports or remote addresses.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/druide67/asiai/config.ko.svg)](https://agentmods.dev/commands/druide67/asiai/config.ko)
Your own site
<a href="https://agentmods.dev/commands/druide67/asiai/config.ko"><img src="https://agentmods.dev/badge/commands/druide67/asiai/config.ko.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 599 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00599
Opus 5 $0.00015 $0.00300
Sonnet 5 $0.00006 $0.00120
Haiku 4.5 $0.00003 $0.00060

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

Security

Grade A, and why

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

Origin

This is a copy

100% identical to config.ja — 36 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

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

What it actually says

asiai config

영구적인 엔진 설정을 관리합니다. asiai detect로 발견된 엔진은 다음 감지를 빠르게 하기 위해 ~/.config/asiai/engines.json에 자동 저장됩니다.

사용법

asiai config show              # 알려진 엔진 표시
asiai config add <engine> <url> [--label NAME]  # 엔진 수동 추가
asiai config remove <url>      # 엔진 제거
asiai config reset             # 모든 설정 초기화

서브커맨드

show

URL, 버전, 소스(auto/manual), 마지막 확인 타임스탬프와 함께 모든 알려진 엔진을 표시합니다.

$ 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

비표준 포트의 엔진을 수동 등록합니다. 수동 엔진은 자동 정리되지 않습니다.

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

remove

URL로 엔진 항목을 제거합니다.

asiai config remove http://localhost:8800

reset

전체 설정 파일을 삭제합니다. 다음 asiai detect에서 엔진을 처음부터 다시 감지합니다.

작동 방식

설정 파일은 감지 시 발견된 엔진을 저장합니다:

  • Auto 항목 (source: auto): asiai detect가 새 엔진을 찾으면 자동 생성. 7일 비활성 후 정리.
  • Manual 항목 (source: manual): asiai config add로 생성. 자동 정리 안 됨.

asiai detect의 3계층 감지 캐스케이드는 이 설정을 레이어 1(가장 빠름)로 사용하고, 이어서 포트 스캔(레이어 2)과 프로세스 감지(레이어 3)를 수행합니다. 자세한 내용은 detect를 참고하세요.

설정 파일 위치

~/.config/asiai/engines.json
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 · 29 tokens per session scan A dc1c4c3b6095

Subscribe to this mod's changes

config.ko is a command published in the GitHub repository druide67/asiai (11 stars, last pushed 7d ago), licensed Apache-2.0. It adds 29 tokens to every session and 599 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to config.ja, differing in 36 lines, and is treated as a copy.