glass-line

Physical substrate layer for Plurigrid ASI — co-deployed fiber optic + geothermal infrastructure providing sensing, communication, energy, and materials extraction through a single bore.

16 stars

Best use case

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

Physical substrate layer for Plurigrid ASI — co-deployed fiber optic + geothermal infrastructure providing sensing, communication, energy, and materials extraction through a single bore.

Teams using glass-line 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/glass-line/SKILL.md --create-dirs "https://raw.githubusercontent.com/plurigrid/asi/main/plugins/asi/skills/glass-line/SKILL.md"

Manual Installation

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

How glass-line Compares

Feature / Agentglass-lineStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Physical substrate layer for Plurigrid ASI — co-deployed fiber optic + geothermal infrastructure providing sensing, communication, energy, and materials extraction through a single bore.

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

# Glass Line

> The bore hole is the conduit. The fiber is the sensor. The heat is the energy. The observation channel and the communication channel are the same physical object.

## Position in ASI Lattice

```
                    ┌─────────────────┐
                    │  glass-bead-game │
                    │  (synthesis)     │
                    └────────┬────────┘
                             │
         ┌───────────────────┼───────────────────┐
         │                   │                   │
┌────────▼────────┐ ┌────────▼────────┐ ┌────────▼────────┐
│  world-hopping  │ │  bisimulation   │ │  triad-interleave│
│  (navigation)   │ │  (dispersal)    │ │  (scheduling)    │
└────────┬────────┘ └────────┬────────┘ └────────┬────────┘
         │                   │                   │
         └───────────────────┼───────────────────┘
                             │
                    ┌────────▼────────┐
                    │     gay-mcp      │
                    │  (coloring)      │
                    └────────┬────────┘
                             │
                    ┌────────▼────────┐
                    │     acsets       │
                    │  (data model)    │
                    └────────┬────────┘
                             │
                    ┌────────▼────────┐
                    │   glass-line     │  ← NEW: physical substrate
                    │  (substrate)     │
                    └─────────────────┘
```

## Four Outputs From One Bore

| Output | Mechanism | Maps To |
|--------|-----------|---------|
| **Energy** | Geothermal heat → turbine or heat exchange | DGX Spark cluster power + cooling |
| **Communication** | Glass fiber in bore casing | Low-latency backhaul for hamming swarm |
| **Sensing** | Distributed Temperature Sensing (DTS) via Rayleigh/Brillouin scattering | Real-time thermal gradient monitoring |
| **Materials** | Brine extraction (lithium, rare earths) | Hardware supply chain (Cornwall model) |

## Schema

```julia
@present SchGlassLine(FreeSchema) begin
  Bore::Ob
  Fiber::Ob
  Sensor::Ob
  Well::Ob

  # A bore contains fibers and connects to wells
  contains::Hom(Bore, Fiber)
  taps::Hom(Bore, Well)

  # A fiber is simultaneously a sensor and a communication channel
  senses::Hom(Fiber, Sensor)
  communicates::Hom(Fiber, Fiber)  # self-referential: the medium IS the message

  # Attributes
  Depth::AttrType
  Temperature::AttrType
  Wavelength::AttrType
  Trit::AttrType

  depth::Attr(Bore, Depth)
  thermal_gradient::Attr(Well, Temperature)
  wavelength::Attr(Fiber, Wavelength)     # 1550nm C-band for telecom, 1064nm for DTS
  trit::Attr(Bore, Trit)                  # GF(3) coloring of physical sites
end
```

## DTS (Distributed Temperature Sensing)

The fiber IS the sensor. No separate instruments needed.

```
Technique          Resolution    Range     Mechanism
─────────────────────────────────────────────────────
Raman DTS          1m spatial    10km      Anti-Stokes/Stokes ratio
Brillouin OTDR     1m spatial    50km      Frequency shift ∝ temperature
Rayleigh OFDR      1mm spatial   70m       Phase-sensitive backscatter
```

