openduo/duoduo

duoduo-pipeline

Build event-driven pipelines that connect a zero-LLM mechanical layer to a duoduo brain job via session notify.

Ver código fuente
Documento original del Skill

Contenido del repositorio de origen con títulos, ejemplos, código, tablas, enlaces e imágenes preservados.

Duoduo Pipeline

Connect a zero-cost mechanical layer to a duoduo brain job so the LLM only runs when there is something worth acting on. During idle periods the brain job stays dormant — no polling, no token spend.

The three-layer model

Mechanical layer  (shell / Python script — zero LLM)
      │
      │  duoduo session notify  ← fires only when new data arrives
      ▼
Brain job  (keepalive — dormant by default)
      │
      │  Notify  ← fires only when signal meets your threshold
      ▼
Main session  (your foreground chat)
  • Mechanical layer — a plain script scheduled by launchd, cron, or a

systemd timer. It polls the source, compares against last-seen state, and calls duoduo session notify only when something new is detected. No LLM involved at any point.

  • Brain job — a keepalive duoduo job. It wakes on notify, processes

the incoming data, decides whether the result is worth surfacing, and sends a Notify to your main session only when the signal clears your threshold. Then it goes dormant again.

  • Main session — your regular foreground chat. It receives a single,

pre-filtered brief only when the brain has found something actionable.

Typical use cases

  • Feed / account monitoring — check a public feed every few minutes;

wake the brain only on new posts.

  • Price or metric alerts — poll an API for a number; wake the brain

only when it crosses a threshold.

  • File or repo change detection — watch a directory or git remote;

wake the brain only on new commits or file changes.

  • Webhook relay — a lightweight receiver script forwards payloads to

the brain via notify, keeping the brain dormant between events.

  • Data-source health watch — detect when an upstream source goes stale

and surface an alert without running a full LLM cycle just to check.

References

how to build the two-layer setup end-to-end.

how the brain decides what to surface, how to format briefs, and how to route them without flooding your main session.

del mismo repositorio

Más Skills

Todos los Skills
openduo
Comunidad

duoduo-admin

Explain and manage a host-mode duoduo installation after onboarding. Use when the user asks how duoduo works, how stdio/daemon/channel/session fit together, where duoduo stores config and state, how to inspect current setup, how to upgrade duoduo itself, where something lives on disk (kerneldir, runtimedir, .env, descriptor.md), how to archive or recover a specific session (duoduo session archive, sessions-archive directory, restoring an archived session), or for broad 'configure duoduo' / 'fix my duoduo' requests that haven't narrowed to a specific channel or runtime setting yet. Also trigger for Chinese: 帮我理解 duoduo, duoduo 是怎么工作的, 看看我现在的 duoduo 配置, 帮我管理 duoduo, 升级 duoduo, 升级要注意什么, duoduo 哪个路径存什么, 归档 session, 删掉 session, 恢复归档 session.

instalaciones
1
GitHub Stars
9
Actualizado
9 sept
openduo
Comunidad

duoduo-channel-admin

Install, start, stop, inspect, reset, and configure duoduo host-mode channels. Use when the request involves: channel lifecycle (install/list/start/stop/status/logs), Feishu setup card or /setup command, Feishu owner DM / main session / FEISHUBOTOWNER configuration, the 'main session is locked' refusal, stale card error, resetting a bound Feishu chat, WeChat QR login or packaging, ACP editor integration, channel descriptor editing (kind vs instance). Also trigger for Chinese: 拉起 feishu 通道, 拉起微信 channel, 配置 channel 提示词, 改 stdio 的 workspace, 查看 channel 状态, 飞书机器人怎么配, 设置 owner, 清除 session, 重置 channel.

instalaciones
1
GitHub Stars
9
Actualizado
9 sept
openduo
Comunidad

duoduo-loop

Set up, manage, and troubleshoot recurring loops on a duoduo install — the /loop command and the background jobs it creates. Use when the user wants duoduo to do something repeatedly or on a schedule, watch something until it finishes, run a long-term tracker, or inspect/stop/pause/re-pace an existing loop. Also trigger for Chinese: 定时任务, 循环任务, 周期任务, 每天帮我, 每小时, 盯着…直到, 持续跟进, 长期跟踪, 看看我的循环, 停掉那个 loop, 暂停循环, 改一下节奏, 让多多定期做某事.

instalaciones
1
GitHub Stars
9
Actualizado
9 sept
openduo
Comunidad

duoduo-runtime-admin

Manage host-mode duoduo daemon-level settings, diagnostics, and the duoduo session / duoduo spine CLIs. Use for: daemon status, config and logs; agent runtime setup and selection (Claude/Codex/Grok/Pi, ALADUODEFAULTRUNTIME); ALADUO keys in ~/.config/duoduo/.env; refreshing subconscious partition prompts; the duoduo memory CLI; reading the Spine event log; archiving or pruning the usage ledger; model profiles for third-party models (context-window caps, endpoint routing, subagent tier aliases); codex tool-surface trimming; pi compaction sizing and one-character replies; session management (list, alias, wake/notify by name, archive). Chinese triggers: 启用 codex/grok/pi runtime, 设置默认 runtime, 打开 debug log, 关闭 telemetry, 调 cadence 频率, 查 daemon 配置/日志, 刷新潜意识, 读 spine/事件日志, 清理 usage, 给会话起名, 唤醒/通知 session, 归档会话, 模型 profile, 配置模型上下文窗口, 裁剪 codex 工具, pi 会话只回一个字. Does NOT handle channel-kind settings (Feishu/WeChat/ACP) — those live in duoduo-channel-admin.

instalaciones
1
GitHub Stars
9
Actualizado
9 sept