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
npx skills add parcadei/Continuous-Claude-v3 --skill open-sets -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/open-sets/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/open-sets/
1Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill open-sets -a codex2Manually: put the files in place
.agents/skills/open-sets/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill open-sets -a cursor2Manually: put the files in place
.cursor/skills/open-sets/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install parcadei/Continuous-Claude-v3 .claude/skills/math/topology/open-sets2Manually: put the files in place
.github/skills/open-sets/SKILL.md1Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill open-sets -a gemini-cli2Platform CLI
gemini skills install https://github.com/parcadei/Continuous-Claude-v3 --path .claude/skills/math/topology/open-setsManually: put the files in place
.devin/skills/open-sets/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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