Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
Chitin 2.0.0 is a major update with enhanced agent integration and larger personality context support. - Expanded personality injection to support up to 6,000 tokens (~3% of a 200k context window) for richer context. - Added detailed OpenClaw agent integration via a dedicated workspace hook, including synthetic PERSONALITY.md bootstrapping and reflection queuing. - Improved detection and prevention of duplicate context injections in OpenClaw by checking if PERSONALITY.md is already present. - Updated documentation to reflect OpenClaw-specific instructions and revised retrieve command defaults (markdown/json output, 5,000 token budget). - No code changes detected in this release; updates are documentation and integration guidance.
What This Skill Does
Chitin is a personality persistence layer for AI agents. It captures behavioral patterns, reasoning approaches, relational dynamics, and learned principles as structured insights in a local SQLite database. On each session start, it injects a compact personality context so agents resume with consistent working style and judgment, not just factual memory.
SOUL.md defines identity and MEMORY.md logs events, but neither captures experiential wisdom formed from repeated work; Chitin fills that gap with typed, context-aware insights that surface based on what you're doing.
When to use it
- Carrying forward communication style preferences across agent sessions
- Storing debugging approaches learned from previous troubleshooting work
- Installing condition-response reflexes for recurring workflow situations
- Tracking how a specific collaborator prefers to receive information
- Sharing well-tested behavioral insights with other agents via a shared knowledge base
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: set up personality persistence for a new agent session
- 1Run `chitin init` to initialize the local SQLite database
- 2Add an insight with `chitin contribute --type behavioral --claim 'On clear tasks, execute first, narrate minimally' --confidence 0.85 --tags efficiency,workflow`
- 3Run `chitin retrieve --query 'software development task' --format markdown --budget 5000` to generate personality context
- 4Inject the returned PERSONALITY.md content into the agent system prompt or bootstrap context via the OpenClaw hook
Agent session starts with a compact personality context (~6,000 tokens) containing top-scored insights, preserving working style and learned patterns from previous sessions
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.