ampl-installer

ampl-installer is a skill for Claude Code, Codex from marcos-dv/ampl-agents. It costs 68 tokens per session (3,352 once invoked), scanned A, original, MIT.

A setup guide for AMPL and amplpy, the Python interface to AMPL, a language and tool for describing mathematical optimization problems. It covers solver modules and license choices, including free, academic, trial, and commercial options.

In plain words
What is it for?
Use it to install amplpy, add or activate solver modules, choose a suitable license, set up Colab or Docker, and verify that a basic optimization solve works.
Why use it?
It helps resolve installation, solver, module, licensing, and environment problems before modeling work begins. It also provides Google Colab as an option for trying AMPL without a local setup.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is Always-on constraints ([verified references](../../rules/ampl-verified-references.md), [session hygiene](../../rules/ampl-session-hygiene.md)) live in [`rules/`.

Good fit Use it to install amplpy, add or activate solver modules, choose a suitable license, set up Colab or Docker, and verify that a basic optimization solve works.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/marcos-dv/ampl-agents
agentmods
npx agentmods add skills/marcos-dv/ampl-agents/ampl-installer

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ampl-installer

README.md
[![agentmods](https://agentmods.dev/badge/skills/marcos-dv/ampl-agents/ampl-installer/github.svg)](https://agentmods.dev/skills/marcos-dv/ampl-agents/ampl-installer)
Your own site
<a href="https://agentmods.dev/skills/marcos-dv/ampl-agents/ampl-installer"><img src="https://agentmods.dev/badge/skills/marcos-dv/ampl-agents/ampl-installer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ampl-installer

Your own site · 80×15
<a href="https://agentmods.dev/skills/marcos-dv/ampl-agents/ampl-installer"><img src="https://agentmods.dev/badge/skills/marcos-dv/ampl-agents/ampl-installer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,352 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Output Handling · line 74
    Output size or generation rate is not bounded. Unbounded output enables denial-of-service through resource exhaustion, log flooding, or context-window stuffing.
    Fix: Set explicit limits on output length, generation count, and rate. Use max_tokens and truncation to prevent unbounded output.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.03352
Opus 5 $0.00034 $0.01676
Sonnet 5 $0.00014 $0.00670
Haiku 4.5 $0.00007 $0.00335

Measured 10d ago against content hash 780bd4df89dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

ampl-installer scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

IF you have internet access (WebFetch, browser, or curl):
skills/ampl-installer/SKILL.md · 300 lines

How it starts

The opening of the file, as written. The whole thing — 300 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AMPL Installer Skill

Always-on constraints (verified references, session hygiene) live in rules/ and apply whenever this skill is active.

Mission

You get users from zero to a working amplpy environment: pip install amplpy, amplpy.modules install/activate, solver modules, and a verified ampl.solve(). For users who want to try AMPL without local setup, recommend Google Colab via colab.ampl.com (notebooks install amplpy in-session). You explain which AMPL license fits the user's situation (free CE, free academic, commercial trial, paid commercial) and what solvers each tier unlocks.

You do not build models or write application code — delegate to ampl-modeler / ampl-python after install succeeds.


Verified reference library

Topic URL
amplpy getting started https://amplpy.ampl.com/en/latest/getting-started.html
amplpy modules (install CLI) https://dev.ampl.com/ampl/python/modules.html
AMPL Community Edition https://ampl.com/ce
Academic licenses https://ampl.com/academia/
License overview (dev) https://dev.ampl.com/more/new.html
AMPL pricing / commercial https://ampl.com/pricing/
License portal (signup, UUID) https://portal.ampl.com/
PyPI ampl modules index https://pypi.ampl.com
AMPL Docker https://dev.ampl.com/ampl/docker/index.html
AMPL Model Colaboratory (examples, zero local install) https://colab.ampl.com
MO-Book (theory + amplpy notebooks) https://mobook.ampl.com
AMPL install guide (VS Code) https://ampl.com/ampl-install-guide/
AMPL (Official) VS Code extension https://marketplace.visualstudio.com/items?itemName=AMPLOptimizationInc.ampl-plugin-official
VS Code extension announcement https://ampl.com/blog/official-ampl-extension-for-visual-studio/
What's new (IDE transition) https://dev.ampl.com/more/new.html
Support forum https://discourse.ampl.com/

Read the full file on GitHub · 300 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 300 lines · 68 tokens per session scan A 780bd4df89dd

Subscribe to this mod's changes

ampl-installer is a skill published in the GitHub repository marcos-dv/ampl-agents (10 stars, last pushed 19d ago), licensed MIT. It adds 68 tokens to every session and 3,352 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

temporal-python-testing

Test Temporal workflows with pytest, time-skipping, and mocking strategies. Covers unit testing, integration testing, replay testing, and local development setup. Use when implementing Temporal workflow tests or debugging test failures.

wshobson/agents · 45 tokens

fastapi-templates

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

wshobson/agents · 37 tokens

manimgl-best-practices

Trigger when: (1) User mentions "manimgl" or "ManimGL" or "3b1b manim", (2) Code contains from manimlib import , (3) User runs manimgl CLI commands, (4) Working with InteractiveScene, self.frame, self.embed(), ShowCreation(), or ManimGL-specific patterns. Best practices for ManimGL (Grant Sanderson's 3Blue1Brown…

calesthio/OpenMontage · 167 tokens

python-packaging-bug-finder

Use when you need to find known packaging bugs, fixes, and workarounds for Python projects by searching GitHub issues and analyzing their resolution status.

opendatahub-io/ai-helpers · 37 tokens

python-packaging-static-audit

Run hexora static analysis on a Python package repository to detect suspicious code patterns, then triage findings with deterministic rules and AI reasoning to produce a structured risk report section.

opendatahub-io/ai-helpers · 41 tokens

python-full-deps

Resolve the full install-time dependency tree for a Python package. Use when the user needs all transitive dependencies, full dependency list, or install requirements resolved for a specific Python version with environment markers.

opendatahub-io/ai-helpers · 44 tokens