Hope Agent is a cross-device personal AI assistant that remembers context, uses tools, and continues working toward goals through dynamically organized workflows. Individuals use it from desktop, web, server, or messaging environments to manage projects, knowledge, designs, and long-running tasks. The catalogue add-ons extend its agent workflows and capabilities.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add shiwenwen/hope-agent --skill ha-data-storesgit clone --depth 1 https://github.com/shiwenwen/hope-agentWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/shiwenwen/hope-agent/ha-data-stores)<a href="https://agentmods.dev/skills/shiwenwen/hope-agent/ha-data-stores"><img src="https://agentmods.dev/badge/skills/shiwenwen/hope-agent/ha-data-stores/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/shiwenwen/hope-agent/ha-data-stores"><img src="https://agentmods.dev/badge/skills/shiwenwen/hope-agent/ha-data-stores.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00115 | $0.01753 |
| Opus 5.5 | $0.00046 | $0.00701 |
| Sonnet 5.5 | $0.00023 | $0.00351 |
| Haiku 4.5 | $0.00012 | $0.00175 |
Grade A, and why
ha-data-stores scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 194 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Hope Agent Data Stores
Use this skill when you need to locate or inspect Hope Agent's persisted local data. Prefer product tools first; use direct SQLite only for diagnostics or ad-hoc analysis that existing tools do not cover.
Priority order
- Use dedicated model tools when they answer the question:
sessions_searchfor finding exact details in current or historical chat messages.sessions_historyfor paginated transcript reading once a session is known.recall_memory/memory_getfor user/project/agent memory.note_*/knowledge_recallfor attached knowledge spaces.get_settingsfor AppConfig settings.job_statusfor background job state visible to the current session.
- Use read-only SQLite queries only when a dedicated tool is missing, too coarse, or the task is diagnostic/audit work.
- Never mutate app databases directly. Do not run
UPDATE,DELETE,INSERT,DROP,CREATE,ALTER,VACUUM,REINDEX, orATTACH.
Data root
All app-managed data lives under the Hope Agent data root:
- If
HA_DATA_DIRis set: use it exactly. - Otherwise:
~/.hope-agent.
Shell helper:
ROOT="${HA_DATA_DIR:-$HOME/.hope-agent}"
Use this helper instead of hard-coding ~/.hope-agent when running queries.
SQLite read-only patterns
Use the sqlite CLI with -readonly:
ROOT="${HA_DATA_DIR:-$HOME/.hope-agent}"
sqlite3 -readonly -cmd ".headers on" -cmd ".mode column" "$ROOT/sessions.db" \
"SELECT id, title, agent_id, updated_at FROM sessions ORDER BY updated_at DESC LIMIT 10;"
Python fallback:
python3 - <<'PY'
import os, sqlite3
root = os.environ.get("HA_DATA_DIR") or os.path.expanduser("~/.hope-agent")
path = os.path.join(root, "sessions.db")
con = sqlite3.connect(f"file:{path}?mode=ro", uri=True)
for row in con.execute("SELECT id, title, updated_at FROM sessions ORDER BY updated_at DESC LIMIT 10"):
print(row)
PY
Main stores
| Store | Path | Purpose |
|---|---|---|
| Sessions | $ROOT/sessions.db |
Sessions, messages, chat context snapshots, projects, knowledge registry/bindings, channel mappings, subagent runs, tasks, learning events |
| Memory | $ROOT/memory.db |
Long-term memories, memory FTS/vector data, Dreaming claims/evidence/profile data |
| Logs | $ROOT/logs.db |
Structured app logs emitted by app_info! / app_warn! / app_error! / app_debug! |
| Background jobs | $ROOT/background_jobs.db |
Unified background job cache for async tools and subagent/group projections |
| Cron | $ROOT/cron.db |
Scheduled tasks managed by manage_cron |
| Wakeups | $ROOT/wakeups.db |
Agent self-scheduled wakeups from schedule_wakeup |
| Recap | $ROOT/recap/recap.db |
Cached recap/report facets and summaries |
| Knowledge index | $ROOT/knowledge/index.db |
Rebuildable note/chunk/link/tag search cache; real notes are Markdown files |
| Canvas | $ROOT/canvas/canvas.db |
Canvas projects and versions |
| Local model jobs | $ROOT/local_model_jobs.db |
Ollama/local-model install, pull, preload jobs |
| Local LLM cache | $ROOT/local_llm_library_cache.db |
Cached Ollama Library search/tag metadata |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 194 lines · 115 tokens per session scan A 968069e20d1f
ha-data-stores is a skill published in the GitHub repository shiwenwen/hope-agent (1,860 stars, last pushed yesterday), licensed MIT. It adds 115 tokens to every session and 1,753 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
tanstack-ai-memory-redis
Use when wiring redis() from @tanstack/ai-memory/redis in production — covers client setup (ioredis or node-redis via fromNodeRedis), the storage model, client-side ranking limits, and troubleshooting.
memory-generation
A guide for deciding when the assistant should create a memory about something the user explicitly wants remembered or about a useful lesson.
self_awareness
Ground self-referential answers in the agent's actual filesystem. Use when the user asks who the agent is, what it can do, what it knows, what it remembers, what it has built, what services are connected, or what rules it follows.
forget
Remove a personal fact, preference, relationship detail, topic, or prior event from Muse's active memory and stop existing copies or automations from bringing it back. Use for explicit requests such as 'forget that', 'don't remember this about me', or 'remove that from your memory'. Do not use when 'forget it' merely…
consolidate-memory
Reflective pass over your memory files — merge duplicates, fix stale facts, prune the index.
article-writer
Multi-style article creation skill. Supports 5 writing styles (deep analysis, practical guide, story-driven, opinion, news brief), including complete workflow: material collection → outline → content → formatting. Activated when users mention "write article", "write post", "create", or "draft".