ChatCrystal Debug Recall
Use this skill when the task is clearly about diagnosis or debugging. Keep the skill thin and let ChatCrystal Core handle retrieval.
Workflow
- Trigger when the task includes failing tests, compiler errors, runtime exceptions, broken dependencies, environment problems, or performance regressions.
- If
recall_for_task is available, call it before proposing a fix with:
mode: "debug"
task.goal: the concrete debugging objective
task.task_kind: "debug"
task.project_dir and task.cwd when known
task.branch when known
task.related_files or task.files_touched when known
task.error_signatures populated with the most useful identifiers available
- Prefer concrete signals such as:
- failing test names
- exception classes
- error codes
- log signatures
- package or tool versions when they materially affect the failure
- Prioritize returned memories that explain root cause, remediation, or known pitfalls.
- Use recalled memories to sharpen diagnosis, not to skip verification in the current environment.
Example MCP Input
Use this shape when calling recall_for_task for debugging:
{
"mode": "debug",
"task": {
"goal": "Diagnose failing build after TypeScript upgrade",
"task_kind": "debug",
"project_dir": "/path/to/project",
"cwd": "/path/to/project",
"branch": "upgrade/typescript",
"related_files": [
"server/src/cli/mcp/server.ts",
"tsconfig.base.json"
],
"error_signatures": [
"TS2322",
"Type is not assignable"
],
"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.
- Keep
project_memories primary and global_memories secondary.
- If the response includes warnings or
no-matches, continue debugging normally.
- Do not overfit to a recalled fix when the current failure signature diverges materially.
Degraded Mode
If ChatCrystal Core or the MCP tool is unavailable:
- Continue the debugging task without blocking.
- State briefly that long-term debug recall is unavailable.
- Do not fabricate historical failures, causes, or fixes.
- Do not turn installation commands into automatic skill steps.
1---2name: chatcrystal-debug-recall3description: Recall ChatCrystal memories for debugging tasks involving failing tests, compiler errors, runtime exceptions, dependency issues, environment breakage, or performance regressions. Use when historical root causes, fixes, or pitfalls may accelerate diagnosis before proposing a fix.4---5
6# ChatCrystal Debug Recall
7
8Use this skill when the task is clearly about diagnosis or debugging. Keep the skill thin and let ChatCrystal Core handle retrieval.
9
10## Workflow
11
121. Trigger when the task includes failing tests, compiler errors, runtime exceptions, broken dependencies, environment problems, or performance regressions.
132. If `recall_for_task` is available, call it before proposing a fix with:
14 - `mode: "debug"`
15 - `task.goal`: the concrete debugging objective
16 - `task.task_kind: "debug"`
17 - `task.project_dir` and `task.cwd` when known
18 - `task.branch` when known
19 - `task.related_files` or `task.files_touched` when known
20 - `task.error_signatures` populated with the most useful identifiers available
213. Prefer concrete signals such as:
22 - failing test names
23 - exception classes
24 - error codes
25 - log signatures
26 - package or tool versions when they materially affect the failure
274. Prioritize returned memories that explain root cause, remediation, or known pitfalls.
285. Use recalled memories to sharpen diagnosis, not to skip verification in the current environment.
29
30## Example MCP Input
31
32Use this shape when calling `recall_for_task` for debugging:
33
34```json
35{
36 "mode": "debug",
37 "task": {
38 "goal": "Diagnose failing build after TypeScript upgrade",
39 "task_kind": "debug",
40 "project_dir": "/path/to/project",
41 "cwd": "/path/to/project",
42 "branch": "upgrade/typescript",
43 "related_files": [
44 "server/src/cli/mcp/server.ts",
45 "tsconfig.base.json"
46 ],
47 "error_signatures": [
48 "TS2322",
49 "Type is not assignable"
50 ],
51 "source_agent": "codex"
52 },
53 "options": {
54 "project_limit": 5,
55 "global_limit": 3,
56 "include_relations": true
57 }
58}
59```
60
61## Full Mode
62
63Full mode requires ChatCrystal Core plus MCP access to `recall_for_task`.
64
65- Keep `project_memories` primary and `global_memories` secondary.
66- If the response includes warnings or `no-matches`, continue debugging normally.
67- Do not overfit to a recalled fix when the current failure signature diverges materially.
68
69## Degraded Mode
70
71If ChatCrystal Core or the MCP tool is unavailable:
72
73- Continue the debugging task without blocking.
74- State briefly that long-term debug recall is unavailable.
75- Do not fabricate historical failures, causes, or fixes.
76- Do not turn installation commands into automatic skill steps.