linsight-mcp
Use this sub-skill when a task touches BiSheng Linsight/灵思 task mode, SOP generation or migration, autonomous task execution, Redis task queue, Linsight worker state, deepagents runtime, built-in tools, workspace files, or MCP client/tool integration.
Start here
Run bundled helper commands from this sub-skill directory, or adjust the script path to this directory after import.
- Inspect the Linsight and MCP source surface without importing services:
python scripts/inspect_linsight_surface.py --repo-root <bisheng-checkout>
- Read references/workflows.md for Linsight worker, event, state, SOP/Skill migration, and MCP workflows.
- Read references/troubleshooting.md for queue, state, tool, MCP, and migration failures.
Owned responsibilities
src/backend/bisheng/linsight/ API, domain services, task execution, and worker.py process.
src/backend/bisheng_langchain/linsight/ agent, task management, events, and runtime abstractions.
- Linsight skills/SOP migration scripts and tests, including v2.6 deepagents/task-mode changes.
- MCP clients under
src/backend/bisheng/mcp_manage/clients/, manager parsing, and LangChain tool wrapping.
- Tests under
src/backend/test/linsight/ and src/backend/test/mcp_manage/.
Route sibling areas instead of duplicating them
- Use
workflow-engine for visual workflow DAG nodes and workflow Celery execution.
- Use
knowledge-rag for knowledge retrieval internals used by Linsight.
- Use
identity-permissions-tenancy for Linsight menu permissions, tenant model configs, OpenFGA, and SSO/org access.
- Use
frontend-apps for Client Linsight route/UI behavior and Platform task-mode menu rendering.
- Use
deployment-maintenance for worker startup commands and operational migration sequencing.
Non-negotiables
- Treat Linsight worker as a separate process from Celery workers.
- Preserve Redis queue, owner, heartbeat, and task state key semantics when changing scheduling.
- Keep user-input pause/resume events and persisted session/task statuses compatible with frontend streams.
- Do not run real LLM, MCP server, code interpreter, or credentialed tool calls as verification unless explicitly approved.
- SOP→Skill migration writes object storage and remains a manual operational migration, not a startup backfill.
1---2name: linsight-mcp3description: "Operate on BiSheng Linsight autonomous task mode, SOP/Skill4 migration, Redis worker execution, state events, bisheng_langchain runtime,5 and MCP tool integration."6disable-model-invocation: true7metadata:8 source: https://skillmd.com/skills/vectorspacelab/linsight-mcp9 disco-role: operating10license: Apache 2.011---1213# linsight-mcp1415Use this sub-skill when a task touches BiSheng Linsight/灵思 task mode, SOP generation or migration, autonomous task execution, Redis task queue, Linsight worker state, deepagents runtime, built-in tools, workspace files, or MCP client/tool integration.1617## Start here1819Run bundled helper commands from this sub-skill directory, or adjust the script path to this directory after import.2021221. Inspect the Linsight and MCP source surface without importing services:23 ```bash24 python scripts/inspect_linsight_surface.py --repo-root <bisheng-checkout>25 ```262. Read [references/workflows.md](references/workflows.md) for Linsight worker, event, state, SOP/Skill migration, and MCP workflows.273. Read [references/troubleshooting.md](references/troubleshooting.md) for queue, state, tool, MCP, and migration failures.2829## Owned responsibilities3031- `src/backend/bisheng/linsight/` API, domain services, task execution, and `worker.py` process.32- `src/backend/bisheng_langchain/linsight/` agent, task management, events, and runtime abstractions.33- Linsight skills/SOP migration scripts and tests, including v2.6 deepagents/task-mode changes.34- MCP clients under `src/backend/bisheng/mcp_manage/clients/`, manager parsing, and LangChain tool wrapping.35- Tests under `src/backend/test/linsight/` and `src/backend/test/mcp_manage/`.3637## Route sibling areas instead of duplicating them3839- Use `workflow-engine` for visual workflow DAG nodes and workflow Celery execution.40- Use `knowledge-rag` for knowledge retrieval internals used by Linsight.41- Use `identity-permissions-tenancy` for Linsight menu permissions, tenant model configs, OpenFGA, and SSO/org access.42- Use `frontend-apps` for Client Linsight route/UI behavior and Platform task-mode menu rendering.43- Use `deployment-maintenance` for worker startup commands and operational migration sequencing.4445## Non-negotiables4647- Treat Linsight worker as a separate process from Celery workers.48- Preserve Redis queue, owner, heartbeat, and task state key semantics when changing scheduling.49- Keep user-input pause/resume events and persisted session/task statuses compatible with frontend streams.50- Do not run real LLM, MCP server, code interpreter, or credentialed tool calls as verification unless explicitly approved.51- SOP→Skill migration writes object storage and remains a manual operational migration, not a startup backfill.