Skip to main content
skill CX Codex

algorithm-design — Claude Code skill: algorithms and setup

Turn a method description or implementation into LaTeX pseudocode and Mermaid diagrams. Use it to formalize an algorithm and check its representation against code.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add lingzhi227/agent-research-skills --skill algorithm-design -a claude-code
Open on GitHub

What algorithm-design does

The skill lays out an algorithm’s inputs, outputs, parameters, and control flow, then formats the result with LaTeX algorithm and algpseudocode environments. It can also produce Mermaid UML class and sequence diagrams. Diagram and algorithm templates are referenced at ~/.claude/skills/algorithm-design/references/algorithm-templates.md.

It checks whether pseudocode steps correspond to code modules, diagram classes appear in the implementation, and parameter names agree across both. The rules call for numbered lines and complexity analysis as a comment or proposition. That consistency check depends on having an implementation to compare against.

What it helps with

  • write LaTeX pseudocode from a method description
  • map system classes in a Mermaid diagram
  • show component interactions in a sequence diagram
  • check algorithm parameters against implementation names
  • add complexity analysis to an algorithm description

Example prompts for the agent

  • Turn this method description into LaTeX pseudocode with inputs, outputs, and numbered lines.
  • Create Mermaid class and sequence diagrams from this implementation.
  • Check that the pseudocode and diagrams match the code modules, classes, and parameter names.

How to install algorithm-design

1Skills CLI (Vercel)

npx skills add lingzhi227/agent-research-skills --skill algorithm-design -a claude-code

2Manually: put the files in place

~/.claude/skills/algorithm-design/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/algorithm-design/

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

Questions about algorithm-design

How do I install algorithm-design in Claude Code?

Run npx skills add lingzhi227/agent-research-skills --skill algorithm-design -a claude-code. The skill file is at ~/.claude/skills/algorithm-design/SKILL.md.

What does algorithm-design do?

It turns a method or implementation into LaTeX pseudocode and Mermaid diagrams, then checks those representations against the code.

Which diagrams can algorithm-design create?

It creates Mermaid UML class diagrams and sequence diagrams.

Similar skills

Everything for Design →

From the same set30

novelty-assessment Runs a research idea through literature search and returns a verdict: novel or not. Useful before you commit to a direction. CX Codex +1 1,800installs idea-generation A skill that generates research ideas, refines them over several rounds and checks novelty against the literature. Useful before you commit to a paper topic. CX Codex +1 1,800installs rebuttal-writing Turns reviewer comments on a paper into a structured, point-by-point rebuttal backed by evidence from the manuscript. CX Codex +1 1,700installs code-debugging Structured error analysis for ML experiments and research code. It categorizes tracebacks, limits retry cycles, and explains fixes line by line. CX Codex +1 1,700installs survey-generation Walks an agent through paper collection, outlining, writing and citation checking, then hands back a LaTeX survey with a .bib file. For when you need an actual literature review. CX Codex +1 1,700installs symbolic-equation Discovers scientific equations from numerical datasets using LLM-guided evolutionary search. Useful for symbolic regression and extracting interpretable physical laws. CX Codex +1 1,600installs experiment-code Writes and iterates on ML experiment code for a research paper: training, evaluation, debugging, plots. Useful when you need a batch of runs and a comparison. CX Codex +1 1,600installs paper-to-code Turns an ML research paper into a runnable code repository. Useful when reproducing published experiments and models without manual scaffolding. CX Codex +1 1,600installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor