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 skills add ishida-supsys/oretachi --skill background-commandgit clone --depth 1 https://github.com/ishida-supsys/oretachiWrote 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/skills/ishida-supsys/oretachi/background-command)<a href="https://agentmods.dev/skills/ishida-supsys/oretachi/background-command"><img src="https://agentmods.dev/badge/skills/ishida-supsys/oretachi/background-command/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.
<a href="https://agentmods.dev/skills/ishida-supsys/oretachi/background-command"><img src="https://agentmods.dev/badge/skills/ishida-supsys/oretachi/background-command.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00120 | $0.03055 |
| Opus 5.5 | $0.00048 | $0.01222 |
| Sonnet 5.5 | $0.00024 | $0.00611 |
| Haiku 4.5 | $0.00012 | $0.00305 |
Grade A, and why
background-command scanned grade A with 1 finding 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 1mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- 出力を即 grep / 解析したい短命スクリプト(`curl`, `git log`, `ls` 等) How it starts
The opening of the file, as written. The whole thing — 186 lines — stays where its author put it; the contents beside it link to each section on GitHub.
background-command スキル
長時間常駐するコマンド(開発サーバ・ファイル監視・watch ビルド・HTTP サーバ等)を実行するとき、Claude Code の bash tool の run_in_background を使うのではなく、oretachi の MCP ツールで oretachi UI 上に新しいターミナルタブを追加してそこで実行する。
これにより:
- 出力ログが xterm.js でユーザーに可視化される
- ユーザーが任意タイミングで Ctrl-C / kill できる
- 他ワークツリーへの切替・detach 等の oretachi 既存 UI が活用できる
- Claude Code 終了後もプロセスを残せる
いつこのスキルを使うか
使う(長時間常駐するコマンド):
pnpm dev,pnpm run dev,pnpm run tauri dev,npm start,yarn devnext dev,vite,nuxt dev,astro devnodemon,tsc --watch,cargo watch,cargo run(HTTP サーバ等)docker compose up(-dなし),rails s,flask run,python -m http.server- その他、Ctrl-C しない限り終了しないコマンド全般
使わない(短命コマンド or 出力をすぐ後処理したいケース):
pnpm test,pnpm run build,cargo build,cargo check,tsc --noEmit,eslint .,prettier --check- ビルド・テスト・lint・型チェック等、終了コードを判定したいもの
- ユーザーが明示的に「bash で background 実行して」と指示した場合
- 出力を即 grep / 解析したい短命スクリプト(
curl,git log,ls等)
判断基準: 「実行後ずっと起動し続けるか?」「Yes」ならこのスキル、「No」なら通常の bash。
ただし oretachi 設定の 「AI からの background コマンドを oretachi ターミナルで起動する」が OFF の場合は、上記判定で「Yes」でも本スキルは使わず Claude Code の bash tool(run_in_background: true)でフォールバック起動する。Step 0 で確認する。
手順
Step 0: グローバル設定を確認する
最初に oretachi_get_app_options を呼び、戻り値の useOretachiTerminalForBackground を見る。
oretachi_get_app_options({})
// => { "useOretachiTerminalForBackground": true | false }
true: Step 1 以降に進む。false(既定): 本スキルは使わない。Claude Code の bash tool でrun_in_background: trueを指定して起動する(例:bashtool でpnpm devを実行、run_in_background: true)。oretachi UI には新タブを作らない。以降の Step もスキップ。
このトグルは oretachi 設定タブ → Terminal セクションの「AI からの background コマンドを oretachi ターミナルで起動する」に対応する。
Step 1: ワークツリーを特定する
oretachi_get_worktree_status を呼び、現在の作業ディレクトリ(PWD)と一致する worktree の name と id を取得する。
複数の worktree が同名だった場合は id も使う。
Step 2: ターミナルを起動してコマンドを流し込む
oretachi_spawn_terminal({
worktree_name: "<Step 1 で取得した name>",
worktree_id: "<必要なら id を指定>",
command: "pnpm dev",
title: "pnpm dev", // タブ表示名
reason: "ローカルサーバ起動" // ログ用メモ(任意)
})
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.
- 1mo ago First seen · 186 lines · 120 tokens per session scan A 2c4ff487a03f
background-command is a skill published in the GitHub repository ishida-supsys/oretachi (2 stars, last pushed 3d ago), licensed MIT. It adds 120 tokens to every session and 3,055 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
add-new-agent-support
Add a new agent (tool) support to agent-command-sync following the registry pattern.
neo4j-snowflake-graph-analytics-skill
Run Neo4j Graph Analytics algorithms (PageRank, Louvain, WCC, Dijkstra, KNN, Node2Vec, FastRP, GraphSAGE) directly inside Snowflake without moving data. Use when running graph algorithms against Snowflake tables via the Neo4j Snowflake Native App ("GDS Snowflake", "graph algorithms in Snowflake", "Neo4j Graph…
neo4j-agent-memory-skill
Authoritative reference for the neo4j-agent-memory Python package — a graph-native memory system for AI agents built on Neo4j — and for the hosted service (NAMS) at memory.neo4jlabs.com. Use this skill whenever the user mentions neo4j-agent-memory, agent memory with Neo4j, context graphs, the POLE+O model…
neo4j-aura-graph-analytics-skill
Serverless Aura Graph Analytics (AGA) GDS Sessions — covers GdsSessions, AuraGraphDataScience, AuraAPICredentials, DbmsConnectionInfo, SessionMemory, getorcreate, remote graph projection with gds.graph.project.cypher and gds.graph.project.remote, gds.graph.project.native, gds.graph.construct, graphdatascience client…
neo4j-document-import-skill
Ingests unstructured and semi-structured documents into Neo4j as a knowledge graph. Use when chunking PDFs, HTML, plain text, or Markdown; extracting entities and relationships from text with an LLM (SimpleKGPipeline, neo4j-graphrag); loading JSON via apoc.load.json; building Document→Chunk→Entity graph structures; or…
neo4j-driver-dotnet-skill
Neo4j .NET Driver v6 — IDriver lifecycle, DI registration (singleton), ExecutableQuery fluent API, ExecuteReadAsync/ExecuteWriteAsync managed transactions, IResultCursor (FetchAsync/ ToListAsync), record value access (.Get /As ), null safety, UNWIND batching, temporal types, await using, EagerResult, object mapping…