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.
npx agentmods add commands/druide67/asiai/daemon.jagit clone --depth 1 https://github.com/druide67/asiaiWrote 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.
[](https://agentmods.dev/commands/druide67/asiai/daemon.ja)<a href="https://agentmods.dev/commands/druide67/asiai/daemon.ja"><img src="https://agentmods.dev/badge/commands/druide67/asiai/daemon.ja.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00043 | $0.00693 |
| Opus 5 | $0.00022 | $0.00347 |
| Sonnet 5 | $0.00009 | $0.00139 |
| Haiku 4.5 | $0.00004 | $0.00069 |
Grade A, and why
daemon.ja 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 4d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- daemon.zh — 91% identical, 68 lines differ
What it actually says
asiai daemon
macOS launchd LaunchAgentによるバックグラウンドサービスを管理します。
サービス
| サービス | 説明 | モデル |
|---|---|---|
monitor |
定期的にシステム + 推論メトリクスを収集 | 周期的(StartInterval) |
web |
Webダッシュボードを永続サービスとして実行 | 常駐(KeepAlive) |
使用方法
# 監視デーモン(デフォルト)
asiai daemon start # 監視開始(60秒ごと)
asiai daemon start --interval 30 # カスタム間隔
asiai daemon start --alert-webhook URL # Webhookアラートを有効化
# Webダッシュボードサービス
asiai daemon start web # 127.0.0.1:8899でWeb開始
asiai daemon start web --port 9000 # カスタムポート
asiai daemon start web --host 0.0.0.0 # ネットワークに公開(認証なし!)
# ステータス(すべてのサービスを表示)
asiai daemon status
# 停止
asiai daemon stop # monitor停止
asiai daemon stop web # web停止
asiai daemon stop --all # すべてのサービスを停止
# ログ
asiai daemon logs # monitorログ
asiai daemon logs web # webログ
asiai daemon logs web -n 100 # 最後の100行
仕組み
各サービスは ~/Library/LaunchAgents/ に個別のlaunchd LaunchAgent plistをインストールします:
- Monitor: 設定された間隔(デフォルト:60秒)で
asiai monitor --quietを実行。データはSQLiteに保存。--alert-webhookが指定された場合、状態遷移(メモリプレッシャー、サーマル、エンジンダウン)時にアラートをPOST。 - Web:
asiai web --no-openを永続プロセスとして実行。クラッシュ時に自動再起動(KeepAlive: true、ThrottleInterval: 10s)。
両サービスはログイン時に自動起動(RunAtLoad: true)。
セキュリティ
- サービスはユーザーレベルで実行(root不要)
- Webダッシュボードはデフォルトで
127.0.0.1にバインド(ローカルホストのみ) --host 0.0.0.0使用時に警告を表示 — 認証は設定されていません- ログは
~/.local/share/asiai/に保存
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.
- 4d ago First seen · 58 lines · 43 tokens per session scan A 928352157fc1
daemon.ja is a command published in the GitHub repository druide67/asiai (11 stars, last pushed 5d ago), licensed Apache-2.0. It adds 43 tokens to every session and 693 once invoked, about $0.0002 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.
Other commands, from other repositories
perfup
Autonomous performance optimization: research, PoC, benchmark, implement, review, PR.
integrate-pipeline
Integrate a new document parsing pipeline into ParseBench: $ARGUMENTS.
netllm-connect
Wire Cursor, Claude Code, Codex, or Honcho to the local netllm router.
netllm-setup
First-time netllm install from this repo (uv sync, init, discover, verify).
netllm-swarm
Configure multi-machine LAN mesh for netllm (mDNS, peers, gateway).
/opsx-explore
Enter explore mode - think through ideas, investigate problems, clarify requirements.