l-space
БесплатноЗапускает вложенные скриптыНе проверенL-Space Skill: The Library of All Libraries
от plurigrid★ 73 звезды на GitHubОб этом скилле
L-Space Skill: The Library of All Libraries
Status: ✅ Production Ready
Trit: 0 (ERGODIC - the Library itself is the coordinator)
Color: #8B4513 (Leather brown - the color of infinite shelves)
What This Skill Actually Does
L-Space extracts and analyzes narrative structure from text:
# Extract narrative arcs, causality, novelty from text
bb narrative_extract.bb story.txt
# Measure token surprise for manifold positioning
python token_novelty.py "your text" --backend estimate
# Build causality graph from code or prose
python causality_graph.py file.py --lang python
Output: {arcs, causality_graph, novelty_curve} — structured data, not poetry.
Core Principle
Books = Knowledge = Power = Energy = Mass
In sufficiently large libraries, information becomes autonomous.
Triadic Balance (2024-12-24 Review)
| Concept | Status | Action |
|---|---|---|
| Geometric metaphors | ⚠️ OVER-INDEXED (6×) | Collapsed to single Poincaré model |
| Visualization | ⚠️ OVER-INDEXED (4 viz, 0 code) | Added P0-P2 implementations |
| Magic numbers (23-dim, 0.95) | ⚠️ OVER-INDEXED | Use actual embeddings |
| Narrative extraction | ✅ NOW IMPLEMENTED | narrative_extract.bb |
| Token novelty | ✅ NOW IMPLEMENTED | token_novelty.py |
| Causality graph | ✅ NOW IMPLEMENTED | causality_graph.py |
GF(3) rebalance: Skill was +1 heavy (generative metaphor). Now includes -1 (working validators).
Pratchett's Informational Physics
The Equation
Books = Knowledge = Power = Energy = Mass
∴ A sufficient quantity of books distorts spacetime itself
This is not metaphor. In sufficiently large libraries:
- Time flows differently between sections
- Spatial topology becomes non-Euclidean
- Bidirectional causation becomes possible
Critical Mass Phenomena
"A large enough collection of books creates its own gravitational well, drawing in more books, more knowledge, until it punches through into L-Space."
When knowledge density exceeds threshold:
- The Octavo reads the reader - books become autonomous
- Sourcery - reality becomes substrate for narrativium
- Undelivered letters create fatal illusions
class InformationMass
CRITICAL_DENSITY = 1e6 # books per cubic meter
def l_space_accessible?(library)
book_density(library) >= CRITICAL_DENSITY
end
def distortion_factor(library)
return 0 unless l_space_accessible?(library)
Math.log(book_density(library) / CRITICAL_DENSITY)
end
end
Narrativium: The Story Force
Pan Narrans
"Humans are not Homo sapiens, the wise man. We are Pan narrans, the storytelling ape."
Narrativium is the fundamental force that makes stories cohere. Every element contains its story - how it came to be, what it does, where it's going.
class Narrativium
# The coherence force that makes stories work
def story_tension(element)
# Every element resists violation of its narrative arc
element.expected_trajectory - element.current_position
end
def narrative_collapse!(elements)
# When stories lose coherence, reality stutters
elements.each do |e|
e.phase_space_position = e.expected_trajectory.terminal
end
end
end
Story Phase Space
Stories map the phase space of existence:
phase_space(story) = {
beginning: initial_conditions,
middle: trajectory_through_possibility,
end: attractor_basin
}
Bumpus Categories of Narratives
Sheaves on Posets of Intervals
From Bumpus et al.: Narratives are sheaves on posets of intervals:
@present SchNarrative(FreeSchema) begin
Interval::Ob # Time windows
Snapshot::Ob # State at instant
Relationship::Ob # How snapshots relate
source::Hom(Relationship, Snapshot)
target::Hom(Relationship, Snapshot)
timestamp::Hom(Snapshot, Interval)
# Sheaf condition: snapshots agree on overlaps
end
Two Perspectives
| Perspective | Sheaf Type | Interpretation |
|---|---|---|
| Cumulative | Colimit-style | "Everything that happened up to now" |
| Persistent | Limit-style | "What persists across time" |
The Librarian navigates between these:
def librarian_navigate(from_book, to_book)
if cumulative?(from_book) && persistent?(to_book)
# Must cross perspective boundary
find_interval_isomorphism(from_book.intervals, to_book.intervals)
end
end
Object-Agnostic Narratives
Narratives work for any structure:
- Graphs (character interaction networks)
- Groups (symmetries preserved through story)
- Databases (consistency across commits)
- Repositories (version control as narrative)
# The same sheaf machinery works for all
narrative_of_graph(G::Graph) = StrDecomp(G)
narrative_of_group(G::Group) = StrDecomp(cayley_graph(G))
narrative_of_repo(R::GitRepo) = StrDecomp(commit_dag(R))
The Librarian Protocol
Orangutan Epistemology
Установить l-space в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл l-space?
L-Space Skill: The Library of All Libraries
Как установить скилл l-space?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл l-space запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic