03 Knowledge Tools Runtime And Skills

Knowledge, Tools, Runtime, And Skills

Kloker works best when its knowledge, tools, runtime settings, and skills are explicit and scoped.

Knowledge

Knowledge describes what Kloker can use as context:

  • Integration Context Graph.
  • Git repositories and generated documentation.
  • Systems and solutions.
  • Data models.
  • The change request it works on, with its comments, questions and implementation issues.
  • The pipelines and job logs of the merge requests it repairs.
  • Prompt templates and skill documents.

Knowledge should be filtered by tenant, domain, role, and task scope.

Tools

Tools are capabilities Kloker can invoke, such as searching context, drafting documentation, reading allowed repository files, or reporting worker progress. Tool access should be explicit and audited.

A tool should not expose secrets or bypass server-side authorization.

Runtime

Runtime settings determine where and how agent work runs. A task has a deterministic workspace and branch, an allowed scope, and a status it can be resumed from.

A task is tied to its change request and solution, and a bead's implementation also to its issue, repository and branch.

Skills

Skills encode specialized procedures and domain knowledge. A skill should help Kloker perform a bounded task consistently, such as reviewing a data model, generating route documentation, or investigating failed context ingest.

In klok.dev

Two Kloker tabs in klok.dev show what this page describes:

  • Kloker → Skills shows what Kloker may do: every task type with its human gate, what it writes, and the minimum role it needs.
  • Kloker → Knowledge shows what agents know about the tenant: the skills generated for every documented repository, read from the tenant's dependency catalog in GitLab.

Scope Rules

  • Keep tenant, domain, and environment scope in all queries and mutations.
  • Store only references to secrets, never secret values.
  • Keep large outputs as artifact references where possible.
  • Require human acceptance for drafts that mutate systems, data models, projects, or production state.