Agents
Beyond the MCP server, LOKF bundles a set of agent skills —
self-contained instructions that teach a coding agent (Claude Code and
compatible harnesses) how to work with LOKF bundles. They ship inside the
lokf package, so uv pip install lokf puts them one command away.
Listing and installing
Section titled “Listing and installing”lokf skills list # name + one-line summary for each bundled skilllokf skills path # print the directory the skills live inlokf skills install # copy them into .claude/skills (or --dest DIR)lokf skills install copies the skill folders into your project’s
.claude/skills/ (override the target with --dest), where a coding agent
picks them up automatically.
The bundled skills
Section titled “The bundled skills”LOKF ships five skills. Each is a SKILL.md of instructions that drive the
real lokf CLI — one for the whole workflow, four for the individual phases:
| Skill | What it does |
|---|---|
| build-knowledge-base | Stand up a bundle end-to-end — create the index, author concepts, enrich relations, validate, and query. The starting point for a new knowledge base. |
| author-concept | Scaffold a new concept with the right type, frontmatter, and body, then inspect its RDF. For adding a metric, dataset, table, glossary term, service, or playbook. |
| enrich-relations | Turn plain markdown links into typed RDF relations with lokf propose, review the suggestions, then apply the good ones. |
| query-knowledge-base | Answer a question by writing SPARQL and running lokf query — look up concepts, counts, or provenance chains instead of reading files by hand. |
| publish-graph | Serve a bundle with lokf serve for a SPARQL endpoint and live graph explorer, and drive /sparql programmatically. |
Run lokf skills list for the exact names and summaries as shipped in your
installed version.
Installing the toolkit
Section titled “Installing the toolkit”The skills, the lokf CLI, and the lokf-mcp server all come from the same
package. Install it however you manage Python:
uv pip install lokfpip install lokfThat gives you:
- the
lokfCLI (convert,query,serve,propose,vocab,skills,mcp), - the
lokf-mcpstdio server for MCP clients, and - the bundled skills, reachable via
lokf skills.
The core install is lean — typer, rdflib, pyoxigraph, and mcp. Only
regenerating the LinkML-derived artifacts needs the heavier linkml
dependency, which lives behind the lokf[build] extra (uv pip install 'lokf[build]'). See Getting started for the
from-source setup.