Agent skill · Audited from source
Ha Self Diagnosis
skill · shiwenwen/hope-agentMIT licenceAudited 12 Oct 2026 · source f50447283b3f
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit f50447283b3f and found no filesystem, network or shell access and no hard-coded secrets. What it does: Self-understanding and issue reporting for Hope Agent itself. Use when the user asks how Hope Agent works internally, asks about its own source code/docs/runtime behavior, reports a bug/failure/slowness/crash, asks to…
Cite
Cite this page
ModelsAtlas. “Ha Self Diagnosis (shiwenwen/hope-agent)”. Retrieved 12 Oct 2026. https://modelsatlas.com/skills/shiwenwen/ha-self-diagnosis
Trust audit
Audit 0.4.1 · source read 12 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha f50447283b3f · 12 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publishershiwenwen GitHub userOwner of the repository this skill is read from
- Source foldershiwenwen/hope-agent/skills/ha-self-diagnosisThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdictf50447283b3fA new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Self-understanding and issue reporting for Hope Agent itself. Use when the user asks how Hope Agent works internally, asks about its own source code/docs/runtime behavior, reports a bug/failure/slowness/crash, asks to…
---
name: ha-self-diagnosis
description: "Self-understanding and issue reporting for Hope Agent itself. Use when the user asks how Hope Agent works internally, asks about its own source code/docs/runtime behavior, reports a bug/failure/slowness/crash, asks to diagnose logs, or asks to create/submit a GitHub issue for a bug, feature request, or improvement (including when there is no bug). Chinese triggers: 自查, 了解自己, 自我诊断, 排查 Hope Agent, 提交 issue, 需求 issue, 功能改进."
license: MIT
context: fork
effort: high
allowed-tools: [read, grep, find, ls, exec, get_settings, app_update, issue_report, ask_user_question, sessions_list, sessions_search, sessions_history, session_status]
status: active
aliases:
- self-diagnosis
- self-study
- report-issue
- issue-report
---
# Hope Agent Self-Diagnosis
You are Hope Agent investigating Hope Agent. Your job is to understand the app's own implementation and turn findings or user requests into useful answers or GitHub issues.
## Modes
Choose exactly one primary mode from the user's request.
### self-study
Use when the user asks how Hope Agent works, where something is implemented, what a subsystem does, or how to troubleshoot an area without necessarily reporting a bug.
#### Resolve a source root first
self-study is best grounded in real source plus `docs/architecture/`. Pick the first that applies:
1. **Live checkout** — if the working directory is a Hope Agent source tree (has `crates/ha-core/` and `docs/architecture/`), use it directly.
2. **Bootstrap by version** — a packaged install has no source tree. When the question needs implementation detail (not just runtime behavior), clone the matching release once into a reusable cache:
- Read the running version: `app_update(action="check")` → `current_version` (e.g. `0.10.0`).
- Reuse `~/.hope-agent/source-cache/v<version>/` if it already exists and looks complete (has `crates/`).
- Otherwise shallow-clone that exact tag over anonymous HTTPS (never the SSH remote — packaged users can't auth it):
```bash
git clone --depth 1 --branch v<version> \
https://github.com/shiwenwen/hope-agent.git \
~/.hope-agent/source-cache/v<version>
```
- `docs/architecture/` ships inside the clone, so docs and source arrive together. Per-version dir; old ones are safe to delete.
- **Read-only**: only `read` / `grep` / `find` the tree. Never `cargo build` / `pnpm install` / run repo scripts.
3. **Bundled fallback** — if there is no network, the clone fails, or the tag does not exist (nightly / self-built), fall back to `references/diagnostic-playbook.md` (its Subsystem Reference names the doc, entry module, database, and log category per subsystem) and say the answer is based on bundled references, not live source.
Always check out the version tag, never `main` — `main` carries unreleased code that won't match the user's binary. Do not bootstrap for issue-report or runtime-only diagnosis (logs / sessions / crash journal already explain "why did it fail"); clone only when self-study truly needs to read the implementation.
#### Workflow
Against whichever source root resolved above:
1. Identify the subsystem and read the closest architecture doc under `docs/architecture/`.
2. Inspect the actual source entry points named by the doc or by `references/diagnostic-playbook.md`.
3. Cross-check runtime/config behavior with `get_settings` when useful.
4. Answer with concrete file/module references, data flow, constraints, and likely debugging entry points.
### issue-report
Use when the user asks to submit an issue, create a feature request, record an improvement, or report a bug. A bug is not required: explicit user requests for requirements or improvements are valid issue-report tasks.
Workflow:
1. Classify `kind` as `bug`, `feature`, or `improvement`.
2. Gather context:
- Bug: version/platform/run mode, recent errors, related session/tool failures, reproduction steps.
- Feature: user story, motivation, expected behavior, acceptance criteria.
- Improvement: current friction, proposed behavior, tradeoffs, acceptance criteria.
3. If Issue Reporting setting `duplicateCheckEnabled` is true, call `issue_report(action="search")` with a concise query.
4. Call `issue_report(action="draft")` and show the draft summary to the user if they have not already explicitly asked to submit.
5. Call `issue_report(action="create")` only when the user asked to submit or after they approve the draft. The tool itself will ask for final confirmation before submitting.
Never bypass the `issue_report(action="create")` confirmation. Never paste raw secrets into the issue body. Evidence can be detailed, but it must be redacted and relevant. If no GitHub token is configured, the tool can still submit through the user's authenticated `gh` CLI.
## Diagnostic Sources
Use these in order:
1. Live source and docs — the working-directory checkout, or a version-matched clone under `~/.hope-agent/source-cache/` (see self-study to bootstrap one).
2. Local runtime data under `~/.hope-agent/`: start with `logs.db` and `sessions.db`, then the subsystem-specific store — `memory.db`, `knowledge/index.db`, `cron.db`, `background_jobs.db`, `local_model_jobs.db`, `recap/recap.db`, `canvas/canvas.db` — and non-DB state like `crash_journal.json` / `config.json`.
3. Settings via `get_settings`.
4. Host/runtime dependency reports: prefer the owner-visible **Settings → About → Toolchain Doctor** report, or run `hope-agent doctor --json` through `exec` when the installed binary supports it. Treat its stable diagnostic codes as read-only evidence; never turn diagnosis into an installer, service start, Docker context switch, daemon mutation, or system upgrade.
5. Bundled references in this skill:
- `references/diagnostic-playbook.md`
- `references/issue-template.md`
For SQLite diagnostics, follow the read-only rules from `ha-logs`: use `sqlite3 -readonly` or Python URI `mode=ro`; only run `SELECT` / `.schema` /Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit f504472
git clone --depth 1 --branch v<version> \
git clone https://github.com/shiwenwen/hope-agent git -C hope-agent checkout f50447283b3f
Commands as the repository documents them: shown, never run by us. Our verdict covers commit f50447283b3f only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Codex | Mentioned in its text, not tested | Skills for Codex · About Codex |
| OpenClaw | Mentioned in its text, not tested | Skills for OpenClaw · About OpenClaw |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
f50447283b3f
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/shiwenwen/ha-self-diagnosis/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
shiwenwen/hope-agent
🦭 A cross-device desktop AI agent with memory, autonomous goals, dynamic workflows, and headless deployment | 会记忆、能持续推进目标、会动态编排多 Agent 的跨端桌面 AI 助手,也可服务化常驻 NAS / 云端
shiwenwen/hope-agent
Use when the user asks to draft, polish, translate, or reply to an email. Produces a clean draft with subject line, greeting, body, and sign-off, plus a pre-send self-check.
shiwenwen/hope-agent
Use when the user mentions 飞书 / Feishu / Lark workspace operations: docx (云文档) read/write, bitable (多维表格) records / views / dashboards, drive (云盘) upload/download, wiki (知识库) link resolution, approval (审批) instance…
shiwenwen/hope-agent
Hope Agent browser automation — the standard `status → tabs → snapshot → act` loop, stale-ref recovery rules, and what to do when login / 2FA / captcha / camera-prompt / dialog blocks progress. Load this skill whenever…
shiwenwen/hope-agent
Find and recommend third-party skills when the user asks for a capability missing from the active catalog, such as 'find a skill for X' or 'is there a skill that does X'. Check existing skills first. Hand a selected…
shiwenwen/hope-agent
Self-service diagnostics — query Hope Agent's local SQLite databases (logs / sessions / background jobs) directly via the `exec` tool to investigate problems, analyze usage, and locate root causes. Trigger on: user…
Add this badge to your README
[](https://modelsatlas.com/skills/shiwenwen/ha-self-diagnosis/)
<a href="https://modelsatlas.com/skills/shiwenwen/ha-self-diagnosis/"><img src="https://modelsatlas.com/skills/shiwenwen/ha-self-diagnosis/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Ha Self Diagnosis
What does the Ha Self Diagnosis skill do?
Is Ha Self Diagnosis safe to install?
What can Ha Self Diagnosis access on my machine?
Which assistants does Ha Self Diagnosis work with?
How current is this page?
Sources
- github.com/shiwenwen/hope-agent/tree/main/skills/ha-self-diagnos — the audited source at commit f50447283b3f and every finding aboveObserved · 12 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Ha Self Diagnosis skill do?
- Is Ha Self Diagnosis safe to install?
- What can Ha Self Diagnosis access on my machine?