Skill / SKILL.md

Homoiconic Meta Schema

AnthonyAlcaraz/agentic-graph-rag-skills

Homoiconic knowledge representation (Ch3) — code and data share the same representation so an agent can inspect and modify its own knowledge structures with the same machinery it uses for regular data. Two constructs: (1) meta- knowledge structures (Example 3-6) — validate an entity-type against the metaschema AND a data instance against its entity-type using the SAME validator at both levels; (2) executable knowledge patterns (Example 3-7) — parse, validate, and evaluate Rule entities with a tiered WHEN/THEN/ELSE action against facts. Use when building self-evolving agents that reason about / modify their own schema, when storing business rules as queryable graph data instead of hidden application code, or when validating agent-proposed schema extensions. NOT for static schemas that never change (a plain class/struct is simpler), NOT for executing arbitrary code (this evaluates a constrained tiered-rule grammar, not a general interpreter), NOT for the schema PATTERN choice (use schema-pattern-selector).
2 views 30 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Homoiconic knowledge representation (Ch3) — code and data share the same representation so an agent can inspect and modify its own knowledge structures with the same machinery it uses for regular data. Two constructs: (1) meta- knowledge structures (Example 3-6) — validate an entity-type against the metaschema AND a data instance against its entity-type using the SAME validator at both levels; (2) executable knowledge patterns (Example 3-7) — parse, validate, and evaluate Rule entities with a tiered WHEN/THEN/ELSE action against facts. Use when building self-evolving agents that reason about / modify their own schema, when storing business rules as queryable graph data instead of hidden application code, or when validating agent-proposed schema extensions. NOT for static schemas that never change (a plain class/struct is simpler), NOT for executing arbitrary code (this evaluates a constrained tiered-rule grammar, not a general interpreter), NOT for the schema PATTERN choice (use schema-pattern-selector).

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/AnthonyAlcaraz/agentic-graph-rag-skills' skill-source

Use the complete skill-source/skills/knowledge-representation/homoiconic-meta-schema directory with your client’s skill installer.

  • skills/knowledge-representation/homoiconic-meta-schema

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/knowledge-representation/homoiconic-meta-schema

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
4195b0c6d8b985e7f848946960a90f283b42202b7b5a96d7eec92223cd1c2a12
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills