원클릭으로
agent-signal
Build or extend LobeHub Agent Signal pipelines. Use for signal sources,
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Build or extend LobeHub Agent Signal pipelines. Use for signal sources,
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Set up and use 1Password CLI (op). Use when installing the CLI, enabling
Guide for adding new AI function examples, for testing specific features against the actual provider APIs.
Use when editing worker/src/constants/default-model-prices.json, packages/shared/src/server/llm/types.ts, pricing tiers, tokenizer IDs, or matchPattern regexes for OpenAI, Anthropic, Bedrock, Vertex, Azure, or Gemini model pricing.
Fixes broken typing checks detected by ty, make typing, or make check-repo. Use when typing errors appear in local runs, CI, or PR logs.
Add documentation for a new AI provider — usage docs, env vars, Docker
Guide for adding new AI provider packages to the AI SDK. Use when creating
| name | agent-signal |
| name_zh | 智能体-signal |
| description | Build or extend LobeHub Agent Signal pipelines. Use for signal sources, |
| description_zh | 构建 or extend LobeHub 智能体 Signal pipelines. Use for signal sources, |
| category | applications |
| tags | ["ai","backend","database","evaluation","frontend"] |
| source | null |
| language | en |
| needs_review | false |
| slug | agent-signal |
| version | 1.0.0 |
| created | 2026-06-12 |
| updated | 2026-06-12 |
| inputs | [{"name":"request","type":"string","required":true,"description":"User request or task description"}] |
| output | {"format":"markdown","description":"Generated content based on the user request"} |
| author | AI-SKILL |
| license | MIT |
Use this skill when you need to work with agent-signal.
User request or task description.
Generated content based on the user request.
Follow the guidelines in this skill when working on related tasks. Ensure you understand the requirements and constraints before proceeding.
Use this skill to implement event-driven background work for agents without coupling the work to the foreground chat request.
Agent Signal has one consistent shape:
source event -> signal interpretation -> action execution -> built-in result signals
references/architecture.md to map the package boundary, runtime queue, scope model, and async workflow handoff.references/handlers.md before writing any new policy, source handler, signal handler, or action handler.references/observability.md when you need tracing, metrics, debugging, or workflow snapshot visibility.emitAgentSignalSourceEvent(...) when a server-owned producer should execute the pipeline immediately.executeAgentSignalSourceEvent(...) when a worker or controlled backend path already owns execution timing and may inject a runtime guard backend.enqueueAgentSignalSourceEvent(...) when the caller should return quickly and let Upstash Workflow process the event out-of-band.emitAgentSignalSourceEventWithStore(...) for isolated tests or evals that should avoid ambient Redis state.Read:
apps/server/src/services/agentSignal/index.tsapps/server/src/workflows/agentSignal/index.tsapps/server/src/workflows/agentSignal/run.tssource: A normalized fact that happened. Sources come from producers such as runtime lifecycle events, user messages, or bot ingress.signal: A semantic interpretation derived from one source or from another signal. Signals express meaning, routing, or policy state.action: A concrete side effect planned from one signal. Actions do the work.policy: An installable middleware bundle that registers source, signal, and action handlers.procedure: Not a distinct runtime node. Treat "procedure" as the end-to-end flow for one use case: ingress source, matching handlers, planned actions, execution result, and observability.Keep the boundaries strict:
source when the outside world produced a new event.signal when the system needs a reusable semantic interpretation.action when the runtime needs a concrete side effect.policy when you are wiring those pieces together.apps/server/src/services/agentSignal/sourceTypes.ts.apps/server/src/services/agentSignal/policies/types.ts.defineSourceHandler, defineSignalHandler, or defineActionHandler.defineAgentSignalHandlers(...).apps/server/src/services/agentSignal/policies/index.ts and pass it into the runtime factory if needed.packages/agent-signal/src/index.ts
packages/agent-signal/src/base/builders.ts
packages/agent-signal/src/base/types.tsapps/server/src/services/agentSignal/runtime/AgentSignalRuntime.ts
apps/server/src/services/agentSignal/runtime/AgentSignalScheduler.ts
apps/server/src/services/agentSignal/runtime/middleware.ts
apps/server/src/services/agentSignal/runtime/context.tsapps/server/src/services/agentSignal/policies/analyzeIntent/index.ts
apps/server/src/services/agentSignal/policies/analyzeIntent/feedbackSatisfaction.ts
apps/server/src/services/agentSignal/policies/analyzeIntent/feedbackDomain.ts
apps/server/src/services/agentSignal/policies/analyzeIntent/feedbackAction.ts
apps/server/src/services/agentSignal/policies/analyzeIntent/actions/userMemory.tsapps/server/src/services/agentSignal/observability/projector.ts
apps/server/src/services/agentSignal/observability/traceEvents.ts
packages/observability-otel/src/modules/agent-signal/index.tsscopeKey to serialize related background work.@lobechat/agent-signal for normalized nodes and result contracts.apps/server/src/services/agentSignal/**/__tests__ are the reference pattern.references/architecture.mdreferences/handlers.mdreferences/observability.mdDo not use this skill for tasks outside its scope or when simpler alternatives are available.
# 使用 agent-signal 技能
skill = load_skill("agent-signal")
result = skill.execute()
print(result)