Agent skill

Glm Basics

by benchflow-ai in benchflow-ai/skillsbench

Basic usage of the General Lake Model (GLM) for lake temperature simulation.

MITAuto-check passed

Install Glm Basics

skills CLI
$ npx skills add benchflow-ai/skillsbench --skill glm-basics -a claude-code

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

GitHub CLI
$ gh skill install benchflow-ai/skillsbench glm-basics --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/benchflow-ai/skillsbench.git skills-src && mkdir -p .claude/skills && cp -r skills-src/tasks/glm-lake-mendota/environment/skills/glm-basics .claude/skills/glm-basics && 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
glm-basics
GitHub stars
1.8k
Token cost
~540 tokens
SKILL.md length
139 words
Files
1
Skills in repo
178
Repo updated
First seen
Licence
MIT

At a glance

Basic usage of the General Lake Model (GLM) for lake temperature simulation.

  • You need to run GLM
  • SKILL.md covers Overview, Running GLM, Input File Structure and Configuration File Format, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Understand input files

What it does

Glm Basics is an agent skill from benchflow-ai/skillsbench. Basic usage of the General Lake Model (GLM) for lake temperature simulation. Use when you need to run GLM, understand input files, or modify configuration parameters.

Its SKILL.md is about 540 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: SkillsBench evaluates how well skills work and how effective agents are at using them. The licence is MIT.

When your agent uses it

  • You need to run GLM
  • Understand input files
  • Modify configuration parameters

Example prompts

  • “/glm-basics”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 9a1f4dd. 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 bash, fortran and python).

    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

Glm Basics loads about 540 tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 139 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~44
When it runs · the whole SKILL.md, loaded when a task matches
~540

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

The full file from benchflow-ai/skillsbench at commit 9a1f4dd, republished under its MIT licence (© benchflow-ai). 139 words, ~540 tokens.

Download SKILL.mdSave it as .claude/skills/glm-basics/SKILL.md (or your agent's skills folder).
name
glm-basics
description
Basic usage of the General Lake Model (GLM) for lake temperature simulation. Use when you need to run GLM, understand input files, or modify configuration parameters.
license
MIT

GLM Basics Guide

Overview

GLM (General Lake Model) is a 1D hydrodynamic model that simulates vertical temperature and mixing dynamics in lakes. It reads configuration from a namelist file and produces NetCDF output.

Running GLM

bash
cd /root
glm

GLM reads glm3.nml in the current directory and produces output in output/output.nc.

Input File Structure

FileDescription
glm3.nmlMain configuration file (Fortran namelist format)
bcs/*.csvBoundary condition files (meteorology, inflows, outflows)

Configuration File Format

glm3.nml uses Fortran namelist format with multiple sections:

fortran
&glm_setup
   sim_name = 'LakeName'
   max_layers = 500
/
&light
   Kw = 0.3
/
&mixing
   coef_mix_hyp = 0.5
/
&meteorology
   meteo_fl = 'bcs/meteo.csv'
   wind_factor = 1
   lw_factor = 1
   ch = 0.0013
/
&inflow
   inflow_fl = 'bcs/inflow1.csv','bcs/inflow2.csv'
/
&outflow
   outflow_fl = 'bcs/outflow.csv'
/

Modifying Parameters with Python

python
import re

def modify_nml(nml_path, params):
    with open(nml_path, 'r') as f:
        content = f.read()
    for param, value in params.items():
        pattern = rf"({param}\s*=\s*)[\d\.\-e]+"
        replacement = rf"\g<1>{value}"
        content = re.sub(pattern, replacement, content)
    with open(nml_path, 'w') as f:
        f.write(content)

# Example usage
modify_nml('glm3.nml', {'Kw': 0.25, 'wind_factor': 0.9})

Common Issues

IssueCauseSolution
GLM fails to startMissing input filesCheck bcs/ directory
No output generatedInvalid nml syntaxCheck namelist format
Simulation crashesUnrealistic parametersUse values within valid ranges

Best Practices

  • Always backup glm3.nml before modifying
  • Run GLM after each parameter change to verify it works
  • Check output/ directory for results after each run

© benchflow-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in tasks/glm-lake-mendota/environment/skills/glm-basics of benchflow-ai/skillsbench.

Open the folder on GitHubat commit 9a1f4dd

Compare with similar skills

Glm Basics 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.

Glm Basics compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Glm Basics this skillbenchflow-ai/skillsbench1.8k—~540Automated safety check: PassMIT
Eas Simulatorsickn33/agentic-awesome-skills47k1 repos~6kAutomated safety check: NotesMIT
Basicbergside/awesome-design-skills3.1k1 repos~969Automated safety check: PassMIT
Glmmajiayu000/claude-skill-registry6661 repos~1.4kAutomated safety check: PassMIT
Makepad Basicssickn33/agentic-awesome-skills47k2 repos~1.2kAutomated safety check: PassMIT
General Counsel Advisoralirezarezvani/claude-skills28k—~2.3kAutomated safety check: PassMIT

Similar skills

  • Eas Simulator

    sickn33/agentic-awesome-skills

    Curated upstream guidance for Eas Simulator; use when the workflow matches the user goal.

    47k GitHub starsUsed in 1 repo~6k tokens
    MobileAuto-check: notes
  • Basic

    bergside/awesome-design-skills

    Print-inspired visual language for books, magazines, and reports with editorial grids and expressive typography.

    3.1k GitHub starsUsed in 1 repo~969 tokens
    Frontend & DesignAuto-check passed
  • Glm

    majiayu000/claude-skill-registry

    Use this model doc whenever the user wants to run a classical General Linear Model (GLM) for task-evoked fMRI activation analysis.

    666 GitHub starsUsed in 1 repo~1.4k tokens
    AI & LLM EngineeringAuto-check passed
  • Makepad Basics

    sickn33/agentic-awesome-skills

    CRITICAL: Use for Makepad getting started and app structure.

    47k GitHub starsUsed in 2 repos~1.2k tokens
    Auto-check passed
  • General Counsel Advisor

    alirezarezvani/claude-skills

    General Counsel advisory for startups: contract review (MSA, SaaS, NDA, DPA, employment), IP strategy, term sheet decoding, and regulatory landscape mapping.

    28k GitHub stars~2.3k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Simulate

    indranilbanerjee/digital-marketing-pro

    Run Monte Carlo simulations (default 10,000 iterations via revenue-simulator.py) of marketing scenarios — channel-mix shifts, budget reallocations, new-channel launches — reporting…

    855 GitHub starsUsed in 1 repo~2.1k tokens
    Auto-check passed

More from benchflow-ai/skillsbench

All 178 skills in this repo
  • Lean4 Memories

    benchflow-ai/skillsbench

    This skill should be used when working on Lean 4 formalization projects to maintain persistent memory of successful proof patterns, failed approaches, project conventions, and user preferences…

    1.8k GitHub stars~3.2k tokensUpdated 2 mo ago
    Auto-check passed
  • Senior Data Engineer

    benchflow-ai/skillsbench

    World-class data engineering skill for building scalable data pipelines, ETL/ELT systems, real-time streaming, and data infrastructure.

    1.8k GitHub stars~5.9k tokensUpdated 2 mo ago
    Auto-check passed
  • Ac Branch Pi Model

    benchflow-ai/skillsbench

    AC branch pi-model power flow equations (P/Q and |S|) with transformer tap ratio and phase shift, matching acopf-math-model.md and MATPOWER branch fields.

    1.8k GitHub stars~1.1k tokensUpdated 2 mo ago
    Auto-check passed
  • Civ6lib

    benchflow-ai/skillsbench

    Civilization 6 district mechanics library. An agent skill from benchflow-ai/skillsbench.

    1.8k GitHub stars~1.7k tokensUpdated 2 mo ago
    Auto-check passed
  • D3 Visualization

    benchflow-ai/skillsbench

    Build deterministic, verifiable data visualizations with D3.js (v6).

    1.8k GitHub stars~1.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Dc Power Flow

    benchflow-ai/skillsbench

    DC power flow analysis for power systems. An agent skill from benchflow-ai/skillsbench.

    1.8k GitHub stars~717 tokensUpdated 2 mo ago
    Auto-check passed

Questions about Glm Basics

What does Glm Basics do?

Basic usage of the General Lake Model (GLM) for lake temperature simulation. Glm Basics is an agent skill from benchflow-ai/skillsbench. Basic usage of the General Lake Model (GLM) for lake temperature simulation.

When should I use Glm Basics?

Glm Basics fits situations like: you need to run GLM; understand input files; modify configuration parameters.

How do I install Glm Basics in Claude Code?

Run `npx skills add benchflow-ai/skillsbench --skill glm-basics -a claude-code`. Or copy the skill folder (tasks/glm-lake-mendota/environment/skills/glm-basics in benchflow-ai/skillsbench) into .claude/skills/glm-basics in your project. Claude Code loads it when a task matches its description.

How do I install Glm Basics in Codex?

Run `npx skills add benchflow-ai/skillsbench --skill glm-basics -a codex`. Or copy the skill folder (tasks/glm-lake-mendota/environment/skills/glm-basics in benchflow-ai/skillsbench) into .agents/skills/glm-basics in your project. Codex loads it when a task matches its description.

Can I use Glm Basics 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 benchflow-ai/skillsbench --skill glm-basics -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/glm-basics, .gemini/skills/glm-basics, .github/skills/glm-basics and .opencode/skills/glm-basics in your project.

What does Glm Basics need to run?

SKILL.md names no scripts, command-line tools or credentials: Glm Basics is instructions for the agent only. Our summary lists: Python 3.

Does Glm Basics 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 Glm Basics 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 Glm Basics use?

Glm Basics is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Glm Basics use?

About 540 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Glm Basics?

Skills that share tags, products or a category with Glm Basics: Eas Simulator (sickn33/agentic-awesome-skills, 47k stars), Basic (bergside/awesome-design-skills, 3.1k stars), Glm (majiayu000/claude-skill-registry, 666 stars) and Makepad Basics (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Glm Basics?

benchflow-ai (a GitHub organization) maintains it in benchflow-ai/skillsbench, which has 1,832 GitHub stars. The repository holds 178 skills in this directory. The repository was last updated on July 23, 2026.

Source: benchflow-ai/skillsbench on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.