Agent skill

Algorithm Design

by lingzhi227 in lingzhi227/agent-research-skills

Design algorithms with LaTeX pseudocode and UML diagrams. An agent skill from lingzhi227/agent-research-skills.

No licenceAuto-check passedDevelopment

Install Algorithm Design

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

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install lingzhi227/agent-research-skills algorithm-design --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/lingzhi227/agent-research-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/algorithm-design .claude/skills/algorithm-design && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
algorithm-design
GitHub stars
383
Token cost
~594 tokens
SKILL.md length
155 words
Files
2 (incl. references)
Skills in repo
31
Repo updated
First seen
Licence
None found

At a glance

Design algorithms with LaTeX pseudocode and UML diagrams. An agent skill from lingzhi227/agent-research-skills.

  • Works in 4 steps: Formalize the Algorithm → Generate LaTeX Pseudocode → Generate UML Diagrams (Mermaid) → …
  • Formalizing methods for a paper
  • SKILL.md covers Input, References, Workflow and Rules, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Algorithm Design is an agent skill from lingzhi227/agent-research-skills. Design algorithms with LaTeX pseudocode and UML diagrams. Generate algorithmic environments, Mermaid class/sequence diagrams, and ensure consistency between pseudocode and implementation. Use when formalizing methods for a paper.

