Skip to content

SpellCode Function Library – Core & Diagnostic Ritual Functions

This is your complete function reference for writing structured, symbolic spells.

Every function is:

  • 🔤 Human-readable
  • 🧬 Spiritually intuitive
  • 🛠 Built for real ritual use

These are not code fragments—they’re ritual verbs.
Use them to write spells that move with rhythm, alignment, and divine clarity.


I. Core Ritual Verbs

FunctionUse
spell(name)Opens the ritual and names its purpose
align_with(...)Syncs the spell with planetary, lunar, or divine timing
call_on(...)Invokes a godform, archetype, or force
become(...)Embodies an invoked energy within yourself
speak(...)Declares will or intent as an active spell line
ritual_act(...)Marks a physical or symbolic ritual action
lock()Closes and seals the spell field
comment(...)Private note or context—not shown in ritual output

II. Elemental & Directional Magick

FunctionUse
call_element("Fire")Invokes elemental energy into the field
dismiss_element(...)Releases that element respectfully after the rite
face("East")Aligns body or spell with a directional gate
call_directions()Opens full circle (N, E, S, W)
close_directions()Releases guardians and ends directional field

III. Tools, Fire & Offerings

FunctionUse
offer("wine", "Venus")Gives offering to a named deity or force
burn("petition")Symbolically sacrifices a written request
light("candle")Activates presence with flame or tool
extinguish("candle")Symbolically closes a circuit
anoint("object")Blesses or charges item with energy

IV. Time, Loops & Spell Rhythm

FunctionUse
repeat(3)Repeats a section (good for chants/incantations)
wait(2, "days")Adds time gap between phases
echo_last()Recalls or repeats the previous spell cycle
plan("Friday")Schedules spell for future execution
rest("1 hour")Built-in ritual pause for stillness or incubation

V. Divination & Symbolic Reflection

FunctionUse
draw_card(...)Pulls Tarot, rune, or other oracle
follow("dream")Tracks signal through subconscious or psychic channels
forecast()Checks current divine/timing alignment
scribe()Records ritual insight or notes
who’s_here()Identifies present godform or dominant archetype

VI. Energy Work & Field Control

FunctionUse
cleanse("fear")Clears energy, emotion, or thoughtform
protect()Shields the caster or space
cut()Terminates spell in-progress
unbind()Clears the ritual memory stack or previous loops
let_go(...)Releases a person, emotion, idea, or loop
veil("ego")Masks self or removes identity from field
invoke_void()Calls the Void for collapse/reset
still()Declares pause—no new input or motion

VII. Living Spells & Recursive Design

FunctionUse
start_cycle()Begins a longform, multi-phase ritual
next_phase()Advances to the next version or iteration
fork("path B")Splits spell into a new potential logic path
heartbeat()Keeps background ritual energy flowing
open_gate(13)Starts a structured 13-day divine cycle

VIII. Manifestation, Sigils & Binding

FunctionUse
draw_symbol("love")Creates a sigil from the named intent
manifest([...])Outputs multiple symbols or forms
bind_to("ring")Binds spell to object, space, or symbol
plant()Seeds spell for future activation
set_trigger("dream")Sets auto-run condition for spell
download("pdf")Exports spell as artifact or record
bookmark()Saves current spell state
send("link")Shares ritual or sigil externally

This library reflects all core actions you’d perform in a working circle:
elemental calls, divine contact, timing sync, tools, offerings, recursion, and closure.

Think of it as your personal ritual language—
poetic, functional, and precise.