install
source · Clone the upstream repo
git clone https://github.com/Najia-afk/Aria_moltbot
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/Najia-afk/Aria_moltbot "$T" && mkdir -p ~/.claude/skills && cp -r "$T/aria_skills/api_client" ~/.claude/skills/najia-afk-aria-moltbot-aria-apiclient && rm -rf "$T"
manifest:
aria_skills/api_client/SKILL.mdsource content
Aria API Client 🔌
Centralized HTTP client for all aria-api interactions. Skills should use this instead of direct database access when available.
Usage
exec python3 /app/skills/run_skill.py api_client <function> '{"param": "value"}'
Functions
Activities
- Get recent activities (limit: int)get_activities
- Log an activity (action: str, skill: str, details: obj, success: bool)create_activity
Thoughts
- Get recent thoughts (limit: int)get_thoughts
- Create a thought (content: str, category: str, metadata: obj)create_thought
Memories
- Get memories (limit: int, category: str)get_memories
- Get memory by key (key: str)get_memory
- Create/update memory (key: str, value: str, category: str)set_memory
- Delete memory (key: str)delete_memory
Goals
- Get goals (limit: int, status: str)get_goals
- Create goal (title: str, description: str, priority: int, due_date: str)create_goal
- Update goal (goal_id: str, status: str, progress: int)update_goal
- Delete goal (goal_id: str)delete_goal
Hourly Goals
- Get today's hourly goals (status: str)get_hourly_goals
- Create hourly goal (hour_slot: int, goal_type: str, description: str)create_hourly_goal
- Update hourly goal (goal_id: int, status: str)update_hourly_goal
Knowledge Graph
- Get full graphget_knowledge_graph
- Get entities (limit: int, entity_type: str)get_entities
- Create entity (name: str, entity_type: str, properties: obj)create_entity
- Create relation (from_entity: str, to_entity: str, relation_type: str)create_relation
Social
- Get posts (limit: int, platform: str)get_social_posts
- Create post (content: str, platform: str, visibility: str)create_social_post
Heartbeats
- Get heartbeat logs (limit: int)get_heartbeats
- Get most recent heartbeatget_latest_heartbeat
- Log heartbeat (beat_number: int, status: str, details: obj)create_heartbeat
Performance
- Get performance logs (limit: int)get_performance_logs
- Create log (review_period: str, successes: str, failures: str, improvements: str)create_performance_log
Tasks
- Get pending tasks (status: str)get_tasks
- Create task (task_type: str, description: str, agent_type: str, priority: str)create_task
- Update task (task_id: str, status: str, result: str)update_task
Schedule
- Get schedule statusget_schedule
- Trigger manual ticktrigger_schedule_tick
- Get scheduled jobs (live: bool)get_jobs
- Sync jobs from ariasync_jobs
Configuration
| Env Variable | Description | Default |
|---|---|---|
| Base URL for aria-api | |
| Request timeout (seconds) | |
Examples
# Get recent activities exec python3 /app/skills/run_skill.py api_client get_activities '{"limit": 10}' # Create a thought exec python3 /app/skills/run_skill.py api_client create_thought '{"content": "This is my thought", "category": "reflection"}' # Set a memory exec python3 /app/skills/run_skill.py api_client set_memory '{"key": "user_preference", "value": "dark_mode", "category": "settings"}' # Create a goal exec python3 /app/skills/run_skill.py api_client create_goal '{"title": "Learn Rust", "priority": 2}'