Its SKILL.md is about 590 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/algorithm-templates.md`).

It sits in Development, covering Diagrams. It works with Mermaid and LaTeX. The repository describes itself as: Skills for Claude Code — deep-research: systematic academic literature review.

When your agent uses it

  • Formalizing methods for a paper
  • Tasks that involve Diagrams

Example prompts

  • “/algorithm-design”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Formalize the Algorithm
  2. Generate LaTeX Pseudocode
  3. Generate UML Diagrams (Mermaid)
  4. Verify Consistency

What it can do on your machine

Read from SKILL.md and the folder at commit 9e6c085. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are mermaid and latex).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Algorithm Design loads about 594 tokens when it runs, and up to ~1.7k if it reads all its reference files. Until then it costs about 62 tokens; SKILL.md has 155 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~62
When it runs · the whole SKILL.md, loaded when a task matches
~594
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 155 words (~594 tokens).

“Formalize methods into algorithm pseudocode and system architecture diagrams.”

— opening of SKILL.md by lingzhi227
name
algorithm-design
argument-hint
method-description

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (references) in skills/algorithm-design of lingzhi227/agent-research-skills.

  • SKILL.md
  • references/algorithm-templates.md

Open the folder on GitHubat commit 9e6c085

Compare with similar skills

Algorithm Design next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Algorithm Design compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Algorithm Design this skilllingzhi227/agent-research-skills383—~594Automated safety check: PassNone
Pretty Mermaid Rendererimxv/Pretty-mermaid-skills1.5k—~2kAutomated safety check: PassMIT
Diagram Generatorzhaoxuya520/reverse-skill40k1 repos~2.3kAutomated safety check: WarnMIT
Research Figurechingswy/Skill-Research-Figure178—~5kAutomated safety check: PassNone
Architecture Diagramkonraddzbik/architecture-diagram-skill111—~5kAutomated safety check: PassMIT
Drawio Academic Skillsbahayonghang/drawio-skills286—~3.2kAutomated safety check: NotesMIT

Similar skills

  • Pretty Mermaid Renderer

    imxv/Pretty-mermaid-skills

    Writes and renders Mermaid diagrams as themed SVG, PNG or terminal ASCII and Unicode art with a bundled Node.js CLI that needs no browser.

    1.5k GitHub stars~2k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Diagram Generator

    zhaoxuya520/reverse-skill

    Turns text, notes, code, schemas or tables into diagram source in Mermaid, Graphviz DOT, PlantUML or SVG, and renders files when you ask for an image or PDF.

    40k GitHub starsUsed in 1 repo~2.3k tokens
    DevelopmentAuto-check: warnings
  • Research Figure

    chingswy/Skill-Research-Figure

    Generate publication-quality figures for academic papers: LaTeX TikZ method pipelines and Blender 3D renders.

    178 GitHub stars~5k tokensUpdated 27 days ago
    DevelopmentAuto-check passed
  • Architecture Diagram

    konraddzbik/architecture-diagram-skill

    Build interactive, click-through architecture diagrams for software systems — a self-contained single HTML file with animated step-by-step flows, mode toggles (dev/prod, offline/online, v1/v2)…

    111 GitHub stars~5k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Drawio Academic Skills

    bahayonghang/drawio-skills

    Publication-figure overlay for draw.io. An agent skill from bahayonghang/drawio-skills.

    286 GitHub stars~3.2k tokensUpdated 1 mo ago
    DevelopmentAuto-check: notes
  • Chatbot Mvp Distillation

    pdsuwwz/chatgpt-vue3-light-mvp

    Distill the chatgpt-vue3-light-mvp project into reusable architecture for building similar ChatGPT-style web products in other repositories.

    578 GitHub stars~722 tokensUpdated 2 mo ago
    DevelopmentAuto-check passed

More from lingzhi227/agent-research-skills

All 31 skills in this repo
  • Backward Traceability

    lingzhi227/agent-research-skills

    Makes each number in a LaTeX paper link back to the code line that produced it, using hypertarget and hyperlink tags and compile-time `\num` formulas.

    383 GitHub stars~802 tokensUpdated 7 mo ago
    Auto-check passed
  • Statistical Data Analysis

    lingzhi227/agent-research-skills

    Writes statistical analysis code for experimental data, runs it through a four-round review, and reports effect sizes, p-values and confidence intervals.

    383 GitHub stars~886 tokensUpdated 7 mo ago
    Auto-check passed
  • Excalidraw Canvas Toolkit

    lingzhi227/agent-research-skills

    Draws and refines Excalidraw diagrams on a live canvas through MCP tools or a REST API, with screenshots, file import and export, snapshots and Mermaid conversion.

    383 GitHub stars~3.8k tokensUpdated 7 mo ago
    Auto-check passed
  • Research Experiment Designer

    lingzhi227/agent-research-skills

    Plans research experiments in four progressive stages, from a first working implementation through baseline tuning and creative research to ablation studies.

    383 GitHub stars~752 tokensUpdated 7 mo ago
    Auto-check passed
  • Scientific Figure Generation

    lingzhi227/agent-research-skills

    Generates publication-quality scientific figures with matplotlib or seaborn through query expansion, a run-and-retry coding loop and a visual check of the rendered PNG.

    383 GitHub stars~809 tokensUpdated 7 mo ago
    Auto-check passed
  • Research Idea Generation

    lingzhi227/agent-research-skills

    Generates and iteratively refines research ideas for a given area, checking each one's novelty against Semantic Scholar and arXiv, and scoring it on interestingness, feasibility and novelty.

    383 GitHub stars~747 tokensUpdated 7 mo ago
    Auto-check passed

Works with

Questions about Algorithm Design

What does Algorithm Design do?

Design algorithms with LaTeX pseudocode and UML diagrams. An agent skill from lingzhi227/agent-research-skills. Algorithm Design is an agent skill from lingzhi227/agent-research-skills. Design algorithms with LaTeX pseudocode and UML diagrams.

When should I use Algorithm Design?

Algorithm Design fits situations like: formalizing methods for a paper; tasks that involve Diagrams.

How do I install Algorithm Design in Claude Code?

Run `npx skills add lingzhi227/agent-research-skills --skill algorithm-design -a claude-code`. Or copy the skill folder (skills/algorithm-design in lingzhi227/agent-research-skills) into .claude/skills/algorithm-design in your project. Claude Code loads it when a task matches its description.

How do I install Algorithm Design in Codex?

Run `npx skills add lingzhi227/agent-research-skills --skill algorithm-design -a codex`. Or copy the skill folder (skills/algorithm-design in lingzhi227/agent-research-skills) into .agents/skills/algorithm-design in your project. Codex loads it when a task matches its description.

Can I use Algorithm Design in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add lingzhi227/agent-research-skills --skill algorithm-design -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/algorithm-design, .gemini/skills/algorithm-design, .github/skills/algorithm-design and .opencode/skills/algorithm-design in your project.

What does Algorithm Design need to run?

SKILL.md names no scripts, command-line tools or credentials: Algorithm Design is instructions for the agent only.

Does Algorithm Design access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Algorithm Design safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Algorithm Design use?

No licence was found for Algorithm Design or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Algorithm Design use?

About 594 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.1k tokens, read only when the agent opens those files.

What are the alternatives to Algorithm Design?

Skills that share tags, products or a category with Algorithm Design: Pretty Mermaid Renderer (imxv/Pretty-mermaid-skills, 1.5k stars), Diagram Generator (zhaoxuya520/reverse-skill, 40k stars), Research Figure (chingswy/Skill-Research-Figure, 178 stars) and Architecture Diagram (konraddzbik/architecture-diagram-skill, 111 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Algorithm Design?

lingzhi227 (a GitHub user) maintains it in lingzhi227/agent-research-skills, which has 383 GitHub stars. The repository holds 31 skills in this directory. The repository was last updated on February 27, 2026.

Source: lingzhi227/agent-research-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.