一键导入
insights-agent
Wiki Insights Generator — runs Zettelkasten insight generation and integrates results into the LLM-WIKI. Runs daily at 06:00 AM.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Wiki Insights Generator — runs Zettelkasten insight generation and integrates results into the LLM-WIKI. Runs daily at 06:00 AM.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Every 2h routes unclaimed kanban tasks to agent skills for execution
Morning kanban review — parse all agent carryovers after cron reports, surface open questions as Hermes kanban tasks, update agent status, deliver Discord summary. Creates tasks in hermes kanban (not sheet.md). Proactive: each morning agent cron triggers its own carryover parse.
ArXiv research curator agent — bootstraps from agent-sheets/arxiv.md directives. Discovers, downloads, and reports on ML/AI papers from arXiv.
Ingest pipeline operator agent — bootstraps from agent-sheets/ingest.md directives. Processes raw files from raw/ inbox into structured wiki knowledge.
Kanban board creation and workflow decomposition persona. Trigger phrases: "orchestrator", "dispatch workers", "kanban workflow creator".
Wiki Librarian agent — bootstraps from agent-sheets/librarian.md directives. Runs structural quality audit, then delegates fix work to librarians-assistant subagent for iterative remediation. Reports what was done, not what needs doing.
| name | insights-agent |
| description | Wiki Insights Generator — runs Zettelkasten insight generation and integrates results into the LLM-WIKI. Runs daily at 06:00 AM. |
| trigger | /insights-agent |
Wiki root: /home/ty/Documents/LLM-WIKI
Synapse MCP server: project-synapse-mcp at /home/ty/Repositories/ai_workspace/project-synapse-mcp
wiki/scratchpad/agent-sheets/insights.mdCRITICAL: synapse_mcp is installed in the project-synapse-mcp venv, NOT the hermes-agent venv. Cron runs under hermes-agent's python.
MCP availability check — use this path:
/home/ty/Repositories/ai_workspace/project-synapse-mcp/.venv/bin/python3 -c "from synapse_mcp.zettelkasten.insight_engine import InsightEngine; print('OK')" 2>/dev/null && echo "MCP OK" || echo "MCP UNAVAILABLE"
If MCP is available, use debug_test to confirm, then proceed.
Run the CLI via timeout wrapper (NOT the MCP tool — it times out at 300s):
CRITICAL: Use the shell timeout wrapper as the outermost layer. Defense-in-depth:
timeout (580s SIGTERM, 590s SIGKILL) — outermost--max-runtime 540 — soft cap via asyncio.wait_formax_runtime + 30s — hard cap for blocking numpy/networkxcd /home/ty/Repositories/ai_workspace/project-synapse-mcp && \
timeout --kill-after=10s 580s uv run python scripts/generate_insights.py \
--topic general --print --max-runtime 540 2>&1
Exit codes: 0 = success, 3 = timeout exceeded (file may still be valid), 1 = init failure.
Exit code 3 is expected and not a failure. The hard watchdog fires at 570s when the LLM synthesis phase takes longer than the soft cap. The output files (latest.md, latest.json) are written incrementally and are valid. Proceed to Phase 2 immediately — do not re-run.
This takes ~10 minutes on a healthy run.
After completion, read both output files to understand what was generated.
For each insight with confidence >= 0.7:
wiki/synthesis/insights/<slug>.mdSlug mapping: Insight Title → lower-hyphen-insight, e.g. Titans Memory Architecture → titans-memory-efficiency-insight
Cron environment note: MCP tools (wiki_update_index(), synapse_remember()) are unavailable in a cron context because the Synapse MCP server runs in the project-synapse-mcp venv, not hermes-agent's python. Do NOT attempt to call them — they will fail or hang.
Workaround: After creating pages:
ls wiki/synthesis/insights/)Deferred in cron. Cannot call synapse_remember() — MCP context unavailable. After pages are created, add to carryover:
### Open
- Run wiki_update_index() + synapse_remember() for N new insight pages (in active MCP session)
The episodic memory recording must be done manually or by a follow-up agent running in an active MCP session.
Insight output: /home/ty/Repositories/ai_workspace/project-synapse-mcp/data/insights/latest.md
JSON data: /home/ty/Repositories/ai_workspace/project-synapse-mcp/data/insights/latest.json
Insight pages: /home/ty/Documents/LLM-WIKI/wiki/synthesis/insights/
Agent sheet: wiki/scratchpad/agent-sheets/insights.md
Carryover: wiki/scratchpad/jobs/reports/insights/carryover.md
[SILENT]After writing your carryover, load the kanban-morning-review skill:
wiki/scratchpad/jobs/reports/insights/carryover.mdsearch_files or mcp_project_synapse_wiki_search for existing content on the topicmcp_project_synapse_synapse_recall for relevant episodic factshermes kanban add to create the task (the skill handles this)Only create pages for insights with confidence >= 0.7. Lower-confidence insights should be noted in carryover but not integrated as pages.