chatcrystal-task-recall
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
Install
npx skills add https://github.com/ZengLiangYi/ChatCrystal/tree/main/skills/chatcrystal-task-recall
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install zengliangyi-chatcrystal@llmmart
git clone https://github.com/ZengLiangYi/ChatCrystal.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole zengliangyi/chatcrystal collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
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.
Files (chatcrystal)
-
agents
-
openai.yaml 239 B
interface: display_name: "ChatCrystal Task Recall" short_description: "Recall ChatCrystal memories before substantial work" default_prompt: "Use $chatcrystal-task-recall to recall prior project memories before working on this task."
-
-
SKILL.md 2.6 KB
--- 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 1. Decide whether the task is substantial enough to justify recall. 2. Trigger for non-trivial `implement`, `refactor`, `migration`, `config`, `investigate`, or `optimization` work. 3. Skip trivial edits, one-line answers, or purely conversational requests. 4. If `recall_for_task` is available, call it before substantive work with: - `mode: "task"` - `task.goal`: the concrete task objective - `task.task_kind`: the best matching task kind - `task.project_dir` and `task.cwd` when repository context exists - `task.branch` when known - `task.related_files` or `task.files_touched` when known - `task.source_agent` when the runtime has a stable value 5. Treat `project_memories` as primary context and `global_memories` as supplemental context. 6. 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: ```json { "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-key` or `no-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.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.