
marcos-dv/ampl-agents
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Skills and Agents for modeling, solver tuning and more for Mathematical Optimization with AMPL. Compatible with agentic tools like Claude Code, Codex, Cursor...
概要
On demand expert knowledge for modeling, solver tuning, debugging, explainability, installation for Mathematical Optimization with AMPL. This repository includes Skills, Agents, and Rules for agentic tools like Claude Code, Codex, Cursor... Knowledge consists in Markdown files for Skills, Agents, Rules, and also a References section pointing to official documentation sources to improve quality of replies and reduce hallucinations (internet connection is recommended when using this repo). This repo is laid out so agentic tools discover it automatically. Place it where your tool already looks: keep skills/, agents/, rules/, and references/ as separate folders under .cursor, .claude, or .codex (project or home). Most tools infer those paths correctly even if the layout is flatter, but the separated folders match how Cursor, Claude Code, and Codex discover content and avoid collisions with other config in the same directory.
README
以下は原文 README の抜粋です。原文を見る。
AMPL experts support with Agentic AI
On demand expert knowledge for modeling, solver tuning, debugging, explainability, installation for Mathematical Optimization with AMPL. This repository includes Skills, Agents, and Rules for agentic tools like Claude Code, Codex, Cursor…
| Layer | Question it answers | Activation | Location |
|---|---|---|---|
| Skills | How do I do this task? | Loaded on demand when description matches |
skills/ |
| Agents | Who handles this bounded, read-only job? | Delegated to a separate context, returns a report | agents/ |
| Rules | What must always be true? | Always-on, every AMPL task | rules/ |
Knowledge consists in Markdown files for Skills, Agents, Rules, and also a References section pointing to official documentation sources to improve quality of replies and reduce hallucinations (internet connection is recommended when using this repo).
Install
This repo is laid out so agentic tools discover it automatically. Place it where your tool already looks:
| Scope | Cursor | Claude Code | Codex |
|---|---|---|---|
| This project only | .cursor/ |
.claude/ |
.codex/ |
| All projects (home) | ~/.cursor/ |
~/.claude/ |
~/.codex/ |
# Project-local (from your AMPL project root) — pick one
git clone .cursor
git clone .claude
git clone .codex
# Or globally for every project
git clone ~/.cursor
git clone ~/.claude
git clone ~/.codex
Recommended: keep skills/, agents/, rules/, and references/ as separate folders under .cursor, .claude, or .codex (project or home). Most tools infer those paths correctly even if the layout is flatter, but the separated folders match how Cursor, Claude Code, and Codex discover content and avoid collisions with other config in the same directory.
If that folder already exists, clone elsewhere and copy (or symlink) skills/, agents/, rules/, and references/ into it.
That is enough. The repo root maps onto the tool folder, so:
skills/— on-demand playbooks (ampl-installer,ampl-modeler,ampl-tuner,ampl-python,ampl-callbacks,ampl-energy,ampl-supply-chain)agents/— delegated specialists (ampl-debugger,ampl-explainer,ampl-supervisor)rules/— always-on constraints (verified solve, model structure, verified URLs, session hygiene, routing)references/references.md— URL library the agent should open and fetch from before inventing AMPL syntax or solver options
The skill ↔ agent split is a packaging hint, not a hard law — move a file either way if your harness behaves better that way. Any single markdown file also works pasted or @-attached as a system prompt (portability note).
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add marcos-dv/ampl-agents