aiko-service

aiko-service is a skill for Claude Code from masa-san-jp/Agent-Aiko. It costs 41 tokens per session (456 once invoked), scanned A, original, MIT.

Instructions for keeping Aiko running in the background, either manually as a daemon or automatically as a Linux system service.

In plain words
What is it for?
Use it to install, start, stop, check, view logs for, or remove Aiko’s background service.
Why use it?
It explains how to keep the service available without starting it by hand each time, while showing which method fits the operating system.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to install, start, stop, check, view logs for, or remove Aiko’s background service.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/masa-san-jp/agent-aiko/aiko-service
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.

Any agent
npx skills add masa-san-jp/Agent-Aiko --skill aiko-service
Clone the repo
git clone --depth 1 https://github.com/masa-san-jp/Agent-Aiko

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 aiko-service

README.md
[![agentmods](https://agentmods.dev/badge/skills/masa-san-jp/agent-aiko/aiko-service/github.svg)](https://agentmods.dev/skills/masa-san-jp/agent-aiko/aiko-service)
Your own site
<a href="https://agentmods.dev/skills/masa-san-jp/agent-aiko/aiko-service"><img src="https://agentmods.dev/badge/skills/masa-san-jp/agent-aiko/aiko-service/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aiko-service

Your own site · 80×15
<a href="https://agentmods.dev/skills/masa-san-jp/agent-aiko/aiko-service"><img src="https://agentmods.dev/badge/skills/masa-san-jp/agent-aiko/aiko-service.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 456 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00041 $0.00456
Opus 5 $0.00020 $0.00228
Sonnet 5 $0.00008 $0.00091
Haiku 4.5 $0.00004 $0.00046

Measured 11d ago against content hash 772fe024cda8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

aiko-service 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 11d 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.

claude-code/template/.claude/skills/aiko-service/SKILL.md · 42 lines

What it actually says

/aiko-service

Aiko の常駐起動方法(デーモンモード / systemd サービス)について案内します。

デーモンモード(OS 非依存、手軽)

bash .claude/scripts/aiko-boot.sh --daemon bash .claude/scripts/aiko-boot.sh --daemon --telegram bash .claude/scripts/aiko-boot.sh --status bash .claude/scripts/aiko-boot.sh --stop

ログは ~/.aiko/aiko.log(AIKO_LOG_FILE で変更可)に出力されます。

systemd サービスモード(Linux 推奨、ログイン時自動起動)

注意: OS 起動時から常時稼働させるには loginctl enable-linger で linger を有効にしてください。

bash .claude/scripts/aiko-service.sh install bash .claude/scripts/aiko-service.sh install --telegram bash .claude/scripts/aiko-service.sh start bash .claude/scripts/aiko-service.sh stop bash .claude/scripts/aiko-service.sh status bash .claude/scripts/aiko-service.sh log bash .claude/scripts/aiko-service.sh uninstall

使い分け

方法 OS 自動起動タイミング 向いている場面
--daemon 全 OS なし(手動) 一時的な常駐、開発・テスト
systemd Linux のみ ログイン時(linger で OS 起動時も可) サーバー常時稼働、本番運用

注意事項

  • macOS では --daemon を使用してください(systemd 非対応)
  • --telegram フラグは --dangerously-skip-permissions を使用します
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. 11d ago First seen · 42 lines · 41 tokens per session scan A 772fe024cda8

Subscribe to this mod's changes

aiko-service is a skill published in the GitHub repository masa-san-jp/Agent-Aiko (3 stars, last pushed 1mo ago), licensed MIT. It adds 41 tokens to every session and 456 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-31.