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 | $0.00057 | $0.00877 |
| Sonnet 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 10d 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.
- 10d 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,576 stars, last pushed yesterday), licensed MIT. It adds 115 tokens to every session and 1,753 once invoked, about $0.0006 per session on Opus 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
memory
Use this skill when Pioneer should proactively use durable memory or recalled context: decide whether memory can improve a turn, answer from remembered user/project facts, request memory tools, search/list/get stored memories, save durable preferences or project decisions, forget memories, audit or clean up memory, or…
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.
subagents
Use this skill when Pioneer should delegate current-turn work to attached task-backed subagents, coordinate parallel child agents, wait for child results, review/revise/accept/cancel/detach attached work, or synthesize accepted child results into the parent answer.
tasks
Use this skill when Pioneer should create, inspect, update, reschedule, pause, resume, troubleshoot, or configure delivery for durable tasks, scheduled tasks, recurring tasks, interval tasks, cron jobs, background work, or existing task state.
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.
browser
Headless web browsing: navigation, page inspection, interaction, data extraction, screenshots, PDFs, and browser session management.