channels-and-integrations
Operate OpenSquilla messaging channels, pairings, certification, adapter status, and the MCP server bridge.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- channels-and-integrations
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Operate OpenSquilla messaging channels, pairings, certification, adapter status, and the MCP server bridge.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/channel-workflows.md6.6 KB
- 参考文档references/commands.md5.9 KB
- 参考文档references/mcp-server-bridge.md5.5 KB
- 参考文档references/runtime-contracts.md7.1 KB
- 参考文档references/troubleshooting.md7.8 KB
03 SKILL.md 正文
Channels and Integrations
Use this sub-skill when the task is about OpenSquilla's ingress/egress integration layer on top of the gateway:
- messaging channel catalog, setup, CRUD, status, restart, logout, and live-vs-offline validation;
- channel admission, direct-message pairing, allowlists, group-session scope, approval-code delivery, and operator pairings;
- adapter capability/profile evidence, maturity, delivery diagnostics, transport leases, and certification probes;
- the stdio MCP server bridge launched by
opensquilla mcp-server run.
This guidance targets OpenSquilla 0.5.3 behavior. Installed-package evidence for this surface included working OpenSquilla help, the channel catalog, and a successful mcp import; live provider credentials were not assumed.
Route before acting
- Gateway installation, gateway lifecycle, bind/port, public exposure, Web UI basics, and
doctorreadiness checks: use../setup-and-gateway/SKILL.md. - Provider API keys, model/router tiers, search providers, and general config precedence: use
../configuration-and-routing/SKILL.md. - Non-interactive
agent/chatruns, sessions, diagnostics, sandbox commands, replay, cron, bundle, and automation flags: use../cli-and-automation/SKILL.md. - Terminal UI, desktop shell, Web UI presentation, or surface-specific UI failures: use
../tui-and-desktop/SKILL.md.
Stay in this sub-skill for the integration boundary itself: a channel or MCP bridge may trigger agent turns, tool calls, approvals, and session updates, but those surfaces are reached through the same gateway-backed runtime.
Fast operating map
- Discover the channel catalog. Run
opensquilla channels types --jsonandopensquilla channels describe <type> --json; do not assume provider fields from memory. Seereferences/commands.md. - Add or edit channel config. Use
opensquilla configure channelsfor interactive setup, oropensquilla channels add|editfor scripted changes. Config edits require a gateway process restart, not justchannels restart <name>. Seereferences/channel-workflows.md. - Check runtime, not just saved config.
opensquilla channels listproves config exists;opensquilla channels status <name> --jsonproves whether the running gateway loaded it and exposes status/capability/diagnostic data. Seereferences/runtime-contracts.md. - Handle pairings deliberately. Unknown authenticated DMs default to pairing mode. Use
opensquilla channels pairings list|approve|revokeand treat--adminas a host-trust decision for that channel sender. Seereferences/runtime-contracts.md. - Separate offline validation from live certification. Local schema validation and status are not end-to-end provider proof.
opensquilla channels certifyis environment-only and redacts evidence; outbound tests require explicit side-effect flags and targets. Seereferences/channel-workflows.md. - Run the MCP bridge as stdio. Start a gateway first, then configure the MCP-capable client to launch
opensquilla mcp-server runoropensquilla mcp-server run --gateway ws://host:port/ws. Seereferences/mcp-server-bridge.md. - Troubleshoot from the boundary outward. Start with config/schema, gateway restart state, runtime status, pairing/admission diagnostics, delivery ledger state, then provider credentials/network. See
references/troubleshooting.md.
Channel catalog scope
The public channel catalog for this build has eight families: dingtalk, discord, feishu, matrix, qq, slack, telegram, and wecom. Public vendor adapters are experimental; catalog presence means the adapter is registered and has a setup schema, not that every provider feature is certified.
Important catalog rules:
channels describe <type>is the source of truth for current required fields, secret fields, mode choices, public-URL requirements, optional extras, and restart behavior.matrixdeclares thematrixoptional extra. The MCP bridge separately requires themcpextra.- Microsoft Teams code exists only as a hidden legacy adapter in this version; do not present it as a supported public channel.
Safe defaults
- Keep gateway-bound integration surfaces on loopback unless a webhook provider explicitly requires public reachability and the operator has configured a trusted reverse proxy/tunnel plus authentication.
- Prefer
dm_access=pairingfor DMs. Useopenonly for intentionally public bots; useallowlistwhen provider sender IDs are known. - Keep group sessions in the default per-sender scope unless the room is intentionally collaborative.
- Use the narrowest OpenSquilla permissions and sandbox posture that can complete the task; channel approval or pairing does not bypass host-side tool policy.
- Never paste provider keys, bot tokens, signing secrets, or channel secrets into examples, issue text, source, or generated skill files.
Bundled scripts
No runtime helper script is bundled for this sub-skill. The useful operations are already exposed as safe OpenSquilla CLI commands, while the repo-owned live smoke scripts require provider credentials, network side effects, or maintainer harness context and are reference-only or excluded from runtime use.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).