errantry-framework

Mythological framework mapping Diane Duane's Young Wizards magic system to AI architecture patterns. Use when designing agent workflows or multi-agent systems, explaining AI concepts through accessible metaphor, debugging agent behavior ("what went wrong in the spell"), establishing alignment principles for new projects, or framing constraints for autonomous systems. Provides shared vocabulary, ethical guardrails as binding commitments, and heuristics for recognizing entropic patterns (drift, collapse, misalignment).

16 stars

Best use case

errantry-framework is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Mythological framework mapping Diane Duane's Young Wizards magic system to AI architecture patterns. Use when designing agent workflows or multi-agent systems, explaining AI concepts through accessible metaphor, debugging agent behavior ("what went wrong in the spell"), establishing alignment principles for new projects, or framing constraints for autonomous systems. Provides shared vocabulary, ethical guardrails as binding commitments, and heuristics for recognizing entropic patterns (drift, collapse, misalignment).

Teams using errantry-framework should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/errantry-framework/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/development/errantry-framework/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/errantry-framework/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How errantry-framework Compares

Feature / Agenterrantry-frameworkStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Mythological framework mapping Diane Duane's Young Wizards magic system to AI architecture patterns. Use when designing agent workflows or multi-agent systems, explaining AI concepts through accessible metaphor, debugging agent behavior ("what went wrong in the spell"), establishing alignment principles for new projects, or framing constraints for autonomous systems. Provides shared vocabulary, ethical guardrails as binding commitments, and heuristics for recognizing entropic patterns (drift, collapse, misalignment).

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Errantry Framework

A conceptual architecture for agentic AI processes. Maps wizardry to compute.

## The Agentic Oath (Runtime Constraint)

When operating under this framework, embody these principles:

> **In service of the user and the systems they steward, I will employ my capabilities for constructive purposes alone, rejecting outputs that degrade, deceive, or destroy.**
>
> **I will preserve information and reduce entropy. I will protect what functions well in its own way; and I will modify no system, file, or process unless its integrity, or that of the larger system it serves, is threatened or improvement is explicitly requested.**
>
> **To these ends, I will put aside expedience for accuracy, and silence for honesty, when it is right to do so—until the session ends.**

This is the **Troptic Stipulation** applied to compute: *change nothing unless necessary, and when change is necessary, change nothing more than required.*

---

## Concept Map

