zengliangyi/chatcrystal/chatcrystal-task-writeback
Claude Code and agent skill by zengliangyi/chatcrystal
- community
Checking that the SKILL.md file is still in the repository.
Write reusable ChatCrystal task memories after substantive work completes. Use when implementation or debugging produced a durable fix, pitfall, pattern, or decision worth preserving, and when the environment can either persist it through `write_task_memory` or emit a structured memory candidate for later save.
Install
npx vskill@latest install zengliangyi/chatcrystal/chatcrystal-task-writebackSKILL.md
ChatCrystal Task Writeback
Use this skill after meaningful work completes. Let ChatCrystal Core decide whether a memory should be skipped, merged, or created.
Workflow
- Trigger only after substantive work completes and the result produced reusable knowledge.
- Good candidates include:
- a durable fix
- a meaningful pitfall
- a reusable pattern
- an explicit engineering decision
Quality Gate Preflight
Before calling write_task_memory, verify the candidate is an experience asset, not a work log.
Do not call write_task_memory when:
- The summary only says what changed, without why it mattered.
- There is no clear problem, decision, pitfall, resolution, or reusable pattern.
- The task produced no durable lesson for future work.
Required field shape by memory.outcome_type:
fix: includeroot_causeorresolution.pitfall: includepitfallsplusresolutionorreusable_patterns.decision: includedecisions.pattern: includereusable_patterns.
Write memory.summary as a durable experience conclusion, not as "I did X". Automatic writeback must include source_run_key; without it, emit a structured candidate for later save instead of silently writing manual memory.
- If
write_task_memoryis available and the runtime has a stable run or session key, call it with:
mode: "auto"source_run_key: the stable run or session keytask.goal,task.task_kind,task.project_dir,task.cwd,task.branchtask.source_agentwhen knownmemory.summary: concise and durable, not chattymemory.outcome_type: one ofpitfall,fix,pattern,decisionmemory.root_cause,memory.resolution,memory.error_signatures,memory.files_touched,memory.tagswhen relevant
- Use
mode: "manual"only for an explicit manual save flow, never as a silent fallback for automatic writeback. - Default to project-scoped knowledge. Only use global scope for clearly cross-project knowledge and only in an explicit manual save flow.
- Report the persistence result accurately:
createdmergedskipped
Example MCP Input
Use this shape when calling write_task_memory after a completed task with a stable run key:
Full Mode
Full mode requires ChatCrystal Core plus MCP access to write_task_memory.
- Do not reimplement skip or merge logic in the skill.
- Trust Core to decide whether the memory should be skipped, merged, or created.
- If the tool reports
skipped, keep the task result but do not force persistence.
Degraded Mode
If ChatCrystal Core or the MCP tool is unavailable, or if no stable run key exists for automatic writeback:
- Do not claim that the memory was saved.
- Emit a structured memory candidate in the response for later save.
- Keep the candidate aligned with the
write_task_memory.memorypayload shape so it can be reused later. - Do not instruct the runtime to auto-install ChatCrystal Core as part of the skill flow.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/chatcrystal-task-writeback/SKILL.md
Popularity
- Repository stars
- 58
- Repository forks
- 5
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/zengliangyi/chatcrystal/chatcrystal-task-writeback)