qfoldit-l-systems

qfoldit-l-systems is a skill for Claude Code from qfoldit/Protein-Design-MCP. It costs 135 tokens per session (895 once invoked), scanned A, original, Apache-2.0.

A tool for expanding L-systems, rule-based mathematical descriptions of branching or repeating shapes, and rendering the results as SVG images. It includes patterns such as the Koch curve, dragon curve, Sierpinski triangle, plants, and bushes.

In plain words
What is it for?
Use it to generate fractals, procedural plants, branches, bushes, turtle-graphics drawings, and other SVG structures from presets or your own rules.
Why use it?
It turns a compact set of drawing rules into a visible fractal or branching structure without manually drawing every segment.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the qfoldit-skills plugin — 20 skills shipped together

Good fit Use it to generate fractals, procedural plants, branches, bushes, turtle-graphics drawings, and other SVG structures from presets or your own rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/qfoldit/protein-design-mcp/l-systems
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add qfoldit/Protein-Design-MCP --skill l-systems
Clone the repo
git clone --depth 1 https://github.com/qfoldit/Protein-Design-MCP

Made for: Claude Code.

Or install qfoldit-skills, the plugin that ships this one along with the rest of its 20 skills.

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 qfoldit-l-systems

README.md
[![agentmods](https://agentmods.dev/badge/skills/qfoldit/protein-design-mcp/l-systems/github.svg)](https://agentmods.dev/skills/qfoldit/protein-design-mcp/l-systems)
Your own site
<a href="https://agentmods.dev/skills/qfoldit/protein-design-mcp/l-systems"><img src="https://agentmods.dev/badge/skills/qfoldit/protein-design-mcp/l-systems/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 qfoldit-l-systems

Your own site · 80×15
<a href="https://agentmods.dev/skills/qfoldit/protein-design-mcp/l-systems"><img src="https://agentmods.dev/badge/skills/qfoldit/protein-design-mcp/l-systems.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 135 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 895 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.
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.00135 $0.00895
Opus 5 $0.00068 $0.00447
Sonnet 5 $0.00027 $0.00179
Haiku 4.5 $0.00014 $0.00089

Measured 10d ago against content hash 47d354106b7a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

qfoldit-l-systems 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 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/lsystem.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/skills/l-systems/SKILL.md · 55 lines

How it starts

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

L-systems (Lindenmayer systems)

What this skill does

Expands an L-system (axiom + substitution rules + iteration count) into a string and renders it as SVG via turtle graphics. Suitable for: classic fractals (Koch curve, dragon curve, Sierpinski triangle), procedural plants/branches, generative graphics for game scenes (e.g. a "virtual lab" / plant generation in a VR demo).

This is a deterministic mathematical algorithm — unlike other qFoldIT modules, there are no empirical assumptions or literature ranges that need to be caveated here. The result is fully predictable given the specified rules.

When to use

  • The user asks to generate a fractal (Koch, dragon, Sierpinski triangle, etc.).
  • The user asks to generate a procedural plant/bush/branching structure.
  • The user gives their own grammar (axiom and substitution rules) and wants to see what it looks like.
  • The context is vegetation/fractal generation for a game scene, VR demo, or visualization.

How to work

  1. If the user wants something standard ("Koch fractal", "tree", "bush", "dragon", "Sierpinski triangle") — use the ready-made preset from scripts/lsystem.py (--preset koch|dragon|sierpinski|plant|bush), don't reinvent the rules.
  2. If the user provides their own grammar — pass it via --axiom, --rules (a JSON string like {"F":"F+F-F-F+F"}), --angle, --iterations.
  3. Run the script; it saves an SVG file and prints metadata (expanded string length, number of segments).
  4. If the string comes out very long (>~50,000 characters) at the given iteration count — warn the user that rendering may be slow/heavy, and suggest reducing the iteration count.
  5. Open the resulting SVG (via view) to confirm it isn't empty or doesn't look like a single point (a typical bug — wrong turtle argument order, or draw_chars not matching the rules' alphabet).
  6. Show the result to the user — as an artifact (SVG renders directly in the interface) or as a file, depending on the conversation context.

Example call

Read the full file on GitHub · 55 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 55 lines · 135 tokens per session scan A 47d354106b7a

Subscribe to this mod's changes

qfoldit-l-systems is a skill published in the GitHub repository qfoldit/Protein-Design-MCP (1 stars, last pushed 13d ago), licensed Apache-2.0. It adds 135 tokens to every session and 895 once invoked, about $0.0007 per session on Opus 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-08-31.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

general-video

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…

heygen-com/hyperframes · 92 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

diagnostic-stem-delivery

Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.

HKUDS/OpenSpace · 23 tokens

chengfeng-check-updates

An environment manager for a video-editing system. It checks whether its skills and runtime—the software needed to run them—are installed and compatible.

Agentchengfeng/chengfeng-videocut-skills · 120 tokens