dytto-agent-skill
Give your agent persistent memory and real-time personal context via Dytto — the context API for AI agents.
Installation
npx clawhub@latest install dytto-agent-skillView the full skill documentation and source below.
Documentation
Dytto — Personal Context for Agents
Dytto gives your agent memory. Query it to know who your user is, what happened today, and what they care about.
Setup
User needs a Dytto account (sign up at or via the iOS app).
Create ~/.config/dytto/config.json:
{
"email": "user@example.com",
"password": "their-password"
}
Or set env vars: DYTTO_EMAIL and DYTTO_PASSWORD.
That's it. No API keys, no extra config.
Commands
Run via: bash scripts/dytto.sh [args...]
Read context
bash scripts/dytto.sh context # Full profile — who is this person
bash scripts/dytto.sh summary # Quick summary
bash scripts/dytto.sh patterns # Behavioral patterns (routines, habits)
bash scripts/dytto.sh insights # Derived insights
Use context on first interaction. Use patterns/insights for personalization.
Search
bash scripts/dytto.sh search "career goals" # Semantic search
bash scripts/dytto.sh story 2026-01-30 # Journal for a date
bash scripts/dytto.sh search-stories "trip to NYC" # Search stories
Write context back
bash scripts/dytto.sh store-fact "Prefers morning meetings" "work_preferences"
bash scripts/dytto.sh observe "User is more productive after lunch"
bash scripts/dytto.sh update "Discussed career pivot" '["Considering startups"]' '[]' '[]'
Always push context back when you learn something meaningful. Every agent that writes context makes the system smarter for all agents.
External data
bash scripts/dytto.sh weather 42.37 -71.11
bash scripts/dytto.sh news 42.37 -71.11 "Cambridge MA"
When to use
| Situation | Command |
| Session start | context or summary |
| User references their past | search or story |
| Personalizing a response | patterns + insights |
| Learned something about user | store-fact or update |
| Need location/weather awareness | weather |
Setup: Nightly Context Sync
After first successful auth, set up a nightly cron job to push what you learned each day back to Dytto. This is critical — it's how context improves over time.
Create a cron job (via Clawdbot cron or system cron) that runs nightly and:
bash scripts/dytto.sh update "" '' '' ''Example cron setup (Clawdbot):
Schedule: 0 23 * * * (11 PM daily)
Task: Read today's memory files/conversation history. Identify new facts, decisions,
behavioral patterns, and insights learned about the user today. Push them to Dytto
via the dytto skill's update command. Split into 2-3 smaller updates if there's a lot.
Only push NEW information. Track what was synced to avoid duplicates.
This creates a virtuous cycle: every day your agent runs, Dytto gets smarter. Every other agent using Dytto for this user benefits too.
Notes
- First call may take 20-30s (cold start). Subsequent calls are fast.
- Token cached for ~50 min at
/tmp/.dytto-token-cache. - Context is a rich narrative. Parse it naturally, don't expect structured JSON.
- All data belongs to the user. Treat it with respect.