mykg
Universal Knowledge Graph for accumulating and organizing knowledge from any source.
Skill by Ethics03
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ethics03-mykg
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/mykg
What's inside
- Skill name
mykg- Description
- Universal Knowledge Graph for accumulating and organizing knowledge from any source. Use when ingesting documents, answering questions, maintaining wiki pages, or working with project-specific knowledge bases.
- License
- MIT
- Instructions
- 314 lines in SKILL.md · view on GitHub
Before installing
- Instructions read files in your home folder (~/.ssh, ~/.aws…)
Agent Skills spec issues
- name: "mykg" does not match folder "kgskill"
Files (25)
- marketplace.json · .claude-plugin/
- plugin.json · .claude-plugin/
- LICENSE
- README.md
- SKILL.md
- kg-ingest.md · commands/
- kg-init.md · commands/
- kg-lint.md · commands/
- kg-project.md · commands/
- kg-query.md · commands/
- kg-setup.md · commands/
- concepts.md · docs/
- examples.md · docs/
- AGENTS.md · templates/kg-init/
- Active.md · templates/kg-init/
- index.md · templates/kg-init/
- log.md · templates/kg-init/
- .gitkeep · templates/kg-init/raw/articles/
- .gitkeep · templates/kg-init/raw/notes/
- .gitkeep · templates/kg-init/raw/papers/
- .gitkeep · templates/kg-init/raw/transcripts/
- .gitkeep · templates/kg-init/wiki/comparisons/
- .gitkeep · templates/kg-init/wiki/concepts/
- .gitkeep · templates/kg-init/wiki/entities/
- .gitkeep · templates/kg-init/wiki/synthesis/
SKILL.md (first lines)
# MyKG: Universal Knowledge Graph
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.
## Setup
### 1. Initialize
```bash
# From kgskills repo
cp -r templates/kg-init/* ~/MyKG
# Or use /kg-init command
```
### 2. Configure Path
```bash
# 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/config
```
### 3. (Optional) Use with Obsidian
Point your Obsidian vault at the `MYKG_PATH` for graph view, backlinks, and browsing.
## Optional Skill Integrations
These companion skills from [kepano/obsidian-skills](https://github.com/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.
## KG Path Resolution
The skill resolves the KG path in this order:
1. `MYKG_PATH` environment variable
2. `~/.config/mykg/config` file
3. `~/.mykgrc` file
4. Common locations: `~/MyKG`, `~/Dev/Obsidian/MyKG`
5. Ask user for location
## Three Layers
```
┌─────────────────────────────────────────────┐
│ 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 Sources (`raw/`)
Immutable source documents. The LLM reads from them but never modifies them. This is the source of truth.
### Wiki (`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.
### Schema (`AGENTS.md`)
Tells the LLM how the wiki is structured, what conventions to follow, and what workflows to use. Co-evolve this over time.
## Structure
```
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.
```
## Operations
### Ingest
Read a source, extract knowledge, integrate into the wiki:
1. Read the source document
2. Discuss key takeaways with user
3. Write a summary page in `wiki/`
4. Create/update entity pages in `wiki/entities/`
5. Create/update concept pages in `wiki/concepts/`
6. Note contradictions with existing pages
7. Update `index.md` with new pagesFrom Ethics03/kgskill, MIT.
Signals
- Stars
- 3
- Forks
- 0
- Open issues
- 0
- Last commit
- Apr 7, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Ethics03/kgskill
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Ethics03
Cite this page
mykg skill. Agent Mart. https://agentmart.dev/skills/ethics03-mykg (last updated 2026-10-24)