Distill Pending
Documentsdistill-pendingDistill Pending is an Agent Skill for documents published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Process pending transcript distillation
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/workflow/distill-pending/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/distill-pending, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Distill Pending Sessions
Trigger distillation of pending transcripts and check distillation status.
How Distillation Works
- Automatic: The daemon distills transcripts every 5 minutes (configurable)
- On Compaction: PreCompact hook triggers immediate distillation before context is lost
- On Session Start: SessionStart hook triggers distillation of any pending work
Manual Trigger
If you need to manually trigger distillation for the current session:
# Add to queue for daemon processing
echo '{"tool":"distill_trigger","args":{"session_id":"CURRENT_SESSION_ID"},"ts":'$(date +%s)'}' >> /tmp/chitta-queue.jsonl
Check Distillation Status
View registered transcripts and their distillation state:
chitta transcript_list
This shows:
session_id: Transcript identifierlast_processed_line: How many lines have been distilleddistilled: Whether any distillation has occurredrealm: Project context
Distillation Output
Distilled learnings are stored as memories with:
[learn]prefix for extracted insights- SSL format for efficient storage
- Connected via triplets for graph navigation
Configuration
Daemon distillation settings (in chittad --help):
--distill-interval MINS: Check interval (default: 5)--distill-min-turns N: Min turns before distilling (default: 4)--distill-model MODEL: LLM model for extraction--no-distill: Disable automatic distillation
Troubleshooting
If distillation isn't running:
- Check daemon is running:
chitta health_check - Check opencode is available:
which opencode - Check transcript is registered:
chitta transcript_list - Check queue is being processed:
ls -la /tmp/chitta-queue.jsonl*