aria_skills/llm/SKILL.md
# aria-llm — LLM Fallback Chain Skill **Layer:** 2 (Infrastructure) | **Category:** LLM | **Status:** Active (S-45 Phase 3) ## Purpose Provides resilient LLM completions with per-model circuit breakers and automatic fallback through the priority chain defined in `aria_models/models.yaml`. Never hardcodes model names — all routing comes from `routing.fallbacks` in models.yaml. ## Model Chain Loaded dynamically at startup from `aria_models/models.yaml` (`routing.fallbacks`). Tier order: `lo
npx skillsauth add najia-afk/aria_moltbot aria_skills/llmInstall 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.
Layer: 2 (Infrastructure) | Category: LLM | Status: Active (S-45 Phase 3)
Provides resilient LLM completions with per-model circuit breakers and automatic fallback through the priority chain defined in aria_models/models.yaml. Never hardcodes model names — all routing comes from routing.fallbacks in models.yaml.
Loaded dynamically at startup from aria_models/models.yaml (routing.fallbacks).
Tier order: local → free → paid
| Priority | Tier | Model Source |
|----------|------|-------------|
| 1 | local | qwen3-mlx (MLX on Mac) |
| 2+ | free | OpenRouter free tier models |
| last | paid | kimi (Moonshot) |
Each model has an independent circuit breaker:
circuit_failure_threshold consecutive failures (default: 3)circuit_reset_seconds (default: 60s)| Variable | Default | Description |
|----------|---------|-------------|
| LITELLM_URL | http://litellm:4000/v1 | LiteLLM proxy base URL |
| LITELLM_MASTER_KEY | sk-aria | API key for LiteLLM |
| Tool | Description |
|------|-------------|
| complete(messages, model?, temperature?, max_tokens?) | Completion via fallback chain |
| complete_with_model(model, messages, ...) | Bypass chain — use specific model |
| get_fallback_chain() | Inspect current chain (from models.yaml) |
| reset_circuit_breakers() | Reset all circuit breakers to closed |
# Via run_skill.py
python3 aria_mind/skills/run_skill.py llm complete '{"messages": [{"role": "user", "content": "Hello"}]}'
# Via api_client (preferred)
aria-llm.complete({"messages": [{"role": "user", "content": "Summarise this text"}]})
httpx — HTTP client for LiteLLM proxyaria_models.loader — reads models.yaml for fallback chainLITELLM_URLtools
# 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`