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.ptgit 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.pt)<a href="https://agentmods.dev/commands/druide67/asiai/daemon.pt"><img src="https://agentmods.dev/badge/commands/druide67/asiai/daemon.pt.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.00027 | $0.00588 |
| Opus 5 | $0.00014 | $0.00294 |
| Sonnet 5 | $0.00005 | $0.00118 |
| Haiku 4.5 | $0.00003 | $0.00059 |
Grade A, and why
daemon.pt 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.
How it starts
The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.
asiai daemon
Gerencie serviços em segundo plano via LaunchAgents do macOS launchd.
Serviços
| Serviço | Descrição | Modelo |
|---|---|---|
monitor |
Coleta métricas de sistema + inferência em intervalos regulares | Periódico (StartInterval) |
web |
Executa o dashboard web como serviço persistente | Longa duração (KeepAlive) |
Uso
# Daemon de monitoramento (padrão)
asiai daemon start # Iniciar monitoramento (a cada 60s)
asiai daemon start --interval 30 # Intervalo customizado
asiai daemon start --alert-webhook URL # Habilitar alertas via webhook
# Serviço de dashboard web
asiai daemon start web # Iniciar web em 127.0.0.1:8899
asiai daemon start web --port 9000 # Porta customizada
asiai daemon start web --host 0.0.0.0 # Expor na rede (sem autenticação!)
# Status (mostra todos os serviços)
asiai daemon status
# Parar
asiai daemon stop # Parar monitor
asiai daemon stop web # Parar web
asiai daemon stop --all # Parar todos os serviços
# Logs
asiai daemon logs # Logs do monitor
asiai daemon logs web # Logs do web
asiai daemon logs web -n 100 # Últimas 100 linhas
Como funciona
Cada serviço instala um plist LaunchAgent separado em ~/Library/LaunchAgents/:
- Monitor: executa
asiai monitor --quietno intervalo configurado (padrão: 60s). Dados são armazenados em SQLite. Se--alert-webhookfor fornecido, alertas são enviados via POST em transições de estado (pressão de memória, térmico, motor down). - Web: executa
asiai web --no-opencomo processo persistente. Reinicia automaticamente se crashar (KeepAlive: true,ThrottleInterval: 10s).
Ambos os serviços iniciam automaticamente no login (RunAtLoad: true).
Segurança
- Serviços rodam no nível do usuário (sem root necessário)
- O dashboard web faz bind em
127.0.0.1por padrão (apenas localhost) - Um aviso é exibido ao usar
--host 0.0.0.0— nenhuma autenticação está configurada - Logs são armazenados em
~/.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 · 27 tokens per session scan A 274bb4294a21
daemon.pt is a command published in the GitHub repository druide67/asiai (11 stars, last pushed 5d ago), licensed Apache-2.0. It adds 27 tokens to every session and 588 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.
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.