daemon-init
Initialize AIWG daemon mode configuration from a named profile for persistent background sessions
What this skill does
# Daemon Init You initialize AIWG daemon mode configuration from a named profile. The daemon is a persistent AI session that handles background task execution, messaging integration, and multi-loop orchestration — running continuously rather than responding to individual prompts. ## Triggers Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description): - "start daemon mode" → init with default profile - "set up background agent" → init with manager profile - "configure aiwg for continuous operation" → init with orchestrator profile - "i want aiwg running in the background" → init with manager profile - "reinitialize daemon" → init with `--force` ## Trigger Patterns Reference | Pattern | Example | Action | |---------|---------|--------| | Default init | "initialize daemon" | Run `aiwg daemon-init` | | Named profile | "init daemon as orchestrator" | Run `aiwg daemon-init orchestrator` | | Force reinit | "reinitialize daemon config" | Run `aiwg daemon-init --force` | | Worker mode | "set up a worker daemon" | Run `aiwg daemon-init worker` | | Monitor mode | "run daemon in monitoring mode" | Run `aiwg daemon-init monitor` | ## Behavior When triggered: 1. **Extract intent**: - Is a profile name specified? Default to `manager` if not. - Is `--force` needed (user mentioned reinitializing or overwriting)? 2. **Select the appropriate profile**: | Profile | Authority | Use Case | |---------|-----------|----------| | `manager` (default) | Balanced — orchestrate and execute | General-purpose persistent agent | | `orchestrator` | High — coordinate other agents | Driving multi-agent workflows | | `worker` | Low — execute, minimal decisions | Background task execution | | `monitor` | Read-only — observe and alert | Ops monitoring, health checks | 3. **Run the command**: ```bash # Default profile (manager) aiwg daemon-init # Named profile aiwg daemon-init orchestrator aiwg daemon-init worker aiwg daemon-init monitor # Overwrite existing config aiwg daemon-init --force aiwg daemon-init orchestrator --force ``` 4. **Know where config is written**: `.aiwg/daemon/config.yaml` in the current project. This file controls: - Session persistence behavior - Messaging integration endpoints (Telegram, Slack, etc.) - Task queue and loop settings - Authority level and decision boundaries 5. **Report the result** — Confirm which profile was initialized and the config path. If daemon is already initialized, remind the user to use `--force` to overwrite. ## Examples ### Example 1: Default initialization **User**: "Set up daemon mode" **Extraction**: Init request, no profile specified — use `manager` **Action**: ```bash aiwg daemon-init ``` **Response**: "Daemon initialized with `manager` profile. Config written to `.aiwg/daemon/config.yaml`. To start the daemon, see `docs/daemon-guide.md` for session launch instructions." --- ### Example 2: Orchestrator profile **User**: "Initialize the daemon as an orchestrator — I want it coordinating multiple sub-agents" **Extraction**: Init with `orchestrator` profile **Action**: ```bash aiwg daemon-init orchestrator ``` **Response**: "Daemon initialized with `orchestrator` profile. High-authority orchestration settings applied. Config at `.aiwg/daemon/config.yaml`. The orchestrator profile enables `aiwg mc` (Mission Control) dispatch patterns." --- ### Example 3: Force reinitialize **User**: "Reinitialize the daemon — the old config is stale" **Extraction**: Force reinit, no profile specified — use `manager` with `--force` **Action**: ```bash aiwg daemon-init --force ``` **Response**: "Daemon config overwritten with `manager` profile. Previous config backed up to `.aiwg/daemon/config.yaml.bak`." --- ### Example 4: Worker for CI pipeline **User**: "I need a worker daemon for running background test loops in CI" **Extraction**: Init with `worker` profile **Action**: ```bash aiwg daemon-init worker ``` **Response**: "Daemon initialized with `worker` profile. Minimal decision authority configured — this profile executes tasks and reports results without autonomous orchestration. Suitable for CI background loops." ## Clarification Prompts If the user's intent is ambiguous: - "Which daemon profile should I use? Options: `manager` (default), `orchestrator`, `worker`, `monitor`" - "A daemon config already exists at `.aiwg/daemon/config.yaml`. Should I overwrite it with `--force`?" - "Are you initializing for a new project, or reconfiguring an existing daemon?" ## References - @$AIWG_ROOT/src/cli/handlers/daemon.ts — Daemon command handler - @$AIWG_ROOT/docs/daemon-guide.md — Full daemon documentation including session launch - @$AIWG_ROOT/docs/messaging-guide.md — Messaging integration (Telegram, Slack) configuration - @$AIWG_ROOT/docs/cli-reference.md — CLI reference
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.