executor-cli
Use and maintain lfx, lfx run, lfx serve, lfx-mcp, Flow DevOps commands, and stateless executor semantics.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- executor-cli
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Use and maintain lfx, lfx run, lfx serve, lfx-mcp, Flow DevOps commands, and stateless executor semantics.
- disable-model-invocation
- true
02 资源文件 3
- 参考文档references/cli-reference.md13.9 KB
- 参考文档references/stateless-runtime.md11.9 KB
- 参考文档references/troubleshooting.md13.4 KB
03 SKILL.md 正文
Executor CLI
Use this sub-skill when the task involves the lightweight Langflow Executor (lfx), Flow DevOps CLI workflows, local flow execution, serving flow JSON as a small API, lfx-mcp, or debugging stateless executor behavior.
Read First
- CLI reference: command map,
lfx run,lfx serve, Flow DevOps commands, extension commands,lfx-mcp, and safe command templates. - Stateless runtime: what persists, what does not, credential/request-variable behavior,
NoopSession,--flow-dir, and memory/session caveats. - Troubleshooting: install/import, optional dependency, flow schema, variable, API-key, network, and runtime failure signals.
- Flow validation helper: offline JSON parse/shape check that prints safe
lfx validate,lfx run, andlfx servecommand templates without executing the flow.
Use This For
- Running a local flow JSON or Python graph with
lfx run, including path,--stdin, and--flow-jsonmodes. - Serving one or more flow JSON files with
lfx serve, including API-key setup,.envfiles,--flow-dir, multi-worker behavior, uploads, streaming, and--no-env-fallback. - Flow DevOps tasks with
lfx init,create,validate,requirements,upgrade,status,push,pull, andexport. - MCP server startup and remote Langflow flow-building control through
lfx-mcp. - Explaining why LFX does not provide full Langflow database/server persistence.
Route Elsewhere
- Full Langflow server, database, auth, migrations, and service internals belong in
../backend-runtime/SKILL.md. - SDK client code, REST client implementation, and Python API integrations belong in
../sdk-and-api-clients/SKILL.md. - Component class authoring, bundles, and component-index maintenance belong in
../component-development/SKILL.md. - Production container/deployment operations beyond
lfx servebelong in../deployment-and-operations/SKILL.md.
Fast Workflow
- Identify whether the user needs one-shot execution (
lfx run), an HTTP endpoint (lfx serve), Flow DevOps sync (status/push/pull/export), extension inspection (lfx extension ...), or MCP (lfx-mcp). - Validate the flow file offline before suggesting execution:
python scripts/validate_lfx_flow.py path/to/flow.json - If the flow contains provider components, confirm required component packages and credentials are installed/configured before running or serving.
- For
lfx serve, require a localLANGFLOW_API_KEYorLFX_API_KEYtoken and decide whether process-env fallback is acceptable; use--no-env-fallbackfor request-scoped credentials. - For multi-worker serving, use
--flow-dirwith JSON flows only; do not use.pyscript flows with--workers > 1 --flow-dir.
Safety Notes
- Do not execute untrusted flow JSON or Python graph scripts just to inspect them; use the bundled helper and
lfx validatefirst. - Do not paste real API keys into examples, flow JSON, or committed
.lfx/environments.yaml; store key values in environment variables. - Treat
lfx runandlfx serveas stateless executor paths, not replacements for the full Langflow app database.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.