界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

automations-memory

automations-memory

【效率与协作】Use and troubleshoot Khoj scheduled automations, cron normalization, scheduler leadership, and user memories.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: automations-memory description: "Use and troubleshoot Khoj scheduled automations, cron normalization, scheduler leadership, and user memories." disable-model-invocation: true metadata: disco-role: operating license: AGPL 3.0

Khoj Automations and Memory

Use this sub-skill when working on Khoj scheduled automations, /api/automation, /api/memories, cron normalization, background scheduler leadership, user memory settings, or memory scoping by user and agent.

Route Map

  • Use automations-api.md for /api/automation CRUD, manual trigger behavior, required parameters, cron normalization, response metadata, and /automated_task query prefixing.
  • Use memory-api.md for /api/memories behavior, update-as-delete-and-recreate semantics, memory settings, and user/agent scoping rules.
  • Use scheduler-runtime.md for APScheduler, DjangoJobStore, process-lock scheduler leadership, timezone handling, and asynchronous trigger execution.
  • Use troubleshooting.md for invalid cron strings, minute-level recurrence rejection, duplicate automations, missing conversations, scheduler leader conflicts, missing memories, and disabled or mis-scoped memory.
  • Use validate_cron.py to safely validate and normalize Khoj-style cron strings without starting the server or touching a database.

Boundaries

  • This sub-skill owns scheduled automation APIs, cron normalization, automation runtime scheduling, scheduler leader behavior, memory APIs, memory settings, and memory user/agent scoping.
  • Route ordinary chat payload construction, slash-command response generation, model selection, and chat agent behavior to chat-agents.
  • Route server startup, database migrations, deployment, authentication setup, Docker, and general REST route orientation to deployment-api.
  • Route search, content retrieval, indexing, file filters, embeddings, and reranking to search-retrieval or content-indexing.

Evidence Basis

This guidance is distilled from Khoj source, docs, and tests for automation routing, memory routing, scheduler setup, process locks, memory settings, and scheduled-chat actor behavior. It is self-contained for future coding agents and does not require reading original repository files at runtime.

我的收藏