shapely-compute

shapely-compute is a skill for Claude Code from parcadei/Continuous-Claude-v3. It costs 24 tokens per session (2,515 once invoked), scanned A, original, MIT.

A Python tool for creating and working with geometric shapes such as points, lines, and polygons.

In plain words
What is it for?
Use it to combine or compare shapes, measure area or distance, test spatial relationships, transform geometries, and fix invalid shapes.
Why use it?
It removes the need to implement common geometry calculations and shape operations yourself.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run python scripts/shapely_compute.py create point --coords "1,2".

not rated 4.0krepo +4 14d ago A scan Socket: passSnyk: passSkillSpector: pass 24 tokens original MIT

Good fit Use it to combine or compare shapes, measure area or distance, test spatial relationships, transform geometries, and fix invalid shapes.

Compare 6 skills from other repositories ↓
About the project

Continuous-Claude-v3 is a Claude Code development environment that preserves working context between sessions, coordinates specialized agents, and stores project knowledge through ledgers, handoffs, and analysis tools. It is for people using Claude Code on ongoing or complex software work. Its catalogue entries are the skills, agents, hooks, plugin, and setting that provide its workflows and orchestration.

parcadei/Continuous-Claude-v3 · 3,954 stars · on GitHub

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/parcadei/Continuous-Claude-v3
agentmods
npx agentmods add skills/parcadei/continuous-claude-v3/shapely-compute

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for shapely-compute

README.md
[![agentmods](https://agentmods.dev/badge/skills/parcadei/continuous-claude-v3/shapely-compute/github.svg)](https://agentmods.dev/skills/parcadei/continuous-claude-v3/shapely-compute)
Your own site
<a href="https://agentmods.dev/skills/parcadei/continuous-claude-v3/shapely-compute"><img src="https://agentmods.dev/badge/skills/parcadei/continuous-claude-v3/shapely-compute/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for shapely-compute

Your own site · 80×15
<a href="https://agentmods.dev/skills/parcadei/continuous-claude-v3/shapely-compute"><img src="https://agentmods.dev/badge/skills/parcadei/continuous-claude-v3/shapely-compute.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,515 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 18 Sept 2026
  • Snyk pass 18 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.02515
Opus 5.5 $0.00010 $0.01006
Sonnet 5.5 $0.00005 $0.00503
Haiku 4.5 $0.00002 $0.00251

Measured 2mo ago against content hash 75b73b5632a0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

shapely-compute scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/shapely-compute/SKILL.md · 234 lines

How it starts

The opening of the file, as written. The whole thing — 234 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Computational Geometry with Shapely

When to Use

  • Creating geometric shapes (points, lines, polygons)
  • Boolean operations (intersection, union, difference)
  • Spatial predicates (contains, intersects, within)
  • Measurements (area, length, distance, centroid)
  • Geometry transformations (translate, rotate, scale)
  • Validating and fixing invalid geometries

Quick Reference

I want to... Command Example
Create geometry create create polygon --coords "0,0 1,0 1,1 0,1"
Intersection op intersection op intersection --g1 "POLYGON(...)" --g2 "POLYGON(...)"
Check contains pred contains pred contains --g1 "POLYGON(...)" --g2 "POINT(0.5 0.5)"
Calculate area measure area measure area --geom "POLYGON(...)"
Distance distance distance --g1 "POINT(0 0)" --g2 "POINT(3 4)"
Transform transform translate transform translate --geom "..." --params "1,2"
Validate validate validate --geom "POLYGON(...)"

Commands

create

Create geometric objects from coordinates.

# Point
uv run python scripts/shapely_compute.py create point --coords "1,2"

# Line (2+ points)
uv run python scripts/shapely_compute.py create line --coords "0,0 1,1 2,0"

# Polygon (3+ points, auto-closes)
uv run python scripts/shapely_compute.py create polygon --coords "0,0 1,0 1,1 0,1"

# Polygon with hole
uv run python scripts/shapely_compute.py create polygon --coords "0,0 10,0 10,10 0,10" --holes "2,2 8,2 8,8 2,8"

# MultiPoint
uv run python scripts/shapely_compute.py create multipoint --coords "0,0 1,1 2,2"

# MultiLineString (pipe-separated lines)
uv run python scripts/shapely_compute.py create multilinestring --coords "0,0 1,1|2,2 3,3"

# MultiPolygon (pipe-separated polygons)
uv run python scripts/shapely_compute.py create multipolygon --coords "0,0 1,0 1,1 0,1|2,2 3,2 3,3 2,3"

op (operations)

Boolean geometry operations.

# Intersection of two polygons
uv run python scripts/shapely_compute.py op intersection \
    --g1 "POLYGON((0 0,2 0,2 2,0 2,0 0))" \
    --g2 "POLYGON((1 1,3 1,3 3,1 3,1 1))"

# Union
uv run python scripts/shapely_compute.py op union --g1 "POLYGON(...)" --g2 "POLYGON(...)"

# Difference (g1 - g2)
uv run python scripts/shapely_compute.py op difference --g1 "POLYGON(...)" --g2 "POLYGON(...)"

# Symmetric difference (XOR)
uv run python scripts/shapely_compute.py op symmetric_difference --g1 "..." --g2 "..."

# Buffer (expand/erode)
uv run python scripts/shapely_compute.py op buffer --g1 "POINT(0 0)" --g2 "1.5"

# Convex hull
uv run python scripts/shapely_compute.py op convex_hull --g1 "MULTIPOINT((0 0),(1 1),(0 2),(2 0))"

# Envelope (bounding box)
uv run python scripts/shapely_compute.py op envelope --g1 "POLYGON(...)"

# Simplify (reduce points)
uv run python scripts/shapely_compute.py op simplify --g1 "LINESTRING(...)" --g2 "0.5"

Read the full file on GitHub · 234 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 234 lines · 24 tokens per session scan A 75b73b5632a0

Subscribe to this mod's changes

shapely-compute is a skill published in the GitHub repository parcadei/Continuous-Claude-v3 (3,954 stars, last pushed 14d ago), licensed MIT. It adds 24 tokens to every session and 2,515 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

shapely-compute compared with skills from other repositories

shapely-compute next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
shapely-computeparcadei/Continuous-Claude-v3Skill4.0k14d agoMITA24Claude Code
nanoresearch-experimentOpenRaiser/NanoResearchSkill1.3k1mo agoMITA15Claude Code, Codex
pycseItamarZand88/awesome-agent-conventionsSkill384mo agoMITA0Claude Code, Codex
python-packagesA-EVO-Lab/a-evolveSkill87024d agononeB27Claude Code, Codex
milp-modeling-gurobihajibabaie/combinatorial-optimization-skillsSkill215mo agoMITA141Claude Code
numpy-vectorization-for-optimizationhajibabaie/combinatorial-optimization-skillsSkill215mo agoMITB125Claude Code
pytorch-dataset-class-implementationsUitbreidenOS/UitKitSkill145mo agononeA19Claude Code