Agent skill · Audited from source
macaulay2-skills
skill · youngsu-Kim/macaulay2-skillsGPL-3.0 licenceAudited 12 Oct 2026 · source 7e1c70101643
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…
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
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
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 3 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (3)
LOWPrivilege escalation / persistencepriv.escalate · .github/workflows/verify.yml:22
sudo add-apt-repository -y ppa:macaulay2/macaulay2
- Why
- asks for elevated privileges
- Fix
- —
LOWPrivilege escalation / persistencepriv.escalate · .github/workflows/verify.yml:23
sudo apt-get update
- Why
- asks for elevated privileges
- Fix
- —
LOWPrivilege escalation / persistencepriv.escalate · .github/workflows/verify.yml:24
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
npx skills add youngsu-Kim/macaulay2-skills
git clone https://github.com/youngsu-Kim/macaulay2-skills git -C macaulay2-skills checkout 7e1c70101643
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
| Agent | Status | More |
|---|---|---|
| Claude Code | Mentioned in its text, not tested | Skills for Claude Code · About Claude Code |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
7e1c70101643
README badge
For maintainers · shows the latest audit
[](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
youngsu-Kim/macaulay2-mcp
MCP server providing a persistent Macaulay2 1.26 session to Claude Code, opencode, LM Studio, and any MCP client
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.…
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…
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…
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 —…
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.
Add this badge to your README
[](https://modelsatlas.com/skills/youngsu-kim/macaulay2-skills/)
<a href="https://modelsatlas.com/skills/youngsu-kim/macaulay2-skills/"><img src="https://modelsatlas.com/skills/youngsu-kim/macaulay2-skills/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about macaulay2-skills
What does the macaulay2-skills skill do?
Is macaulay2-skills safe to install?
What can macaulay2-skills access on my machine?
Which assistants does macaulay2-skills work with?
How current is this page?
Sources
- github.com/youngsu-Kim/macaulay2-skills — the audited source at commit 7e1c70101643 and every finding aboveObserved · 12 Oct 2026
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.
- What does the macaulay2-skills skill do?
- Is macaulay2-skills safe to install?
- What can macaulay2-skills access on my machine?