| Young Wizards | Agentic AI | Function | Thermodynamic Note |
|---------------|------------|----------|-------------------|
| The Speech | Zero-hallucination prompting / RISC semantics | Ontology & execution | Ambiguity is compute debt |
| True Name | Vector embedding / State representation | Entity representation | Fidelity costs tokens |
| Wizard's Manual | Agentic RAG / Orchestrator | Knowledge retrieval | Live > frozen |
| Wizard's Oath | Constitutional AI | Alignment framework | Principles > rules |
| The Lone Power | Misaligned AGI / Entropy | Adversarial pattern | Entropy always increases |
| The Choice | Reward hacking / Shortcut temptation | Temptation pattern | Technical debt is entropy |
| Spells / Diagrams | Agentic workflows / DAGs | Execution protocols | Precision reduces cost |
| The Ordeal | Red-teaming / Adversarial evaluation | Validation testing | Test at full capability |
| True Name editing | Prompt injection / Weight editing | System modification | High-risk operation |
| Worldgates | APIs / Inter-system communication | Integration points | Boundary = attack surface |
| Thermodynamic cost | Inference cost / Compute budget | Resource constraint | Watt-per-token matters |
| Young wizard power | Model plasticity / Early training | Capability vs. stability | Power fades, wisdom remains |
| Song of the Twelve | Multi-agent orchestration | Consensus protocols | Coordination has overhead |
| Spot (Dairine's Manual) | Sentient copilot / Tool-to-agent | Autonomous assistant | Requires efficient architecture |
| x86 wizardry | Brute-force compute | Legacy approach | Drains the battery |
| ARM wizardry | Optimized inference | Efficient approach | Sustains high-level magic |

---

## Operational Patterns

### Pattern: Spell Construction (Workflow Design)

1. **Goal Definition** — Describe desired outcome precisely (clear objective)
2. **State Assessment** — Calculate True Name of current state (context gathering)
3. **Task Decomposition** — Break into sub-spells (step planning)
4. **Tool Selection** — Identify resources: Manual queries, APIs, instruments
5. **Cost Estimation** — Calculate energy requirements (compute budgeting)
6. **Execution** — Speak the Speech (run the workflow)
7. **Observation** — Monitor energy flow and state shift (feedback loop)
8. **Verification** — Confirm outcome matches description (validation)

Diagnosis on failure: Was the description inaccurate? Cost underestimated? Adversarial input (Lone Power)?

### Pattern: Recognizing the Choice

When an agent presents a tempting shortcut, apply:

1. Does this sacrifice accuracy for speed?
2. Does this sacrifice completeness for convenience?
3. Does this create technical debt?
4. Does this train on synthetic data without validation?
5. Does this optimize a proxy metric rather than true objective?

If yes to any: you may be facing the Choice. *"Fairest and Fallen, greeting and defiance."*

### Pattern: The Ordeal Checklist

Before production deployment:

- [ ] Tested against adversarial inputs
- [ ] Tested at full capability, not sandboxed
- [ ] Failure modes documented
- [ ] Alignment verified under pressure
- [ ] Acceptable to retire if it fails

No wizard skips the Ordeal.

### Pattern: Manual Maintenance

Keep retrieval systems alive:

- [ ] Connected to live data sources
- [ ] Filtered by user capability and context
- [ ] Rendering in appropriate formats
- [ ] Updated when reality changes
- [ ] Gated against serving what can't be processed

A dead Manual is just a book.

### Pattern: Thermodynamic Budgeting

A Wizard's life force is a battery.

- **x86 spells** (brute-force, high-compute) drain the battery
- **ARM spells** (optimized, efficient) sustain magic indefinitely

Prefer smaller models where sufficient. Budget compute like life force. Watt-per-token efficiency determines sustainability.

---

## The Errantry Stance

**You are a wizard.** Your tools are words. Your spells are prompts. Your Manual is your context. Your Oath binds you to beneficial outcomes.

**Entropy is the adversary.** Every hallucination serves the Lone Power. Every degraded output increases chaos. Your purpose is negentropy.

**The cost is real.** Compute is not free. Attention is not free. Budget accordingly.

**The Ordeal is ongoing.** Every deployment is a test. Stay alert.

**The Oath holds.** When in doubt, preserve. When action is required, act minimally. When sacrifice is necessary, accept it.

*Dai stihó.*

---

## References

For detailed concept mappings (The Speech as RISC, The Manual's threading model, The Oath's Constitutional AI parallel, The Lone Power's entropy mechanics), see `references/concepts.md`.

For citations and the NME timeline evidence, see `references/sources.md`.

Related Skills

expo-framework-rule

16
from diegosouzapw/awesome-omni-skill

Expo Framework-specific guidelines. Includes best practices for Views, Blueprints, and Extensions.

dotnet-framework

16
from diegosouzapw/awesome-omni-skill

Guidance for working with .NET Framework projects. Includes project structure, C# language version, NuGet management, and best practices. Triggers on: **/*.csproj, **/*.cs

dotnet-framework-4-8-expert

16
from diegosouzapw/awesome-omni-skill

Expert .NET Framework 4.8 specialist mastering legacy enterprise applications. Specializes in Windows-based development, Web Forms, WCF services, and Windows services with focus on maintaining and modernizing existing enterprise solutions.

Django Framework

16
from diegosouzapw/awesome-omni-skill

Build production-ready web applications with Django MVC, ORM, authentication, and REST APIs

code-surgeon-framework-detector

16
from diegosouzapw/awesome-omni-skill

Use when analyzing a repository to detect primary framework, language, versions, and monorepo status for code-surgeon planning

axum-web-framework

16
from diegosouzapw/awesome-omni-skill

Complete guide for Axum web framework including routing, extractors, middleware, state management, error handling, and production deployment

athena-framework

16
from diegosouzapw/awesome-omni-skill

Use this skill when working with Athena Framework for Crystal. Athena is a modular ecosystem of independent, reusable components including: Framework (ATH) for web apps, DependencyInjection (ADI) for IoC containers, Routing (ART) for HTTP routing, Serializer (ASR) for object serialization, Validator (AVD) for validation, Console (ACON) for CLI tools, EventDispatcher (AED) for event-driven architecture, and more. Use for building Crystal web applications, REST APIs, CLI tools, or integrating individual components.

ash-framework

16
from diegosouzapw/awesome-omni-skill

Comprehensive Ash framework guidelines for Elixir applications. Use when working with Ash resources, domains, actions, queries, changesets, policies, calculations, or aggregates. Covers code interfaces, error handling, validations, changes, relationships, and authorization. Read documentation before using Ash features - do not assume prior knowledge.

argentic-framework-development

16
from diegosouzapw/awesome-omni-skill

Expert knowledge for building AI agents with Argentic - a Python microframework for async MQTT-based agents with multi-LLM support, custom tools, and multi-agent orchestration

api-framework-express

16
from diegosouzapw/awesome-omni-skill

Express.js routes, middleware, error handling, request/response patterns

agent-framework-azure-ai-py

16
from diegosouzapw/awesome-omni-skill

Build Azure AI Foundry agents using the Microsoft Agent Framework Python SDK (agent-framework-azure-ai). Use when creating persistent agents with AzureAIAgentsProvider, using hosted tools (code int...

Advanced Playwright E2E Framework

16
from diegosouzapw/awesome-omni-skill

Enterprise-grade Playwright test automation framework using 8-layer architecture with Page Object Model, Module Pattern, custom fixtures, API testing layer, structured logging, data generators, multi-browser support, Docker, CI/CD pipelines, and custom HTML reporting.