For a geothermal bore (typically 2-5km depth):
- Raman DTS at 1550nm: continuous thermal profile of entire bore
- Same fiber carries 100Gbps+ telecom in separate wavelength band (WDM)
- Temperature data streams to DuckDB via MQTT → glass-line sensor table

## Site Selection Criteria

```sql
-- Optimal co-location: geothermal gradient + fiber trunk + compute
SELECT site, geothermal_gradient_c_per_km,
       distance_to_fiber_trunk_km,
       distance_to_compute_facility_km,
       (geothermal_gradient_c_per_km * 10
        - distance_to_fiber_trunk_km
        - distance_to_compute_facility_km * 2) AS score
FROM candidate_sites
WHERE geothermal_gradient_c_per_km > 30  -- minimum viable gradient
  AND distance_to_fiber_trunk_km < 50
ORDER BY score DESC;
```

### Known Candidate Regions

| Region | Gradient | Fiber | Compute | Notes |
|--------|----------|-------|---------|-------|
| Portland/Cascadia | 40-60°C/km | Major hub (NWAX) | Existing warehouse | Your DGX cluster |
| Cornwall UK | 35-40°C/km | Subsea cables | New facility | Lithium co-extraction proven |
| Reykjavik | 100+°C/km | IRIS submarine | Verne Global | Already operational |
| Nevada/Great Basin | 50-80°C/km | Las Vegas trunk | Switch datacenters | BLM land available |
| Pennsylvania mines | Variable | Northeast corridor | Planned 13GW DCs | Abandoned mine cooling |

## Integration With Hamming Swarm

Each physical glass-line site becomes a world in the 26-letter mesh:

```python
# A glass-line site binds to a world wallet
class GlassLineSite:
    def __init__(self, letter: str, bore_depth_m: float, fiber_count: int):
        self.letter = letter
        self.world_wallet = WORLD_WALLETS[letter]
        self.bore_depth = bore_depth_m
        self.fiber_count = fiber_count
        self.dts_stream = None  # MQTT topic for thermal data

    def bind_to_swarm(self, mesh: HammingSwarm):
        """Physical site joins the multisig mesh"""
        # The site's thermal output backs the world's DeFi position
        # Geothermal energy production → staking yield analogy:
        # constant baseload output, no intermittency,
        # 90%+ capacity factor (like Amnis stAPT stability)
        mesh.register_site(self.letter, self)

    def sense(self) -> dict:
        """DTS reading from fiber"""
        # Returns temperature profile along entire bore
        # This IS the observation — no separate measurement needed
        return self.dts_stream.latest()
```

## Energy Economics

```
Geothermal LCOE:    $0.04-0.08/kWh (baseload, 90%+ capacity factor)
Grid power (US avg): $0.12/kWh
DGX Spark (3 nodes): ~6kW sustained
Annual energy cost:
  Grid:        6kW × 8760h × $0.12 = $6,307/yr
  Geothermal:  6kW × 8760h × $0.05 = $2,628/yr
  Savings:     $3,679/yr (~58%)

Cooling savings (ground loop vs HVAC):
  ~40% reduction in cooling energy
  Additional $1,500-2,500/yr savings

Total annual savings: ~$5,000-6,000/yr
  = ~700 APT/yr at current price
  > 5x the entire DeFi yield (10.8 APT/yr)
```

The physical substrate dominates the digital yield.

## GF(3) Triad

| Trit | Layer | Role |
|------|-------|------|
| -1 | **glass-line** | Physical substrate (sensing, energy, materials) |
| 0 | acsets + gay-mcp | Data model + coloring (digital structure) |
| +1 | glass-bead-game | Synthesis (emergent coordination) |

Conservation: the physical (-1) grounds the digital (0) which enables the emergent (+1).

## Monitoring

