name: chatcrystal-task-recall description: Recall project-first and global-supplement ChatCrystal memories before substantive implementation, refactoring, migration, configuration, investigation, or optimization work. Use when the task is non-trivial, has repository or project context, and prior fixes, decisions, pitfalls, or reusable patterns may change the approach.
ChatCrystal Task Recall
Use this skill as a thin workflow on top of ChatCrystal Core. Do not invent a parallel memory system in the skill.
Workflow
- Decide whether the task is substantial enough to justify recall.
- Trigger for non-trivial
implement,refactor,migration,config,investigate, oroptimizationwork. - Skip trivial edits, one-line answers, or purely conversational requests.
- If
recall_for_taskis available, call it before substantive work with:mode: "task"task.goal: the concrete task objectivetask.task_kind: the best matching task kindtask.project_dirandtask.cwdwhen repository context existstask.branchwhen knowntask.related_filesortask.files_touchedwhen knowntask.source_agentwhen the runtime has a stable value
- Treat
project_memoriesas primary context andglobal_memoriesas supplemental context. - Apply recalled pitfalls, patterns, and prior decisions before proposing or writing code.
Example MCP Input
Use this shape when calling recall_for_task for implementation or investigation work:
{
"mode": "task",
"task": {
"goal": "Add a paginated notes export endpoint",
"task_kind": "implement",
"project_dir": "/path/to/project",
"cwd": "/path/to/project",
"branch": "feature/export-notes",
"related_files": [
"server/src/routes/notes.ts",
"shared/types/index.ts"
],
"source_agent": "codex"
},
"options": {
"project_limit": 5,
"global_limit": 3,
"include_relations": true
}
}
Full Mode
Full mode requires ChatCrystal Core plus MCP access to recall_for_task.
- Prefer the current repository or workspace path so Core can derive
project_key. - Surface relevant warnings such as
no-project-keyorno-matches, but do not treat them as failures. - If recall returns nothing useful, continue the task normally.
Degraded Mode
If ChatCrystal Core or the MCP tool is unavailable:
- Continue the task without blocking.
- State briefly that long-term recall is unavailable in this environment.
- Do not claim that any memory was recalled.
- Do not instruct the runtime to auto-install ChatCrystal Core as part of the skill flow.