algorithmic-patterns

algorithmic-patterns is a skill for Claude Code from Abhinavbwj/Claude-skills-for-Computational-Designers. It costs 34 tokens per session (6,806 once invoked), scanned A, original, MIT.

A guide to programmable patterns inspired by nature, such as growth rules, flocking, cellular automata, and systems where simple local actions create larger forms. AEC means architecture, engineering, and construction.

In plain words
What is it for?
Use it for generative geometry, agent-based or swarm models, packing, growth studies, reaction-diffusion patterns, and other algorithmic AEC designs.
Why use it?
It gives designers methods for exploring complex forms, layouts, and behaviors without manually defining every part.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the Claude-skills-for-Computational-Designers plugin — 18 skills shipped together

Good fit Use it for generative geometry, agent-based or swarm models, packing, growth studies, reaction-diffusion patterns, and other algorithmic AEC designs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/abhinavbwj/claude-skills-for-computational-designers/algorithmic-patterns
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 Abhinavbwj/Claude-skills-for-Computational-Designers --skill algorithmic-patterns
Clone the repo
git clone --depth 1 https://github.com/Abhinavbwj/Claude-skills-for-Computational-Designers

Made for: Claude Code.

Or install Claude-skills-for-Computational-Designers, the plugin that ships this one along with the rest of its 18 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 algorithmic-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/abhinavbwj/claude-skills-for-computational-designers/algorithmic-patterns/github.svg)](https://agentmods.dev/skills/abhinavbwj/claude-skills-for-computational-designers/algorithmic-patterns)
Your own site
<a href="https://agentmods.dev/skills/abhinavbwj/claude-skills-for-computational-designers/algorithmic-patterns"><img src="https://agentmods.dev/badge/skills/abhinavbwj/claude-skills-for-computational-designers/algorithmic-patterns/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 algorithmic-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/abhinavbwj/claude-skills-for-computational-designers/algorithmic-patterns"><img src="https://agentmods.dev/badge/skills/abhinavbwj/claude-skills-for-computational-designers/algorithmic-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,806 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.00034 $0.06806
Opus 5 $0.00017 $0.03403
Sonnet 5 $0.00007 $0.01361
Haiku 4.5 $0.00003 $0.00681

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

Security

Grade A, and why

algorithmic-patterns 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 11d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/algorithmic-patterns/SKILL.md · 520 lines

How it starts

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

Algorithmic Patterns for AEC Design

1. Nature-Inspired Computation in AEC

Why Biological Algorithms Matter for Design

For three and a half billion years, evolution has solved the optimization problems architects and engineers face daily: distributing material efficiently, creating structures that resist loads with minimal mass, organizing circulation for millions of agents, regulating temperature without mechanical systems, and generating complex forms from simple rules. Nature-inspired computation translates these solutions into programmable algorithms that transform AEC practice.

The fundamental insight is that complexity does not require complex instructions. A fern frond with thousands of precisely placed leaflets emerges from a recursive rule fitting in a single line of code. A termite mound maintaining two-degree temperature stability is built by agents following three local rules. An oak tree optimally distributing material to resist wind has no central controller -- it grows according to Wolff's law, depositing material where stress is highest.

Emergence and Self-Organization

Emergence produces macro-scale patterns from micro-scale interactions without centralized control. In AEC, this challenges conventional top-down design, replacing it with local rules and boundary conditions that self-organize into coherent spatial configurations.

Key properties of emergent systems:

  • Nonlinearity -- small changes in rules produce disproportionate changes in output
  • Feedback loops -- positive feedback amplifies patterns, negative feedback stabilizes them
  • Decentralization -- no single agent has global knowledge of the system
  • Adaptation -- the system responds to environmental changes in real time
  • Robustness -- local failures do not cascade to system-level collapse

The computational thesis underlying all algorithmic patterns is that irreducible complexity can emerge from reducible rules. Stephen Wolfram demonstrated this with elementary cellular automata: Rule 110, defined by 8 binary transitions, is Turing-complete. A one-dimensional grid of cells with two states and nearest-neighbor rules can compute anything computable. For AEC: a branching structure with thousands of unique members can be specified by 3-4 L-system rules; a facade with apparent randomness generated by a 2-state CA; an optimal circulation network by 10,000 agents following 3 flocking rules.

Read the full file on GitHub · 520 lines

Files

What ships with it

2 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. 11d ago First seen · 520 lines · 34 tokens per session scan A e84ec26d9dc4

Subscribe to this mod's changes

algorithmic-patterns is a skill published in the GitHub repository Abhinavbwj/Claude-skills-for-Computational-Designers (212 stars, last pushed 5mo ago), licensed MIT. It adds 34 tokens to every session and 6,806 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

algorithmic-patterns

L-systems, cellular automata, agent-based modeling, swarm intelligence, reaction-diffusion, growth algorithms, packing algorithms, and nature-inspired computation for AEC design.

marcinfinitesimal533/Claude-skills-for-Computational-Designers · 34 tokens

html-ppt-zhangzara-monochrome

A grant proposal on CRISPR base-editing for sickle-cell disease — the hypothesis, the approach, the milestones, and the risk. Built as a decision-grade academic research deck for grant review committee.

nexu-io/open-design · 54 tokens

html-ppt-zhangzara-pin-and-paper

A field-biology capstone on urban pollinator decline — the survey design, the data, the contribution, and the caveats. Built as a decision-grade coursework defense deck for faculty reviewers.

nexu-io/open-design · 51 tokens

paper-illustration

A workflow for generating academic illustrations, such as architecture diagrams and method visuals, with image generation and repeated review. Claude plans and checks the figure during the process.

wanshuiyin/Auto-claude-code-research-in-sleep · 67 tokens

paper-illustration-image2

Generate publication-quality academic illustrations through a local Codex app-server bridge that uses Codex native image generation. This is a separate experimental alternative to paper-illustration, intended for Claude Code users who want a GPT-image-style renderer without modifying the original skill.

wanshuiyin/Auto-claude-code-research-in-sleep · 59 tokens

paper2video

Turn a research paper, a paper2assets package, or an existing PPT deck into a narrated MP4 video by fully delegating slide authoring to the installed ppt-master skill and fully delegating rendering, subtitles, timeline assembly, and strict media QA to the installed pptx2video skill and its public CLI. Resolves one…

microsoft/ResearchStudio · 157 tokens