mykg — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited mykg (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
An LLM-maintained personal knowledge base. The LLM incrementally builds and maintains a structured wiki of markdown files — reading sources, extracting knowledge, updating pages, and keeping everything connected.
# From kgskills repo
cp -r templates/kg-init/* ~/MyKG
# Or use /kg-init command# Option A: Environment variable (add to ~/.bashrc or ~/.zshrc)
export MYKG_PATH="$HOME/MyKG"
# Option B: Config file
mkdir -p ~/.config/mykg
echo "/path/to/your/kg" > ~/.config/mykg/configPoint your Obsidian vault at the MYKG_PATH for graph view, backlinks, and browsing.
These companion skills from kepano/obsidian-skills enhance mykg when installed.
| Skill | When to use |
|---|---|
obsidian-markdown | Use when creating or editing wiki pages — ensures correct wikilink syntax ([[Page]]), frontmatter, callouts, and embeds |
obsidian-cli | Use when the KG lives in an Obsidian vault — open pages, search vault content, navigate notes directly |
defuddle | Use instead of WebFetch when ingesting a URL — strips nav/clutter and returns clean markdown, saving tokens |
If these skills are loaded, prefer them over raw file edits or WebFetch for the relevant operations.
The skill resolves the KG path in this order:
MYKG_PATH environment variable~/.config/mykg/config file~/.mykgrc file~/MyKG, ~/Dev/Obsidian/MyKG┌─────────────────────────────────────────────┐
│ Raw Sources (immutable) │
│ Papers, articles, transcripts, notes, URLs │
└──────────────────────┬──────────────────────┘
│ ingest
▼
┌─────────────────────────────────────────────┐
│ Wiki (LLM-maintained) │
│ Summaries, entity pages, concepts, │
│ synthesis, cross-references │
└──────────────────────┬──────────────────────┘
│ query
▼
┌─────────────────────────────────────────────┐
│ Schema (configuration) │
│ AGENTS.md — tells the LLM how to maintain │
└─────────────────────────────────────────────┘raw/)Immutable source documents. The LLM reads from them but never modifies them. This is the source of truth.
wiki/)LLM-generated markdown files. Summaries, entity pages, concept pages, comparisons, synthesis. The LLM owns this layer — it creates pages, updates them, maintains cross-references, and keeps everything consistent. You read it; the LLM writes it.
AGENTS.md)Tells the LLM how the wiki is structured, what conventions to follow, and what workflows to use. Co-evolve this over time.
MyKG/
├── index.md ← Catalog of all pages. START HERE.
├── log.md ← Chronological change history.
├── AGENTS.md ← Schema: structure, conventions, workflows.
├── Active.md ← Current focus items and priorities.
├── raw/ ← Source documents (immutable).
│ ├── articles/
│ ├── papers/
│ ├── transcripts/
│ └── notes/
├── wiki/ ← LLM-generated wiki pages.
│ ├── entities/ ← Pages for specific entities (people, orgs, tools).
│ ├── concepts/ ← Pages for ideas, topics, themes.
│ ├── synthesis/ ← High-level summaries and overviews.
│ └── comparisons/ ← Side-by-side analyses.
└── <Project>/ ← One subdirectory per project.
├── SKILL.md ← Project-specific skill (optional).
├── AGENTS.md ← Project-specific schema (optional).
├── raw/ ← Project sources.
└── wiki/ ← Project wiki pages.Read a source, extract knowledge, integrate into the wiki:
wiki/wiki/entities/wiki/concepts/index.md with new pageslog.mdA single source might touch 10-15 wiki pages. The knowledge compounds.
Search the wiki, synthesize an answer with citations:
index.md to find relevant pagesPeriodically health-check the wiki:
<Project>/SKILL.md)When working on a project, both skills are available:
Universal SKILL (always loaded)
↓
Project SKILL (loaded when working on that project)
↓
Wiki Content (entities, concepts, synthesis)Use when:
Don't use for:
raw/ (or provide URL/file)index.mdlog.mdindex.md to find relevant pages[[Page Name]])cp -r project-templates/init "$KG_PATH/ProjectName"<Project>/SKILL.md with domain-specific instructions<Project>/AGENTS.md with project schemaindex.mdlog.md| Type | Location | Content |
|---|---|---|
| Entity | wiki/entities/ | People, organizations, tools, places |
| Concept | wiki/concepts/ | Ideas, topics, themes, frameworks |
| Synthesis | wiki/synthesis/ | High-level summaries, overviews |
| Comparison | wiki/comparisons/ | Side-by-side analyses, trade-offs |
| Source Summary | wiki/ | Summary of a single source |
[[Page Name]] - internal link[[Page Name#Section]] - deep link[[Page Name|Display Text]] - alias[[Project/wiki/Page]] - cross-project link---
tags:
- category
- subcategory
created: YYYY-MM-DD
updated: YYYY-MM-DD
sources:
- raw/article-name.md
related:
- [[Related Page]]
---entity-name.mddraft - Work in progressin-progress - Actively being updatedcomplete - Finished| File | Purpose |
|---|---|
index.md | Catalog of all pages - READ FIRST |
log.md | Chronological change history |
Active.md | Current focus items and priorities |
AGENTS.md | Full schema and conventions |
raw/ | Immutable source documents |
wiki/ | LLM-generated knowledge pages |
index.md is content-oriented. Catalog of everything with links and one-line summaries. Organized by category. The LLM reads it first to find relevant pages.
## Entities
| Page | Summary | Sources |
|------|---------|---------|
| [[entities/some-person]] | Researcher specializing in X | 3 |
## Concepts
| Page | Summary | Sources |
|------|---------|---------|
| [[concept/topic]] | Overview of topic Y | 5 |log.md is chronological. Append-only record of what happened. Consistent prefixes make it parseable:
## [2026-04-07] ingest | Article Title
- Added entity pages: X, Y
- Updated concept: Z
- New contradiction noted: A vs B
## [2026-04-06] query | What is X?
- Answer filed as [[concepts/X explained]]Parse with: grep "^## \[" log.md | tail -5
Projects can reference each other:
Related: [[OtherProject/wiki/concepts/Topic]]
Contradicts: [[OtherProject/wiki/entities/Entity]]After each session:
log.md with changesindex.md for new pagesActive.md if priorities changedPeriodically:
/kg-lint to find orphans and contradictions~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.