Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

macaulay2-skills

skill · youngsu-Kim/macaulay2-skillsGPL-3.0 licenceAudited 12 Oct 2026 · source 7e1c70101643

★ 0pushed today
✓SAFEGrade B · 89/100 · 12 Oct 2026 · 7e1c701
0repo stars · whole youngsu-Kim/macaulay2-skills

Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 7e1c70101643 and found no filesystem, network or shell access and no hard-coded secrets. What it does: Write, fix, and verify Macaulay2 (M2) code and read its output: polynomial rings and ideals, Groebner bases, free resolutions, Betti tables, Hilbert series and polynomials, primary decomposition, packages. Use whenever…

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “macaulay2-skills (youngsu-Kim/macaulay2-skills)”. Retrieved 12 Oct 2026. https://modelsatlas.com/skills/youngsu-kim/macaulay2-skills

Trust audit

Audit 0.4.1 · source read 12 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium3 low0 info

SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.

What the source does

  • FilesystemNone observedNo reads or writes in the source
  • NetworkNone observedNo outbound calls in the source
  • ShellNone observedNo commands run in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS0
L1 Static sourceSecrets, path traversal, supply chain, hidden codePASS3
L2 InstructionsPrompt injection, authority framing, hidden directivesPASS0
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass.

Findings (3)

LOWPrivilege escalation / persistencepriv.escalate · .github/workflows/verify.yml:22
F-06 Privilege escalation / persistenceCWE-269 · CWE-250Layer L1
sudo add-apt-repository -y ppa:macaulay2/macaulay2
Why
asks for elevated privileges
Fix
—
LOWPrivilege escalation / persistencepriv.escalate · .github/workflows/verify.yml:23
F-06 Privilege escalation / persistenceCWE-269 · CWE-250Layer L1
sudo apt-get update
Why
asks for elevated privileges
Fix
—
LOWPrivilege escalation / persistencepriv.escalate · .github/workflows/verify.yml:24
F-06 Privilege escalation / persistenceCWE-269 · CWE-250Layer L1
sudo apt-get install -y macaulay2
Why
asks for elevated privileges
Fix
—

Audit 0.4.1 · source sha 7e1c70101643 · 12 Oct 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

  • Publisheryoungsu-Kim GitHub userOwner of the repository this skill is read from
  • Source folderyoungsu-Kim/macaulay2-skillsThe exact folder we audited
  • LicenceGPL-3.0As the repository states it
  • Commit pinned for this verdict7e1c70101643A new audit runs when the source changes
  • Repository statusNot archivedPushed today
  • Sandboxed runNot runSkills are read, not executed; layer L4 is skipped

What it tells the agent

Full source on GitHub ↗

Its description: Write, fix, and verify Macaulay2 (M2) code and read its output: polynomial rings and ideals, Groebner bases, free resolutions, Betti tables, Hilbert series and polynomials, primary decomposition, packages. Use whenever…

---
name: macaulay2
description: >-
  Write, fix, and verify Macaulay2 (M2) code and read its output: polynomial
  rings and ideals, Groebner bases, free resolutions, Betti tables, Hilbert
  series and polynomials, primary decomposition, packages. Use whenever a task
  involves Macaulay2 or an M2 kernel/MCP tool (m2_evaluate, iN:/oN= prompts,
  "no method for adjacent objects" errors, betti tables), even when the user
  only describes the algebra in words or LaTeX.
---

# Macaulay2 core skill

Version-pinned knowledge for **Macaulay2 1.26**. Every rule below was checked
against a real kernel; `references/index.tsv`, `toc.md`, and `packages.md` are
generated from the docs trees shipped inside the same pinned install — core
plus the packages loaded by default (see the provenance headers). If your
kernel reports a different version, prefer its own `m2_help`.

## 1. Lookup ladder — do this BEFORE guessing a function name

M2 errors from a wrong name are misleading; guessing burns many turns.
In order:

