Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Mermate Tab Tla

ASecurity

Stage 4 tab (TLA+) of the Mermate pipeline — formal spec generation from a mastered run, SANY parse, TLC model check, spec edit/revalidate, and the Specula engine bridge. Use when editing TLA+ generation, verification, repair, the /api/render/tla endpoints, or specula-engine integration. Formal-method decisions defer to the specification-master-agent tree.

3 stars
0 votes
0 copies
1 views
Added 9/11/2026
businessjavanodeapibackend

Works with

cliapi

Security Analysis

A92/100
mediumUses curl or wget to download content

Scanned 9/11/2026

Install to Claude Code

$npx -y skills add DylanCkawalec/Mermate --skill mermate-tab-tla --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mermate Tab Tla?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Mermate Tab Tla
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dylanckawalec-mermate-tab-tla/badge)](https://www.skillsdirectory.com/skills/dylanckawalec-mermate-tab-tla)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: mermate-tab-tla
description: Stage 4 tab (TLA+) of the Mermate pipeline — formal spec generation from a mastered run, SANY parse, TLC model check, spec edit/revalidate, and the Specula engine bridge. Use when editing TLA+ generation, verification, repair, the /api/render/tla endpoints, or specula-engine integration. Formal-method decisions defer to the specification-master-agent tree.
---

# Mermate Tab 4 · TLA+ (tla)

Operates under `mermate` master invariants. All specification-quality judgments defer to `specification-master-agent` (Minimum Acceptable Skeleton: TypeOK, Init, named actions with UNCHANGED, non-trivial invariant + inductiveness, fairness only when liveness requires).

## Stage Identity (from `STAGE_REGISTRY.tla`, public/js/mermaid-gpt-app.js)
- Label: **TLA+** · reveal: `STAGE 4 · TLA+` · color `#a78bfa`
- Expected duration: ≈1–2 min · enhance default: OFF · no upload (spec is generated)
- **IPO contract**:
  - Input: mastered run (`run_id` + diagram)
  - Process: Specula generation → SANY parse → TLC model check
  - Output: verified formal spec + config, invariants, traces

## Owning Code
- Backend: `server/routes/tla.js` —
  - `POST /api/render/tla` (generate, lines 71–637)
  - `POST /api/render/tla/edit` (edit → validate → persist, lines 787–977)
  - `POST /api/render/tla/revalidate` (SANY+TLC repair loop, lines 710–785)
  - `GET /api/render/tla/status`, `GET /api/render/tla/errors/:run_id`
- Toolchain: `vendor/tla2tools.jar` (SANY + TLC; Java 11+ required)
- Engine: `server/routes/specula.js` + pinned submodule `specula-engine/` (`GET /api/specula/health`, `POST /api/specula/validate-tlc`)
- Tests: `test/test-tla-compiler.js`

## Stage Invariants
1. **Verification before progression**: `progressionUpdate` unlocking `ts` is emitted only when SANY parses the spec; TLC results (invariant violations, error traces) ride the response — they are never swallowed.
2. Generated specs meet the Minimum Acceptable Skeleton or the stage reports `tla_failed` with structured SANY/TLC errors readable via `/api/render/tla/errors/:run_id`.
3. Edited specs re-validate before persist; an edit that breaks SANY never overwrites a verified artifact.
4. Spec generation is grounded in the mastered run's diagram — no free invention of variables or actions absent from the source architecture.

## Anti-Patterns (Reject)
- Emitting TLA+ that has not passed SANY (see `tla-syntax`; classic ASCII operators, `==`, `#`, `/\`, `\/`).
- Treating TLC timeouts as success; a timeout is reported as inconclusive.
- Hand-tuning generated invariants in client code instead of the repair loop.

## Verification
- `node --test test/test-tla-compiler.js`
- `curl -s http://localhost:3333/api/render/tla/status` — toolchain availability
- Citation grounding for spec claims: `specification-master-agent` → `references/disalg-bib-dict.md`

Attribution

DylanCkawalecDylanCkawalec
View sourceMore from DylanCkawalec →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Solution Architect

Designs system architecture, component specifications, and technical integration strategy. Use when: designing solutions, system architecture, technology stack, or integration approaches.

192 votes

Akorchak:Venture Assessment

Generate a comprehensive VC investment assessment report for a company

72 votes

Just Fucking Cancel

Find and cancel unwanted subscriptions by analyzing bank transactions. Detects recurring charges, calculates annual waste, and helps you cancel with direct URLs and browser automation. Use when: 'cancel subscriptions', 'audit subscriptions', 'find recurring charges', 'what am I paying for', 'save money', 'subscription cleanup', 'stop wasting money'. Supports CSV import (Apple Card, Chase, Amex, Citi, Bank of America, Capital One, Mint, Copilot) OR Plaid API for automatic transaction pull. Out...

6511 votes

Stock Analysis

Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management (create, add, remove assets), crypto analysis (Top 20 by market cap), and periodic performance reports (daily/weekly/monthly/quarterly/yearly). 8 analysis dimensions for stocks, 3 for crypto. Use for stock analysis, portfolio tracking, earnings reactions, or crypto monitoring.

6511 votes

Telegram Compose

Compose rich, readable Telegram messages using HTML formatting via direct Telegram API. Use when: (1) Sending any Telegram message beyond a simple one-line reply, (2) Creating structured messages with sections, lists, or status updates, (3) Need formatting unavailable via Clawdbot's Markdown conversion (underline, spoilers, expandable blockquotes, user mentions by ID), (4) Sending alerts, reports, summaries, or notifications to Telegram, (5) Want professional, scannable message formatting wit...

6511 votes
View all in business →