aria_skills/pattern_recognition/SKILL.md
```skill --- name: aria-pattern-recognition description: "🔍 Behavioral pattern detection in memory streams" metadata: {"aria": {"emoji": "🔍"}} --- # aria-pattern-recognition Behavioral pattern detection engine. Analyzes memory streams to find recurring topics, temporal habits, sentiment drift, emerging interests, and knowledge gaps. Stores detected patterns in semantic memory. ## Architecture ``` Memory stream (list of memory dicts) ↓ TopicExtractor (9 keyword domains + entity regex +
npx skillsauth add najia-afk/aria_moltbot aria_skills/pattern_recognitionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
---
name: aria-pattern-recognition
description: "🔍 Behavioral pattern detection in memory streams"
metadata: {"aria": {"emoji": "🔍"}}
---
# aria-pattern-recognition
Behavioral pattern detection engine. Analyzes memory streams to find
recurring topics, temporal habits, sentiment drift, emerging interests,
and knowledge gaps. Stores detected patterns in semantic memory.
## Architecture
Memory stream (list of memory dicts) ↓ TopicExtractor (9 keyword domains + entity regex + tech regex) ↓ FrequencyTracker (sliding window, default 30 days) ↓ PatternRecognizer ├── Topic recurrence (repeated subjects) ├── Interest emergence (growth rate analysis) ├── Temporal patterns (peak hours, active days) ├── Sentiment drift (valence trend over time) └── Knowledge gaps (repeated questions) ↓ SemanticMemory (category: pattern_detection)
## Pattern Types
| Type | Description | Detection Method |
|------|-------------|-----------------|
| `topic_recurrence` | Same topic appears repeatedly | Frequency ≥ min threshold |
| `interest_emergence` | New topic growing rapidly | Recent/historical ratio ≥ growth rate |
| `temporal` | Usage patterns by hour/day | Peak hour and active day analysis |
| `sentiment_drift` | Emotional trend over time | Linear regression on valence |
| `knowledge_gap` | Same question asked repeatedly | Question mark + recurrence |
## Usage
```bash
# Run full pattern detection (auto-fetches memories if empty)
exec python3 /app/skills/run_skill.py pattern_recognition detect_patterns '{}'
# With explicit memories and confidence threshold
exec python3 /app/skills/run_skill.py pattern_recognition detect_patterns '{"min_confidence": 0.5}'
# Get recurring topics
exec python3 /app/skills/run_skill.py pattern_recognition get_recurring '{"min_frequency": 0.3}'
# Get emerging interests
exec python3 /app/skills/run_skill.py pattern_recognition get_emerging '{"min_growth_rate": 2.0}'
# Check detection stats
exec python3 /app/skills/run_skill.py pattern_recognition get_pattern_stats '{}'
Run full pattern detection on a list of memories. If no memories provided, auto-fetches from semantic memory via api_client. Stores top 20 detected patterns back into semantic memory with confidence scores.
Get topics that appear with frequency above a threshold (events per day). Uses the internal frequency tracker's sliding window.
Get topics that are growing rapidly (recent frequency ÷ historical frequency ≥ growth rate multiplier).
Get statistics from the last detection run — pattern counts by type, new vs persistent patterns, analysis window.
Available at /patterns in the Aria web UI. Features:
api_client (semantic memory for storage and retrieval)tools
# aria-working-memory Persistent short-term memory operations for Aria runtime context. ## Purpose - Store, retrieve, rank, checkpoint, and prune working memory. - Provide high-relevance context for decision and response flows. ## Main Tools - `remember` - `recall` - `get_context` - `checkpoint` - `restore_checkpoint` - `forget` - `update` - `reflect` - `sync_to_files`
development
```skill --- name: aria-unified-search description: "🔎 RRF-merged search across semantic + graph + memory backends" metadata: {"aria": {"emoji": "🔎"}} --- # aria-unified-search Unified search engine that queries semantic memories (pgvector cosine), knowledge graph (ILIKE), and traditional memories (text match), then merges results via Reciprocal Rank Fusion (RRF) with content-hash deduplication. ## Architecture ``` Query ↓ (parallel to 3 backends) ├── SemanticBackend (pgvector cosi
tools
# aria-telegram Telegram Bot API integration skill. ## Purpose - Send and reply to messages through bot credentials. - Fetch updates and basic bot metadata. ## Main Tools - `send_message` - `reply_to_message` - `get_updates` - `get_me`
tools
# aria-sprint-manager Sprint planning and board flow management skill. ## Purpose - Operate goal board as Product Owner. - Move, prioritize, and report sprint progress. ## Main Tools - `sprint_status` - `sprint_plan` - `sprint_move_goal` - `sprint_report` - `sprint_prioritize`