Skip to content

About

The file format of kdraigo research labs: Markdown with YAML frontmatter and [[wikilinks]] that Obsidian opens as-is. A small Go package to parse, link and render lab files.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

workspaces_knowledge

The file format of a kdraigo research lab: markdown with YAML frontmatter and [[wikilinks]], the shape Obsidian reads.

The platform keeps a lab's brief, notes, experiments, handoffs and lessons in this form. The kdraigo MCP writes a lab to a folder and reads it back, so a lab opens in Obsidian (or any editor) with its links and graph, and a local AI agent such as Claude Code works on the same knowledge as the one on claude.ai.

import knowledge "github.com/kdraigo/workspaces_knowledge"

doc, err := knowledge.Parse(file)        // frontmatter + body
links := knowledge.Links(doc.Body)       // [[Target#Heading|alias]], code skipped
key := knowledge.Slug("Funding drag")    // "funding-drag": the platform's id and link key
file := knowledge.FileName("RSI 14 / 30") // "RSI 14 30": the file Obsidian links [[…]] to
out, err := doc.Render()                 // keys sorted, body untouched
Kind What it is
brief the lab's one page: goal, constraints, best so far, dead ends, next steps
note an insight, concept, decision or source
experiment a hypothesis, its protocol and its verdict
handoff where an AI session stopped, and what comes next
lesson true across every lab of the user

Go 1.25.9. One dependency: go.yaml.in/yaml/v3.

About

The file format of kdraigo research labs: Markdown with YAML frontmatter and [[wikilinks]] that Obsidian opens as-is. A small Go package to parse, link and render lab files.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages