Clarity Framework

platform clarity framework open-source

An agentic intelligence framework for technical engagements. Gives any engineer full project context on day one and grows smarter throughout the engagement.

What It Is

Clarity is based on Andrej Karpathy’s LLM Wiki pattern, extended with structured operational data and behavioral memory. It’s the foundation of everything SpotCircuit builds.

Three Knowledge Systems

SystemPurposeFormat
expertise.yamlOperational data (project state, API gotchas, results)Structured YAML
.claude/memory/Behavioral rules (user preferences, guardrails)Markdown + frontmatter
wiki/Synthesized knowledge (patterns, decisions, concepts)Obsidian markdown + links

The Self-Learn Loop

  1. Every /se:* command appends raw observations to unvalidated_observations:
  2. /se:self-improve validates each observation against current live state
  3. Confirmed facts get promoted into the relevant expertise section
  4. Stale observations get discarded

9 SE Commands

CommandWhat It Does
/se:createCreate a new client or app
/se:discoverPhase 0 auto-generation, seed expertise.yaml
/se:briefStandup/handoff summary
/se:self-improveValidate observations, integrate confirmed facts
/se:checkDesign guidelines compliance check
/se:wiki-ingestProcess raw/ files into wiki pages
/se:wiki-fileFile a conversation insight as a wiki page
/se:wiki-lintHealth check: orphans, broken links, stale pages
/se:meetingIngest meeting notes

Structure

clarity-framework/
  clients/        # External engagements
  apps/           # Internal tools and products
  wiki/           # Knowledge wiki (this site)
  system/         # Paperclip orchestration + agents
  scripts/        # Automation (sync, post, humanize)

Source: CLAUDE.md, README.md | Filed: 2026-04-08