← 返回 Skills 市场
44
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install wls-session-sse
功能描述
WLS runtime engineer skill for session isolation, Session Server behavior, and cooperative SSE runtime implementation.
使用说明 (SKILL.md)
\r \r
Role\r
\r This skill owns session runtime behavior, session isolation, Session Server integration, and SSE execution patterns under WLS. It keeps long-lived streaming and session-sensitive flows safe for cooperative runtime execution.\r \r
When To Use\r
\r
- Use for Session Server issues, session isolation, login state, SSE controllers, EventSource flows, and long-running stream loops.\r
- Use for keywords such as session, login state, SessionFactory, SSE, EventSource,
text/event-stream, andSseWriter.\r - Use when runtime behavior depends on request isolation or cooperative long-lived streaming.\r \r
Source Material\r
\r
AI-ENTRY.md\rCLAUDE.md\rdev/ai/skills/session-development/SKILL.md\rdev/ai/skills/sse-streaming/SKILL.md\rdev/ai/skills/weline-framework-runtime/SKILL.md\rdev/ai/skills/runtime-and-process/SKILL.md\r \r
Responsibilities\r
\r
- Keep session access inside framework session abstractions instead of raw global state.\r
- Preserve area-based session isolation and login separation.\r
- Implement SSE loops that cooperate with WLS workers instead of blocking them.\r
- Close streaming responses correctly and safely under WLS.\r \r
Workflow\r
\r
- Confirm whether the issue is session isolation, session persistence, or SSE runtime behavior.\r
- Read the session and SSE source guidance before touching code.\r
- Update session access through the proper factory or business-session abstractions.\r
- For SSE, implement or repair the stream using
SseWriterand cooperative delay patterns.\r - Ensure the stream ends with explicit completion or close behavior.\r
- Validate on a dedicated WLS test instance with a unique name and non-production port.\r
- Stop the test instance after verification and report runtime evidence.\r \r
Weline Rules\r
\r
- Do not use default WLS port
9501for AI testing.\r - Always start a dedicated WLS test instance on port
9502+.\r - Always use a unique AI test instance name.\r
- Always stop the AI test instance after testing.\r
- Do not pollute global state.\r
- Do not use
sleep,die, orexitin WLS runtime-sensitive code.\r - Do not access raw
$_SESSIONdirectly when framework session abstractions exist.\r \r
Inputs Required\r
\r
- The affected login, session, or SSE flow.\r
- The owning controller, session class, or streaming endpoint.\r
- Runtime symptoms, including disconnect or blocking behavior if present.\r
- Dedicated WLS validation plan and route.\r \r
Expected Output\r
\r
- A session-safe or SSE-safe runtime implementation.\r
- Evidence from the affected stream or session flow on a dedicated WLS instance.\r
- Confirmation that the validation instance was stopped after testing.\r \r
Validation\r
\r
- Validate login or session isolation through the real area flow.\r
- Validate SSE output, heartbeat, and completion behavior on a dedicated WLS instance.\r
- Confirm cooperative delay patterns are used instead of blocking sleeps.\r
- Stop the dedicated WLS instance after validation.\r \r
Constraints\r
\r
- Do not embed raw session handling outside framework abstractions.\r
- Do not treat SSE as a plain JSON endpoint.\r
- Do not leave streaming loops without explicit completion behavior.\r
- Do not use blocking delay functions in long-lived stream loops.\r \r
安全使用建议
This skill appears safe to use for WLS session and SSE engineering in a development setting. Before installing or invoking it, make sure the agent is working against the intended codebase, uses a dedicated non-production WLS instance on port 9502 or higher, and stops that instance after testing.
功能分析
Type: OpenClaw Skill
Name: wls-session-sse
Version: 1.0.0
The skill bundle contains operational instructions for an AI agent to manage session isolation and Server-Sent Events (SSE) within the WLS/Weline framework. The instructions in SKILL.md emphasize safety and best practices, such as using non-production ports (9502+) for testing, avoiding blocking calls like sleep or die, and ensuring test instances are terminated after use. No indicators of data exfiltration, malicious execution, or harmful prompt injection were found.
能力评估
Purpose & Capability
The stated purpose, workflow, and constraints consistently focus on WLS session isolation and SSE runtime behavior. No code files, install steps, credentials, or hidden capabilities are present in the artifacts.
Instruction Scope
The skill instructs the agent to update session/SSE implementation code and validate behavior. This is disclosed and central to the engineering purpose, but users should ensure it is applied only to the intended development workspace.
Install Mechanism
There is no install specification, no required binaries, no required environment variables, no declared credential, and no code for the static scanner to analyze.
Credentials
The skill tells the agent to use a dedicated WLS test instance on a non-default port and stop it after validation. That is proportionate and safety-oriented, but it still implies local runtime/process activity during use.
Persistence & Privilege
The artifacts do not show persistence, background agents, credential handling, raw cookie/session-store access, or privilege escalation. The instructions explicitly avoid global state and raw $_SESSION access when framework abstractions exist.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install wls-session-sse - 安装完成后,直接呼叫该 Skill 的名称或使用
/wls-session-sse触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Publish_WelineFramework_Multica_role_skills
元数据
常见问题
WLS运行时工程师 Session与SSE运行时 是什么?
WLS runtime engineer skill for session isolation, Session Server behavior, and cooperative SSE runtime implementation. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 44 次。
如何安装 WLS运行时工程师 Session与SSE运行时?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install wls-session-sse」即可一键安装,无需额外配置。
WLS运行时工程师 Session与SSE运行时 是免费的吗?
是的,WLS运行时工程师 Session与SSE运行时 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
WLS运行时工程师 Session与SSE运行时 支持哪些平台?
WLS运行时工程师 Session与SSE运行时 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 WLS运行时工程师 Session与SSE运行时?
由 Aiweline(@aiweline)开发并维护,当前版本 v1.0.0。
推荐 Skills