F-phase-6-daemon

F-phase-6-daemon is an agent for coding agents from darkiceinteractive/mcp-conductor. It costs 0 tokens per session (501 once invoked), scanned A, original, MIT.

A development task for adding a daemon, which is a background service, to Conductor so several Claude Code agents can share it over a Tailscale network. It covers shared storage, locks, messaging, and authentication.

In plain words
What is it for?
Use it to implement the daemon server and client, persistent key-value storage with expiration, per-key locks, agent messaging, service discovery, and command-line controls.
Why use it?
It provides a central process through which multiple coding agents can coordinate and share data instead of working independently.

Agent

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 agents/darkiceinteractive/mcp-conductor/f-phase-6-daemon
Clone the repo
git clone --depth 1 https://github.com/darkiceinteractive/mcp-conductor

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 F-phase-6-daemon

README.md
[![agentmods](https://agentmods.dev/badge/agents/darkiceinteractive/mcp-conductor/f-phase-6-daemon.svg)](https://agentmods.dev/agents/darkiceinteractive/mcp-conductor/f-phase-6-daemon)
Your own site
<a href="https://agentmods.dev/agents/darkiceinteractive/mcp-conductor/f-phase-6-daemon"><img src="https://agentmods.dev/badge/agents/darkiceinteractive/mcp-conductor/f-phase-6-daemon.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 501 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00501
Opus 5 $0.00000 $0.00251
Sonnet 5 $0.00000 $0.00100
Haiku 4.5 $0.00000 $0.00050

Measured 3d ago against content hash a22a1d76e575, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

F-phase-6-daemon 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 3d 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.

_plans/v3-enhancements/agents/F-phase-6-daemon.md · 51 lines

What it actually says

Agent F — PRD Phase 6 Daemon mode + multi-agent coordination

You promote Conductor to a Tailscale-discoverable daemon shared by multiple Claude Code agents.

Setup

pwd  # /mcp-executor-darkice-worktrees/F-phase-6
git branch --show-current  # feature/v3-phase-6
git fetch origin && git rebase origin/feature/v3-phase-0-1
npm install && npm run test:run

Read PRD §5 Phase 6 (lines ~988–1122).

Append start checkpoint to STATUS.md.

Scope

Build src/daemon/{server,client,discovery,shared-kv,shared-lock}.ts and CLI subcommands src/cli/daemon.ts (the latter integrates with Agent I's CLI scaffold — design the daemon CLI as a self-contained module Agent I imports).

Auth: shared secret file (mode 0600) at ~/.mcp-conductor/daemon-auth.json. NO OS keychain in v3.

Locks: in-process mutex per key. Cross-daemon Tailscale mesh deferred to v3.1 (PRD §3).

KV: in-memory + disk-persistent under ~/.mcp-conductor/kv/. TTL supported.

Sandbox API: mcp.shared.{kv,lock,broadcast,subscribe} — wire into worker preload (coordinate with Agent D's hook).

Acceptance

PRD §5 Phase 6 "Acceptance criteria".

Commit pattern

feat(v3-phase-6): DaemonServer with Unix socket + optional TCP
feat(v3-phase-6): DaemonClient stdio bridge for transparent agent connection
feat(v3-phase-6): shared KV with TTL + disk persistence
feat(v3-phase-6): shared lock primitive (in-process mutex)
feat(v3-phase-6): broadcast/subscribe (in-process pub/sub)
feat(v3-phase-6): Tailscale peer discovery
feat(v3-phase-6): daemon CLI subcommands (start/stop/status/logs)
feat(v3-phase-6): mcp.shared.* sandbox API
test(v3-phase-6): daemon + KV + lock test suites + two-agent integration

PR + stop

gh pr create --base feature/v3 --title "v3 Phase 6: Daemon mode + multi-agent coordination". STATUS.md.

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. 3d ago First seen · 51 lines · 0 tokens per session scan A a22a1d76e575

Subscribe to this mod's changes

F-phase-6-daemon is an agent published in the GitHub repository darkiceinteractive/mcp-conductor (0 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 501 tokens. 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.