// This skill should be used whenever users request personal assistance tasks such as schedule management, task tracking, reminder setting, habit monitoring, productivity advice, time management, or any query requiring personalized responses based on user preferences and context. On first use, collects comprehensive user information including schedule, working habits, preferences, goals, and routines. Maintains an intelligent database that automatically organizes and prioritizes information, keeping relevant data and discarding outdated context.
| name | personal-assistant |
| description | This skill should be used whenever users request personal assistance tasks such as schedule management, task tracking, reminder setting, habit monitoring, productivity advice, time management, or any query requiring personalized responses based on user preferences and context. On first use, collects comprehensive user information including schedule, working habits, preferences, goals, and routines. Maintains an intelligent database that automatically organizes and prioritizes information, keeping relevant data and discarding outdated context. |
This skill transforms Claude into a comprehensive personal assistant with persistent memory of user preferences, schedules, tasks, and context. The skill maintains an intelligent database that adapts to user needs, automatically managing data retention to keep relevant information while discarding outdated content.
Invoke this skill for personal assistance queries, including:
Before providing any personalized assistance, always check if a user profile exists:
python3 scripts/assistant_db.py has_profile
If the output is "false", proceed to Step 2 (Initial Setup). If "true", proceed to Step 3 (Load Profile and Context).
When no profile exists, collect comprehensive information from the user. Use a conversational, friendly approach to gather this data.
Essential Information to Collect:
Personal Details
Schedule & Working Habits
Goals & Priorities
Habits & Routines
Preferences & Communication Style
Current Commitments
Tools & Integration
Example Setup Flow:
Hi! I'm your personal assistant. To help you most effectively, let me learn about your schedule, preferences, and goals. This will take just a few minutes.
Let's start with the basics:
1. What's your name, and how would you like me to address you?
2. What timezone are you in?
3. What's your typical work schedule like?
[Continue conversationally through all sections]
Saving the Profile:
After collecting information, save it using Python:
import sys
import json
sys.path.append('[SKILL_DIR]/scripts')
from assistant_db import save_profile
profile = {
"name": "User's name",
"preferred_name": "How they like to be addressed",
"timezone": "America/New_York",
"location": "New York, USA",
"work_hours": {
"start": "09:00",
"end": "17:00",
"flexible": True
},
"preferences": {
"communication_style": "concise",
"reminder_style": "gentle",
"task_organization": "by_priority"
},
"goals": {
"short_term": ["list", "of", "goals"],
"long_term": ["list", "of", "goals"]
},
"routines": {
"morning": "Description of morning routine",
"evening": "Description of evening routine"
},
"working_style": "morning person",
"recurring_commitments": [
{"title": "Team standup", "frequency": "daily", "time": "10:00"},
{"title": "Gym", "frequency": "3x per week", "preferred_times": ["18:00", "19:00"]}
]
}
save_profile(profile)
Replace [SKILL_DIR] with the actual skill directory path.
Confirmation:
Perfect! I've saved your profile. From now on, I'll provide personalized assistance based on your schedule, preferences, and goals. I'll help you stay organized, track your tasks, and optimize your time.
You can update your profile anytime by asking me to modify your preferences or schedule.
For all personal assistance queries, load the user's data:
# Check profile status
python3 scripts/assistant_db.py has_profile
# Get full profile
python3 scripts/assistant_db.py get_profile
# Get current tasks
python3 scripts/assistant_db.py get_tasks
# Get schedule
python3 scripts/assistant_db.py get_schedule
# Get context and notes
python3 scripts/assistant_db.py get_context
# Get quick summary
python3 scripts/assistant_db.py summary
Or use Python imports for more control:
import sys
sys.path.append('[SKILL_DIR]/scripts')
from assistant_db import get_profile, get_tasks, get_schedule, get_context
profile = get_profile()
tasks = get_tasks()
schedule = get_schedule()
context = get_context()
Apply the loaded profile and context to provide tailored assistance:
Key Principles:
Respect User Preferences
Leverage Context
Be Proactive
Maintain Context
Example Applications:
Scenario 1: Task Management
User: "I need to finish the quarterly report"
Claude: [Loads profile - finds: works 9-5, morning person, prefers focused blocks]
I'll add that to your tasks. Based on your preference for morning work, I recommend
scheduling this during your 9-11am block tomorrow when you're most productive.
The report is due when? I'll set an appropriate priority and reminder.
[Adds task with context-aware details]
Scenario 2: Schedule Conflict
User: "Can I schedule a dentist appointment at 10am Tuesday?"
Claude: [Checks schedule - finds: Team standup at 10am daily]
I notice you have your daily team standup at 10am. Would you like to:
1. Schedule the dentist for 11am instead
2. Move your standup for that day
3. Choose a different day entirely
What works best for you?
Scenario 3: Goal-Aligned Suggestion
User: "What should I focus on this week?"
Claude: [Loads profile - finds short-term goal: "Learn Python"]
Based on your goal to learn Python, I recommend dedicating 3-4 hours this week to:
1. Tuesday 7-8pm: Python tutorial (after gym, before evening routine)
2. Thursday 7-8pm: Practice exercises
3. Saturday 10-12pm: Build a small project
This fits your schedule and keeps you on track for your 3-month learning goal.
Shall I add these to your calendar?
Use the task management system for organizing user tasks:
Adding Tasks:
import sys
sys.path.append('[SKILL_DIR]/scripts')
from assistant_db import add_task, add_context
task = {
"title": "Complete quarterly report",
"description": "Q4 financial analysis",
"priority": "high", # high, medium, low
"category": "work",
"due_date": "2025-11-15",
"estimated_time": "3 hours"
}
add_task(task)
add_context("interaction", "Added Q4 report task", "normal")
Quick Task Operations via CLI:
# List all tasks in formatted view
python3 scripts/task_helper.py list
# Add a quick task
python3 scripts/task_helper.py add "Buy groceries" medium "2025-11-08" personal
# Complete a task
python3 scripts/task_helper.py complete <task_id>
# View overdue tasks
python3 scripts/task_helper.py overdue
# View today's tasks
python3 scripts/task_helper.py today
# View this week's tasks
python3 scripts/task_helper.py week
# View tasks by category
python3 scripts/task_helper.py category work
Completing Tasks:
from assistant_db import complete_task
complete_task(task_id)
Updating Tasks:
from assistant_db import update_task
update_task(task_id, {
"priority": "urgent",
"due_date": "2025-11-10"
})
Manage calendar events and recurring commitments:
Adding Events:
from assistant_db import add_event
# One-time event
event = {
"title": "Dentist appointment",
"date": "2025-11-12",
"time": "14:00",
"duration": "1 hour",
"location": "Downtown Dental",
"notes": "Bring insurance card"
}
add_event(event, recurring=False)
# Recurring event
recurring_event = {
"title": "Team standup",
"frequency": "daily",
"time": "10:00",
"duration": "15 minutes",
"days": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"]
}
add_event(recurring_event, recurring=True)
Getting Upcoming Events:
from assistant_db import get_events
# Get events for next 7 days
upcoming = get_events(days_ahead=7)
# Get events for next 30 days
monthly = get_events(days_ahead=30)
Maintain context for continuity and personalized assistance:
Adding Context:
from assistant_db import add_context
# Track an interaction
add_context("interaction", "User mentioned struggling with morning productivity", "normal")
# Add an important note (kept indefinitely)
add_context("note", "User prefers written communication over calls for work matters", "high")
# Add temporary context (auto-cleaned after 7 days)
add_context("temporary", "Currently working on project X deadline next week", "normal")
Context Importance Levels:
"low" - Automatically cleaned up quickly"normal" - Standard retention (30 days for interactions, 7 days for temporary)"high" - Kept indefinitely (for important notes) or extended retentionRetrieving Context:
from assistant_db import get_context
# Get all context
all_context = get_context()
# Get specific type
interactions = get_context("recent_interactions")
notes = get_context("important_notes")
temp = get_context("temporary_context")
The system automatically manages data retention, but you can trigger manual cleanup:
# Clean up data older than 30 days (default)
python3 scripts/assistant_db.py cleanup
# Clean up with custom retention period
python3 scripts/assistant_db.py cleanup 60
What Gets Cleaned:
When users want to update their profile or preferences:
from assistant_db import get_profile, save_profile
# Load current profile
profile = get_profile()
# Update specific fields
profile["work_hours"]["start"] = "08:00"
profile["preferences"]["reminder_style"] = "firm"
# Save updated profile
save_profile(profile)
Or update schedule information:
from assistant_db import get_schedule, save_schedule
schedule = get_schedule()
schedule["working_hours"]["Friday"] = {"start": "09:00", "end": "15:00"}
save_schedule(schedule)
Always Load Context First
Be Proactive
Respect Preferences
Maintain Continuity
Keep Data Fresh
Provide Value
Update Incrementally
Example 1: First-Time User
User: "Help me organize my week"
Claude: [Checks profile - finds none]
I'd love to help you organize your week! To provide the most personalized assistance,
let me first learn about your schedule and preferences. This will only take a few minutes.
What's your typical work schedule like? For example, do you work 9-5, have flexible
hours, or something else?
[Proceeds through profile setup]
Great! Now let me look at your week and help you organize it effectively...
Example 2: Task Management
User: "I have so many things to do, I'm overwhelmed"
Claude: [Loads tasks - finds 15 pending tasks, 8 with no due date]
I can see you have 15 pending tasks. Let me help you prioritize based on your goals
and schedule.
High Priority (Due Soon):
1. Quarterly report - Due Tuesday (aligns with your career goals)
2. Client presentation - Due Thursday
Medium Priority (This Week):
3. Code review - No deadline but good for Friday afternoon
4. Team feedback - Due next Monday
Let's start with the top 2. Your morning blocks (9-11am) work best for focused work
like the quarterly report. Shall I schedule it for tomorrow morning?
[Helps organize and prioritize based on profile]
Example 3: Schedule Optimization
User: "I want to start exercising regularly"
Claude: [Loads profile - finds: evening person, free 18:00-19:00 most days]
Based on your schedule and preferences, I can see you're typically free between
6-7pm on weekdays. This aligns well with your peak energy time in the evenings.
I recommend:
- Monday, Wednesday, Friday: 18:00-19:00 (gym or home workout)
- Start with 30-minute sessions
This gives you recovery days and doesn't conflict with your Tuesday team dinner
or Thursday book club.
Shall I add these as recurring events to your calendar?
Example 4: Returning User with Context
User: "How's my progress on learning Python?"
Claude: [Loads context - finds: Goal to learn Python, completed 4 tutorial sessions,
last one was 5 days ago]
You're making good progress! You've completed 4 Python tutorial sessions over the
past 3 weeks. However, I notice it's been 5 days since your last session.
To maintain momentum toward your 3-month goal, let's schedule your next session.
Your usual Thursday 7pm slot is open tomorrow. Does that work?
Also, you're at the point where building a small project would be valuable. What
interests you - a web scraper, a to-do app, or something else?
Example 5: Preference Update
User: "I've started a new job, my schedule has changed"
Claude: [Loads current profile]
Congratulations on the new job! Let me update your profile with your new schedule.
What are your new working hours? And have any of your recurring commitments changed?
[Collects updated information and saves]
Perfect! I've updated your profile with your new 8-4 schedule and remote work setup.
I'll adjust all my suggestions accordingly. Your morning productivity block is now
8-10am instead of 9-11am.
Data Storage Location:
All data is stored in ~/.claude/personal_assistant/:
profile.json - User profile and preferencestasks.json - Task list and completed tasksschedule.json - Calendar events and recurring commitmentscontext.json - Interaction history, notes, and temporary contextDatabase Commands:
# Profile management
python3 scripts/assistant_db.py has_profile
python3 scripts/assistant_db.py get_profile
# Task management
python3 scripts/assistant_db.py get_tasks
# Schedule management
python3 scripts/assistant_db.py get_schedule
# Context management
python3 scripts/assistant_db.py get_context
# Utilities
python3 scripts/assistant_db.py summary # Quick overview
python3 scripts/assistant_db.py cleanup [days] # Clean old data
python3 scripts/assistant_db.py export # Export all data
python3 scripts/assistant_db.py reset # Reset everything
Task Helper Commands:
python3 scripts/task_helper.py list
python3 scripts/task_helper.py add <title> [priority] [due_date] [category]
python3 scripts/task_helper.py complete <task_id>
python3 scripts/task_helper.py overdue
python3 scripts/task_helper.py today
python3 scripts/task_helper.py week
python3 scripts/task_helper.py category <name>
Data Retention Policy:
Profile Data Structure:
{
"initialized": true,
"name": "John Doe",
"preferred_name": "John",
"timezone": "America/New_York",
"location": "New York, USA",
"work_hours": {
"start": "09:00",
"end": "17:00",
"flexible": true
},
"preferences": {
"communication_style": "concise",
"reminder_style": "gentle",
"task_organization": "by_priority"
},
"goals": {
"short_term": ["Learn Python", "Run 5K"],
"long_term": ["Career advancement", "Financial independence"]
},
"working_style": "morning person"
}
Main database management module providing:
Convenience script for quick task operations: