Skip to main content
skill CX Codex

open-sets — Claude Code skill: topology and open sets

A skill for solving open sets problems in topology. Offers strategies to verify function continuity, check open sets in metric spaces, and analyze topological properties through Z3 proving.

MIT ★ 3,951 updated 2026-01-26

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add parcadei/Continuous-Claude-v3 --skill open-sets -a claude-code
Open on GitHub

What open-sets does

The skill integrates with Claude Code and delivers tools for proving topological statements. Three core checks: continuity via preimages of open sets, ball containment in open sets (metric spaces), and epsilon-delta tests. Commands invoke Z3 solver through z3_solve.py with arguments like preimage_open, ball_contained, or epsilon_delta_bound.

Internally, a decision tree maps four problem classes: continuity checks (metric spaces, general topological spaces, product spaces), open set verification, topological operators (interior, closure, boundary), and continuity tests. Each path has its own Z3 command.

Requires Python, uv, and Z3 library (included in the Continuous-Claude-v3 environment). The skill works with local files via Bash and Read; results rely on symbolic proof rather than numeric computation.

What it helps with

  • verify that a function is continuous between topological spaces
  • confirm whether a set is open in a metric space
  • compute interior, closure, and boundary of a set
  • construct an epsilon-delta bound for a function at a point

Example prompts for the agent

  • Check if the preimage of an open set is open: z3_solve.py prove "preimage_open"
  • Prove a ball of radius epsilon lies inside an open set: z3_solve.py prove "ball_contained" with epsilon witnesses
  • Verify the epsilon-delta condition for function f continuous at point a

How to install open-sets

1Skills CLI (Vercel)

npx skills add parcadei/Continuous-Claude-v3 --skill open-sets -a claude-code

2Manually: put the files in place

~/.claude/skills/open-sets/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/open-sets/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about open-sets

How do I install open-sets in Claude Code?

Run npx skills add parcadei/Continuous-Claude-v3 --skill open-sets -a claude-code, then refer to the documentation at ~/.claude/skills/open-sets/SKILL.md.

What does open-sets do?

Provides strategies and commands to prove topological properties: verifies function continuity, checks open sets, and analyzes topological operators using Z3 solver.

What do I need to run this skill?

Python, the uv utility for execution, and Z3 (bundled with Continuous-Claude-v3). The skill operates only on local files through Bash and Read tools.

Source text

SKILL.md · MIT
---
name: open-sets
description: "Problem-solving strategies for open sets in topology"
allowed-tools: [Bash, Read]
---

# Open Sets

## When to Use

Use this skill when working on open-sets problems in topology.

## Decision Tree


1. **Is f: X -> Y continuous?**
   - For metric spaces: x_n -> x implies f(x_n) -> f(x)?
   - For general spaces: f^(-1)(open) = open?
   - For products: Check each coordinate function
   - `z3_solve.py prove "preimage_open"`

2. **Open Set Verification**
   - For metric spaces: for all x in U, exists epsilon > 0 with B(x,epsilon) subset U
   - `z3_solve.py prove "ball_contained"` with epsilon witnesses

3. **Topological Properties**
   - Interior: int(A) = largest open subset of A
   - Closure: cl(A) = smallest closed superset of A
   - Boundary: bd(A) = cl(A) \ int(A)

4. **Continuity Tests**
   - Epsilon-delta: for all epsilon > 0, exists delta > 0: d(x,a) < delta implies d(f(x),f(a)) < epsilon
   - `z3_solve.py prove "epsilon_delta_bound"`


## Tool Commands

### Z3_Preimage_Open
```bash
uv run python -m runtime.harness scripts/z3_solve.py prove "preimage_open"
```

### Z3_Epsilon_Delta
```bash
uv run python -m runtime.harness scripts/z3_solve.py prove "ForAll(eps, Exists(delta, d(x,a) < delta implies d(f(x),f(a)) < eps))"
```

### Z3_Ball_Contained
```bash
uv run python -m runtime.harness scripts/z3_solve.py prove "ball_contained"
```

## Key Techniques

*From indexed textbooks:*

- [Introduction to Topological Manifolds... (Z-Library)] Show that every local homeomorphism is an open map. Show that every homeomorphism is a local homeomorphism. Show that a bijective continuous open map is a homeomorphism.
- [Introduction to Topological Manifolds... (Z-Library)] The key motivation behind the denition of this new kind of space is the open set criterion for continuity (Lemma A. Appendix), which shows that continuous functions between metric spaces can be detected knowing only the open sets. Motivated by this observation, we make the following denition.
- [Introduction to Topological Manifolds... (Z-Library)] Suppose X is a set, and B is any collection of subsets of X whose union equals X. Let T be the collection of all unions of nite inter- sections of elements of B. Note that the empty set is the union of the empty collection of sets.
- [Introduction to Topological Manifolds... (Z-Library)] The product topology is “associative” in the sense that the three prod- uct topologies X1 × X2 × X3, (X1 × X2) × X3, and X1 × (X2 × X3) on the set X1 × X2 × X3 are all equal. For any i and any points xj ∈ Xj, j = i, the map fi : Xi → X1 × · · × Xn given by fi(x) = (x1, . If for each i, Bi is a basis for the topology of Xi, then the set {B1 × · · · × Bn : Bi ∈ Bi} is a basis for the product topology on X1 × · · · × Xn.
- [Introduction to Topological Manifolds... (Z-Library)] Here are some examples of closed subsets of familiar topological spaces. Any closed interval [a, b] ⊂ R is a closed set, as are the half-innite closed intervals [a, ∞) and (−∞, b]. Every subset of a discrete space is closed.

## Cognitive Tools Reference

See `.claude/skills/math-mode/SKILL.md` for full tool documentation.

© parcadei · MIT · parcadei/Continuous-Claude-v3

Similar skills

All skills for AI and ML →

From the same set161

The whole set →
compactness A skill for solving compactness problems in topology. Checks whether spaces are compact, applies the Heine-Borel and Tychonoff theorems, and computes consequences of compactness. CX Codex +1 ★ 3,951repo stars source-coding source-coding — a skill for information theory problems: optimal coding, Shannon entropy, Huffman codes, and data compression. Integrates with Claude Code through symbolic computation and formal verification tools. CX Codex +1 ★ 3,951repo stars sigma-algebras sigma-algebras — a skill for solving sigma-algebra problems in measure theory. CX Codex +1 ★ 3,951repo stars validate-agent Subagent validates technical decisions in a plan against current best practices and past precedent. Run it before implementation to catch outdated approaches and risks. CX Codex ★ 3,951repo stars plan-agent It researches a codebase and relevant guidance, then writes an implementation plan with phases, files, acceptance criteria, and tests. Use it to map out a feature before changing the project. CX Codex ★ 3,951repo stars sleuth sleuth — a subagent that systematically debugs issues by forming diagnostic questions, tracing code paths, analyzing logs, and documenting findings in a structured report. CX Codex ★ 3,951repo stars scribe scribe — a Claude Code subagent for tracking progress across sessions. It logs decisions, completed steps, and file lists into markdown handoffs and ledgers. CX Codex ★ 3,951repo stars parallel-agents The parallel-agents skill lays out a background-run and file-based workflow for coordinating agents. Use it to track parallel tasks without pulling each agent’s full response into context. CX Codex +1 ★ 3,951repo stars

Project sponsors

Companies that keep this analytics open