knowledge repo ingest
Hermes Workflow: knowledge-repo-ingest
Trigger examples:
- "지식에 쌓아줘"
- "이거 지식에 쌓아줘"
- "이 대화 PKM에 반영해줘"
- "이 유튜브 분석해서 지식저장소에 넣어줘"
- "방금 나온 인사이트 저장해줘"
- "knowledge repo 업데이트해줘"
- "agent-knowledge-base에 저장해줘"
Repo Wrapper
- Canonical repo:
https://github.com/malda231125/agent-knowledge-base - Default local path:
/opt/data/agent-knowledge-base - The Astro/Cloudflare Pages wrapper is a read layer over the Markdown graph. The Markdown folders and
AGENTS.mdremain the source of truth.
Workflow
- Locate or clone the repo wrapper. If
/opt/data/agent-knowledge-baseis missing and GitHub auth is available, clone the canonical repo. - Read
README.mdfor the human-facing architecture and wrapper conventions. - Read
AGENTS.md. Treat it as the source of truth for folder semantics and data-loading rules. - Read the relevant schema in
60-schemas/before creating a new note type. - Identify the input type: source, conversation, insight, decision, map, or project context.
- Route the input through the repository's data-loading contract:
- external source / YouTube / article / paper / meeting / chat -> primary artifact in
10-sources/ - reusable non-obvious takeaway ->
20-insights/ - durable term/framework/model ->
30-concepts/ - durable user/team choice ->
50-decisions/ - topic navigation / MOC ->
40-maps/ - unclassified raw material only temporarily ->
00-inbox/
- external source / YouTube / article / paper / meeting / chat -> primary artifact in
- Search existing concept notes and aliases before creating new concepts.
- Create/update the knowledge graph, not just one file:
source -> claims -> concepts/insights/decisions/maps. - Preserve Obsidian wikilinks and YAML frontmatter.
- Run a lightweight consistency check:
- required frontmatter exists
- no obvious duplicate concept titles
- durable claims cite sources
- raw source, interpretation, and decisions are separated
- folder choice matches the data-loading contract
- Show git diff to the user when interactive.
- Commit with a clear prefix when approved or when explicitly asked to commit.
Default Commit Prefixes
source: add ...insight: add ...concept: update ...decision: record ...map: update ...