1. Rules and references in this skill.
2. **Check the name exists**: `grep -E '^NAME' references/index.tsv`
   (columns: `symbol <TAB> blurb <TAB> page <TAB> source-package`). Use a
   PREFIX match, not exact: many symbols have only signature rows
   (`saturate(Ideal,Ideal)`, `factor(RingElement)`...) — 78+ bases on 1.26.
   The index covers core **plus the 21 default-loaded packages** (trap #11).
   A miss means the name is SUSPECT, not dead: pure aliases (`res`) and
   symbols inside multi-topic pages get no row.
3. **`m2_help topic`** (when available through the macaulay2-mcp server) —
   resolves real kernel bindings, aliases included, against the same pinned
   corpus (`m2_help "res"` → documents `freeResolution`).
4. Full page: `$PREFIX/share/doc/Macaulay2/<PKG>/html/<page>` — `<PKG>` is the
   4th column; macaulay2.com serves the same paths.

Worked example of trap #2 below: `grep -E '^reduce' references/index.tsv` →
no relevant rows, and `m2_help "reduceGb"` finds nothing ⇒ `reduceGb` does
not exist ⇒ you already have the reduced basis from `generators gb I`.
Contrast: `grep -E '^saturate' index.tsv` hits 21 signature rows (package:
Saturation) ⇒ real, and no loadPackage needed — it is ⚡ default-loaded.

## 2. Statements and output discipline

```m2
R = QQ[x,y,z]
I = ideal(x^3 - y, x^4 - z)
print (I == ideal(x^3 - y, x^4 - z))
-- expect: true
```

- Separate statements with **newlines, not semicolons**. A trailing `;`
  SUPPRESSES that statement's displayed result (`x + 1;` computes, prints
  nothing). In batch/script runs, only some things print at all — prefer
  explicit `print`.
- `print` takes ONE expression: `print (a, b)` sequences them. `print a | b`
  parses as `(print a) | b`. Strings concatenate with `|`, and use **double
  quotes** (single quotes are invalid).
