The Protocol
CKF is a portable, textual, extensible knowledge representation protocol. It is human-auditable, AI-optimized and source-traceable.
Design Principles
File Extension
The canonical extension is .ckf. Recommended encodings: .ckf.md (Markdown), .ckf.yaml (YAML), .ckf.json (JSON).
Core Objects
- — Package Metadata
- — Knowledge Nodes
- — Relations
- — Rules
- — Procedures
- — Triggers
- — Chunks
- — Atomic Units
- — Agent Instructions
- — Source Traceability
Anatomy of a .ckf package
Every .ckf package is a structured collection of cognitive blocks: a metadata header (identity, version, source, language and quality scores) plus 22 typed sections numbered below. Each section is independently useful and can be consumed by retrieval systems, agents, knowledge graphs or fine-tuning pipelines.
Core Intent
The primary purpose, intended user, intended agent use and transformation goal of the source.
Domain Map
Main domain, subdomains, adjacent domains and explicitly excluded domains.
Entity Graph
People, roles, tools, concepts, metrics, states and objects extracted from the source.
Concept Graph
Key ideas as connected semantic nodes with dependencies, contradictions and supporting relationships.
Principles
Foundational statements with conditions of application and rationale.
Heuristics
Tacit expertise turned into practical rules of thumb for agent reasoning.
Decision Rules
Conditional decisions with required context, output actions and failure modes.
Procedures
Step-by-step processes with inputs, outputs, success and failure criteria.
Patterns
Recurring situations, signals, mechanisms and response strategies.
Anti-patterns
Failure modes with warning signals and replacement behavior.
Causal Chains
Cause, mechanism, effect, secondary effects and intervention points.
Contextual Triggers
When-then activations: signals that should make agents recall specific knowledge.
IF-THEN Rules
Compact conditional logic with rationale and confidence.
Exceptions
Edge cases that override general rules with modified actions and explanations.
Mental Models
Reusable frames of reasoning, with usage and non-usage conditions.
Operational Playbooks
End-to-end agent runbooks: objective, steps, tone, tools and failure modes.
Agent Q&A
Reference question/answer pairs for evaluation, tutoring and onboarding.
Retrieval Chunks
Standalone, dense, context-rich units optimized for semantic search.
Atomic Units
One-idea statements suitable for embeddings, evaluation and memory systems.
Agent Instructions
Behavior, reasoning, response, forbidden actions and tool guidance.
Knowledge Limits
Missing context, weakly supported claims, biases and items needing human review.
Source Traceability
Links every generated item back to its original source location and excerpt.
Detailed per-section technical reference: /docs/schema.
Source Basis Labels
Every extracted item must be marked with one of the following labels.
Directly stated in the source.
Reasonably inferred from source content.
Created by combining multiple source fragments.
Represents the source author's subjective claim.
Weakly supported or ambiguous.
Implicit prose vs labeled claims
Source basis labels exist so every claim carries its own evidence type. Compare a human paragraph (sources implied) with a .ckf fragment (sources tagged).
Good for humans
According to the internal manual, refunds above $500 generally require manager approval. The team also believes that responding within 2 hours improves retention, though this hasn't been formally measured. Some agents add that loyal customers tend to forgive delays — anecdotally.
.ckf · Labeled and traceable
claim: refunds > 500 require manager approvalsource_basis: explicitconfidence: 0.96source: internal_manual#sec-4.2claim: response under 2h improves retentionsource_basis: inferredconfidence: 0.55claim: loyal customers forgive delayssource_basis: author_opinionconfidence: 0.40claim: response time correlates with NPSsource_basis: synthesizedconfidence: 0.62claim: agents share this folkloresource_basis: uncertainconfidence: 0.30
Confidence Scores
Use a 0.00–1.00 scale.
CKF v1.0 for this page has not been compiled yet. Downloads become available once an admin runs the compiler.