knowledge-base
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.
How do I install this agent skill?
npx skills add https://github.com/commontoolsinc/labs --skill knowledge-baseIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides a hierarchy for an AI agent to resolve information conflicts between documentation, code, and specifications. It contains no executable code, network requests, or sensitive data access.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerwarn
1/1 file flagged
- ZeroLeakswarn
1 finding · Score: 69/100
What does this agent skill do?
Knowledge Base Foundation
Before You Start
Read these docs to orient yourself:
docs/common/concepts/glossary.md- Terminology (Cell, Piece, Space, Spell, etc.)docs/specs/pattern-construction/overview.md- Authoritative system designAGENTS.md- Documentation reading list and codebase guidelines
Source Hierarchy
When sources conflict, this is the authoritative order:
1. Specs (Highest Authority)
docs/specs/ - Technical specifications with unambiguous intent
When specs contradict other docs, specs win.
2. Working Code
Tests and patterns that demonstrate actual behavior:
packages/patterns/- Pattern examples showing what works**/test/**- Test files proving expected behavior
These show reality, not aspirations.
3. Runtime Code
Core system implementation:
packages/runner/- Execution enginepackages/runner/src/builder/- Compilationpackages/memory/- Storage layer
Code is always right about what it does.
4. Plain Text Docs (Lowest Authority)
docs/common/ - Guides, tutorials, learning materials
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
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/commontoolsinc/labs/knowledge-base">View knowledge-base on skillZs</a>