```bash
# Stream DTS data to DuckDB
mosquitto_sub -t "glassline/+/dts" | \
  duckdb ~/i.duckdb -c "
    INSERT INTO glass_line_dts
    SELECT * FROM read_json('/dev/stdin', auto_detect=true);"

# Thermal gradient alert
duckdb ~/i.duckdb -c "
  SELECT site, depth_m, temp_c,
         temp_c - LAG(temp_c) OVER (ORDER BY depth_m) AS gradient
  FROM glass_line_dts
  WHERE site = 'portland'
  ORDER BY depth_m DESC LIMIT 20;"

# Energy production vs DeFi yield comparison
duckdb ~/i.duckdb -c "
  SELECT
    'geothermal' AS source, annual_kwh * 0.05 AS annual_usd,
    annual_kwh * 0.05 / 7.5 AS annual_apt  -- at $7.50/APT
  FROM glass_line_sites
  UNION ALL
  SELECT 'defi_yield', 10.84 * 7.5, 10.84
  FROM (SELECT 1);"
```

## Related Skills

- `plurigrid-asi-integrated` — parent lattice
- `glass-bead-game` — synthesis layer above
- `acsets` — data model for bore/fiber/sensor schema
- `defillama-api` — DeFi yield comparison
- `duckdb-ies` — simultaneity_surfaces view for co-temporal sensing
- `warehouse-network` — DGX cluster coordination
- `gx10-offload` — compute offload to cluster nodes

Related Skills

uv-oneliners

16
from plurigrid/asi

UV/UVX zero-install Python with comma-syntax deps, justfile patterns, PEP 723 scripts

performing-timeline-reconstruction-with-plaso

16
from plurigrid/asi

Build comprehensive forensic super-timelines using Plaso (log2timeline) to correlate events across file systems, logs, and artifacts into a unified chronological view.

linearization

16
from plurigrid/asi

Local approximation of nonlinear dynamics

linear-logic

16
from plurigrid/asi

Linear Logic Skill

integrating-sast-into-github-actions-pipeline

16
from plurigrid/asi

This skill covers integrating Static Application Security Testing (SAST) tools—CodeQL and Semgrep—into GitHub Actions CI/CD pipelines. It addresses configuring automated code scanning on pull requests and pushes, tuning rules to reduce false positives, uploading SARIF results to GitHub Advanced Security, and establishing quality gates that block merges when high-severity vulnerabilities are detected.

integrating-dast-with-owasp-zap-in-pipeline

16
from plurigrid/asi

This skill covers integrating OWASP ZAP (Zed Attack Proxy) for Dynamic Application Security Testing in CI/CD pipelines. It addresses configuring baseline, full, and API scans against running applications, interpreting ZAP findings, tuning scan policies, and establishing DAST quality gates in GitHub Actions and GitLab CI.

implementing-delinea-secret-server-for-pam

16
from plurigrid/asi

Implements Delinea Secret Server for privileged access management (PAM) including secret vault configuration, role-based access policies, automated password rotation, session recording, and integration with Active Directory and cloud platforms. Activates for requests involving PAM deployment, privileged credential vaulting, secret server administration, or password rotation automation.

guidelines-advisor

16
from plurigrid/asi

Comprehensive smart contract development advisor based on Trail of Bits' best practices. Analyzes codebase to generate documentation/specifications, review architecture, check upgradeability patterns, assess implementation quality, identify pitfalls, review dependencies, and evaluate testing. Provides actionable recommendations. (project, gitignored)

glass-hopping

16
from plurigrid/asi

Glass Bead Game + World Hopping via Observational Bridge Types. Navigate possibility space through ordered locale ≪ relations with Narya-verified transitions.

building-ioc-enrichment-pipeline-with-opencti

16
from plurigrid/asi

OpenCTI is an open-source platform for managing cyber threat intelligence knowledge, built on STIX 2.1 as its native data model. This skill covers building an automated IOC enrichment pipeline using O

building-ioc-defanging-and-sharing-pipeline

16
from plurigrid/asi

Build an automated pipeline to defang indicators of compromise (URLs, IPs, domains, emails) for safe sharing and distribute them in STIX format through TAXII feeds and threat intelligence platforms.

building-incident-timeline-with-timesketch

16
from plurigrid/asi

Build collaborative forensic incident timelines using Timesketch to ingest, normalize, and analyze multi-source event data for attack chain reconstruction and investigation documentation.