协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
runtime-service【开发与工程】Run and debug the MineContext/OpenContext Python backend runtime, APIs, configuration, storage, capture, processing, generation, chat, and local smoke checks.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill for MineContext/OpenContext backend runtime tasks: starting
opencontext, configuring model/storage/auth/prompt settings, uploading or
capturing context, calling FastAPI endpoints, debugging content generation,
chat/completion flows, monitoring, and deterministic local smoke checks.
Route Electron app builds, PyInstaller packaging, signing, helper binaries, and frontend release tasks to desktop-packaging. For cross-component orientation read the root architecture; for install/import or runtime-vs-packaging failures read the root troubleshooting guide before the workflow-specific troubleshooting page here.
Confirm the installed backend package imports and the CLI is present:
python -c "import opencontext; print(opencontext.__version__)"
opencontext --help
Start from a known CONTEXT_PATH if you need disposable local data:
mkdir -p .minecontext-data
CONTEXT_PATH="$PWD/.minecontext-data" opencontext start --config config/config.yaml --host 127.0.0.1 --port 1733
Check health before calling data routes:
curl -s http://127.0.0.1:1733/health
curl -s http://127.0.0.1:1733/api/health
If API authentication is enabled, send X-API-Key: <key> or ?api_key=<key>
on protected routes; never print or persist the key in notes.
Do not run screenshot, web-link, model-validation, generation, chat, or completion workflows until the user confirms screen/browser/network/model access and supplies non-secret credentials through config, environment, or the settings API.
CONTEXT_PATH, model settings, storage backends, prompt
language/files, content-generation intervals, or API auth.opencontext start, opencontext --help, OpenContext.initialize(), capture
startup, FastAPI app state, and health checks.config.yaml, environment interpolation,
CONTEXT_PATH, model settings, prompt YAML, user settings, API auth, storage,
content-generation tasks, capture, and processing.opencontext plus bundled references/scripts.