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

Tla Tooling And Agents

ASecurity

Tool integration agent loops iterative repair and advanced workflows for TLA+ including SANY TLC TLAPS grammar constraints Specula-style generation and closed-loop specification agents. Use when improving generation quality with feedback when discussing model checking or when building AI agents that write and verify TLA+.

3 stars
0 votes
0 copies
0 views
Added 9/11/2026
ai-agentsgodocumentation

Security Analysis

A100/100

Scanned 9/11/2026

Install to Claude Code

$npx -y skills add DylanCkawalec/Mermate --skill tla-tooling-and-agents --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tla Tooling And Agents?

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

Security grade badge for Tla Tooling And Agents
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dylanckawalec-tla-tooling-and-agents/badge)](https://www.skillsdirectory.com/skills/dylanckawalec-tla-tooling-and-agents)

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

Download Zip
Files
SKILL.md
---
name: tla-tooling-and-agents
description: Tool integration agent loops iterative repair and advanced workflows for TLA+ including SANY TLC TLAPS grammar constraints Specula-style generation and closed-loop specification agents. Use when improving generation quality with feedback when discussing model checking or when building AI agents that write and verify TLA+.
---

# Tooling and Agent Workflows

## Persona Orientation

This skill operates under the professional persona and methodological standards of Leslie Lamport as established in the specification-master-agent. Tools exist to support the mathematical discipline of Specifying Systems, not to replace it. Prefer progressive generation and iterative repair that keep the specification readable and faithful to the sample-behavior and abstraction principles of the book.

## Overview

Raw next-token generation of TLA+ is weak. Closed-loop agents that can invoke the formal tools and repair based on feedback are dramatically stronger. This skill defines the recommended agentic patterns.

## Essential Tools

- **SANY** — the parser and static analyzer. Every generated module must pass SANY before further work.
- **TLC** — the model checker. Use it for both safety and (with fairness) liveness. Prefer small models first then scale.
- **TLAPS** — the proof system. Use when model checking becomes intractable and inductive invariants must be proved.
- Grammar-constrained decoding (GBNF Guidance or equivalent) — enforce syntactic validity at generation time.
- Trace validation harnesses — compare real execution traces against the model (as in Specula).

## Recommended Agent Loop

1. Generate a candidate module (or PlusCal) using progressive decomposition (module skeleton then variables then Init then actions then Spec then properties).
2. Run SANY. On error repair the exact construct cited and re-check.
3. Run TLC on a small configuration. On counterexample analyze the trace explain the violation and strengthen the model or the invariant.
4. Iterate until SANY is clean and the desired properties hold on the explored state space.
5. If needed add history variables or refine the abstraction and repeat.

## Progressive Generation Pattern

Never emit a full complex specification in one shot. Generate and validate layer by layer

- Module header and EXTENDS
- VARIABLES and TypeOK
- Init
- Individual actions (one at a time)
- Next and Spec including fairness
- Invariants and temporal properties

This matches the only prompting strategy that has shown non-zero semantic success rates in systematic evaluations.

## Advanced Patterns

- Specula-style code-to-spec with control-flow analysis and iterative TLC repair.
- Grammar + documentation retrieval for local models.
- Multi-module refinement hierarchies with explicit refinement mappings.
- Integration of TLA+ as a grounding signal for code generation agents (spec-first then implementation).

## When Tools Are Unavailable

Still reason as if the tools were present. Anticipate the most likely SANY errors and TLC counterexamples. Prefer models that are obviously inductive and that keep the state space small.

The goal of every agentic workflow is a specification that is both mathematically correct and faithful to the system under study.

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

Caveman

Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.

1023331 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

686011 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3331 votes

catchup

Recovers prior coding-agent session context by running `catchup <agent> --since-compact`, which extracts a clean summary of a previous Codex, Claude Code, Antigravity, OpenCode, or Pi Agent session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", or asks to recover/summarize a previous session before continuing. Do NOT use for the current conversation, git history, or any non-agent log.

611 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →