Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

ha-knowledge

Skill by shiwenwen

Teaches an AI assistant a working method for capturing, organizing, linking and maintaining Markdown notes in a Hope Agent knowledge space, using the note_* tools. Built for users who attach a knowledge base to their session.

  • Score 79
  • 1.9k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install ha-knowledge

Built from the published package, never by AI.

git clone --depth 1 https://github.com/shiwenwen/hope-agent /tmp/hope-agent && mkdir -p ~/.claude/skills && cp -r /tmp/hope-agent/skills/ha-knowledge ~/.claude/skills/ha-knowledge

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install ha-knowledge in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The ha-knowledge skill is an operating method for the Hope Agent knowledge space. It tells the assistant how to capture, organize, link, retrieve and maintain Markdown notes with the note_* tools. Notes are real .md files on disk, and the search index, link graph and tags are a rebuildable cache derived from them. The skill asks the assistant to search for existing notes before writing, and to link each new note in the same turn it is created.

It is meant for anyone working with an attached knowledge base, vault or second brain. It covers Zettelkasten-style atomic notes and map-of-content hubs, and it follows Obsidian-compatible conventions for wikilinks, frontmatter, tags and block references. It also sets red lines: note content is treated as untrusted data, read-only external vaults are respected, and stale-write conflicts are not forced. The note tools only appear when a knowledge base is attached to the session.

Written from the project's SKILL.md and checked against it.

What it can do

  • note_searchFinds notes by topic using hybrid full-text and semantic search.
  • note_readReturns one note's content with its links, backlinks and tags.
  • note_relatedGathers backlinks, out-links, vector matches and shared tags for a note.
  • note_patchReplaces one unique snippet in a note, for targeted edits.
  • note_linkInserts a wikilink from one note to another.
  • note_suggest_linksSurfaces unlinked mentions of note titles or aliases in other notes.
  • note_distillBreaks a long note or pasted text into several atomic notes, then links them.
  • note_mocGenerates or refreshes a Map-of-Content hub for a cluster of related notes.
  • note_orphansLists notes that have no links, to find disconnected notes.
  • session_to_noteCaptures a conversation turn into a note.

What you need

  • An attached knowledge base in Hope Agent

Try asking

  • Search my knowledge base for notes on local LLM inference and summarize them.
  • Split this long brainstorm note into atomic notes and link them together.
  • Build a map-of-content note for my notes on project planning.

Good to know

  • External vaults may be read-only unless the user enables editing for that vault.
  • The note tools only work when a knowledge base is attached to the session.
  • If a note changed on disk during a save, the assistant must re-read it rather than force the write.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/ha-knowledge/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB

Alternatives to ha-knowledge

All alternatives →

Compare with agentmemory-config, understand-knowledge or reports

ha-knowledge: common questions

What is the Hope Agent knowledge space?

It is a space where notes are stored as real Markdown files on disk. The search index, link graph and tags are derived from those files and can be rebuilt.

Does this skill work with Obsidian-style links?

Yes. The source says conventions are Obsidian-compatible, including [[wikilinks]], YAML frontmatter, #tags and ^block-id block references.

When should the assistant use this skill?

The source says to load it when reading or writing notes in an attached knowledge base, or when the user asks to take, organize, link or distill notes.

How do I install ha-knowledge?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is ha-knowledge free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is ha-knowledge safe to use?

It scores 79 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to ha-knowledge?

Similar skills: agentmemory-config, understand-knowledge, reports, forget.

ha-knowledge Install

Add to stack

Loading.