One-click install
npx skills add https://github.com/kingheu0818-sketch/lobehub_yu --skill agent-signal-kingheu0818-sketch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-signal
Source: https://github.com/kingheu0818-sketch/lobehub_yu/tree/main/.agents/skills/agent-signal
Command: npx skills add https://github.com/kingheu0818-sketch/lobehub_yu --skill agent-signal-kingheu0818-sketch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It solves the need to run agent work in the background—quietly and reliably—without tying that work to the foreground chat request lifecycle.

Core Features & Use Cases

  • Event-driven Agent Signal pipelines that translate source events into semantic signal interpretations and concrete action executions.
  • Policy-driven handler wiring where you add or extend sources, signals, actions, and routing logic using a middleware registration model.
  • Dedupe, scope locks, and out-of-band execution for consistent results when the same source arrives multiple times or needs serialized handling.
  • Observability-first workflows with tracing, metrics, and chain projection so background runs are inspectable.

Use it when you need to add a new Agent Signal source, introduce a new signal or action type, implement a policy/middleware handler, create an observability path, or tune dedupe/scope behavior around src/server/services/agentSignal/**, packages/agent-signal, or packages/observability-otel/src/modules/agent-signal.

Quick Start

Use the agent-signal workflow to interpret a new runtime or user event into signals and actions by registering the appropriate source handler, then wiring signal/action handlers into a policy and emitting or enqueuing the source event through the correct entry point.

Frequently Asked Questions about agent-signal

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I trigger agent background pipelines safely without blocking the foreground chat request lifecycle?

To trigger agent background pipelines safely, you use event-driven Agent Signal pipelines that translate source events into semantic signal interpretations and concrete action executions. This decouples background execution from the foreground chat request lifecycle.

What is the best way to handle duplicate background agent events to ensure consistent results?

The best way to handle duplicate background agent events is to apply built-in dedupe, scope locks, and out-of-band execution. This ensures consistent results when the same source event arrives multiple times or requires serialized handling in the pipeline.

How do I add a new event source and wire it into a background agent workflow?

To add a new event source, register the appropriate source handler, then wire the signal and action handlers into a policy using the middleware registration model. Finally, emit or enqueue the source event through the correct entry point to trigger the background agent workflow.

Can I use policy middleware to route different signal and action types in an event-driven workflow?

Yes, you can use policy middleware to route different signal and action types. The system uses a policy-driven handler wiring model that allows you to add or extend sources, signals, actions, and routing logic by registering specific middleware handlers for each event type.

How do I add observability and tracing to background agent workflows?

You add observability and tracing to background agent workflows by integrating the shared observability module. This provides tracing, metrics, and chain projection so that out-of-band background runs are fully inspectable during execution.

Why does my background agent pipeline execute duplicate actions when the same source event is emitted multiple times?

Duplicate actions occur when dedupe and scope lock behaviors are not properly configured. You must implement strict pipeline boundaries and apply dedupe/scope behavior around the agent signal runtime to ensure consistent, serialized handling of repeated source events.