- `A; B` on one line shows only `B`.
- **Shared kernel hygiene:** the kernel is one global namespace. If other
  agents/sessions may share it, prefix YOUR definitions (`my_R = QQ[x,y,z]`)
  AND your ring variable names (trap #15), and never call `session_reset`/
  `interrupt` — build each task self-contained in one call.
- **Syntax errors are kernel-fatal:** a parse error (e.g. using a reserved
  word like `in` as a variable) can restart the kernel with TOTAL state
  loss — unlike runtime errors (trap #6 survives). After any syntax error or
  if a name suddenly behaves like an unbound `IndexedVariable`, assume a
  fresh kernel and re-send the whole self-contained block.

## 3. The traps that cost models the most turns

| # | Trap | Reality (verified on 1.26) |
|---|------|----------------------------|
| 1 | `gb I` | returns a **GroebnerBasis object**; to SEE the polynomials: `generators (gb I)` (synonym `gens`). They are **already sorted and auto-reduced** — there is NO `reduceGb`. |
| 2 | error `no method for adjacent objects: NAME (of class Symbol)` | means NAME itself is unknown/juxtaposed — the **name**, not the spacing, is wrong. Reformatting the call never fixes it; grep the index instead. |
| 3 | `dim S/I` | parses as `(dim S)/I` → error. Quotients need parens: `dim (S/I)`, `degree (S/I)`. Both `dim` and `degree` also accept the **ideal directly**: `degree I` ✓ (verified). |
| 4 | `res (R/I)` | classic mistake — `res` (freeResolution) takes **ideals/modules/maps**, not quotient rings: use `res I`. (`hilbertPolynomial (S/I)` however DOES take the quotient.) |
| 5 | assigning to `gb`, `res`, `betti`, `ideal`, ... | `error: assignment to protected global variable` — pick another name. |
| 6 | a line failed halfway | the kernel is a REPL: **no rollback**. Earlier statements already took effect (`x = 2` on a failing line still leaves `x = 2`). Fix forward; `:=` scopes per-iteration locals in loops: `for k from 1 to 5 list (J := ideal(...); <expr>)`. |
| 7 | name now holds a value | `x = symbol x` restores the bare symbol. Note expressions captured values at assignment time. |
| 8 | graded invariants (`betti` degrees, `hilbertSeries`) | require a **homogeneous** ideal; non-homogeneous input gives misleading or failed output. |
| 9 | `loadPackage "P"` answers "not reloaded; try Reload => true" | P is **already loaded** — just use it. Force-reloading is fragile (breaks on packages with `needsPackage` dependencies). |
| 10 | batch scripts: one unresolved symbol | poisons the whole script's `User` package: you ALSO get `mutable unexported unset symbol(s) in package User: 'T'` noise. The FIRST error line is the real signal. |
| 11 | "I must loadPackage first" | **21 packages are loaded at startup** (⚡ in `packages.md`): PrimaryDecomposition, Saturation, Elimination, IntegralClosure, MinimalPrimes, TangentCone, ReesAlgebra, InverseSystems, LLLBases, Polyhedra, Varieties, Truncations, Complexes, PushForward, Classic, ConwayPolynomials, Isomorphism, SimpleDoc, OnlineLookup, PackageCitations (+Core). `primaryDecomposition`, `saturate`, `integralClosure`, `tangentCone`, `minimalPrimes` ... work in a FRESH session — do not load 

Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit 7e1c701

Download folder ↗
npx skills add youngsu-Kim/macaulay2-skills

Commands as the repository documents them: shown, never run by us. Our verdict covers commit 7e1c70101643 only.

Works in which agents?

What its own text says, not a test

AgentStatusMore
Claude CodeMentioned in its text, not testedSkills for Claude Code · About Claude Code
“Mentioned” means the skill’s text names the agent. We have not run it there.

Audit history

Every audit, every source change

  1. ✓SAFE B 89 / 100

    first audit · source 7e1c70101643

README badge

For maintainers · shows the latest audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/youngsu-kim/macaulay2-skills/badge.svg)](https://modelsatlas.com/skills/youngsu-kim/macaulay2-skills/)

The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.

Similar skills

macaulay2-mcp✓SAFE

youngsu-Kim/macaulay2-mcp

MCP server providing a persistent Macaulay2 1.26 session to Claude Code, opencode, LM Studio, and any MCP client

★ 0Grade B
eval-harness✓SAFE

affaan-m/everything-claude-code

Eval-driven development (EDD) framework for AI coding sessions — define capability and regression evals before coding, grade with code-based, model-based, rule, or human graders, and track pass@k and pass^k reliability.…

★ 303kGrade B
ecc-recipes✓SAFE

affaan-m/everything-claude-code

Map a described workflow to the right ECC command group with run-order and stop condition, or browse all command-group recipe families read live from the commands directory. Advisory only — never executes. Use when…

★ 302kGrade B
dynamic-workflow-mode✓SAFE

affaan-m/everything-claude-code

Design task-local harnesses, eval gates, and reusable skill extraction for Claude dynamic workflow mode and other adaptive agent harnesses. Use when building a task-local harness, adding eval gates, or extracting a…

★ 302kGrade B
django-verification!CAUTION

affaan-m/everything-claude-code

Run the full Django verification loop — environment check, mypy/ruff/black linting, migration safety, pytest with coverage targets, pip-audit and bandit security scans, settings and logging review, and diff review —…

★ 294kGrade B
django-patterns✓SAFE

affaan-m/everything-claude-code

Django architecture patterns, REST API design with DRF, ORM best practices, caching, signals, middleware, and production-grade Django apps. Use when building or reviewing Django apps, DRF APIs, ORM queries, or caching.

★ 294kGrade B

Add this badge to your README

[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/youngsu-kim/macaulay2-skills/badge.svg)](https://modelsatlas.com/skills/youngsu-kim/macaulay2-skills/)

Questions about macaulay2-skills

What does the macaulay2-skills skill do?
Version-pinned, machine-verified Macaulay2 1.26 Agent Skills for Claude Code, OpenCode, LM Studio — and any agent that can read a file.
Is macaulay2-skills safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can macaulay2-skills access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
Which assistants does macaulay2-skills work with?
Its documentation mentions claude-code. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (7e1c70101643), read on 2026-10-12. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.