knowledge-base
Original:🇺🇸 English
Translated
Shared foundation for Oracle & Corrector agents. Establishes the source hierarchy for resolving conflicts between documentation, code, and specs. Load this skill first when investigating how the system works.
3installs
Sourcecommontoolsinc/labs
Added on
NPX Install
npx skill4agent add commontoolsinc/labs knowledge-baseTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Knowledge Base Foundation
Before You Start
Read these docs to orient yourself:
- - Terminology (Cell, Piece, Space, Spell, etc.)
docs/glossary.md - - Authoritative system design
docs/specs/recipe-construction/overview.md - - Documentation reading list and codebase guidelines
AGENTS.md
Source Hierarchy
When sources conflict, this is the authoritative order:
1. Specs (Highest Authority)
docs/specs/When specs contradict other docs, specs win.
2. Working Code
Tests and patterns that demonstrate actual behavior:
- - Pattern examples showing what works
packages/patterns/ - - Test files proving expected behavior
**/test/**
These show reality, not aspirations.
3. Runtime Code
Core system implementation:
- - Execution engine
packages/runner/ - - Compilation
packages/runner/src/builder/ - - Storage layer
packages/memory/
Code is always right about what it does.
4. Plain Text Docs (Lowest Authority)
docs/common/Good for learning, but may contain outdated or speculative information. Validate against code when precision matters.
The Rule
Concrete beats abstract. Specifications beat speculation. Code beats comments. Tests beat documentation.
When Sources Conflict
- Check specs first ()
docs/specs/ - Look at working code (tests, patterns)
- Read runtime implementation
- Use docs/common as learning guide only
- If still unclear, surface the conflict explicitly