MD

marcos-dv/ampl-agents

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

10 stars Качество 60 Тренд 16MIT

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).

Открыть полный README на GitHub

Рекомендуемые инструменты

Попробуйте другой запрос или уберите фильтр.

Установка

npx skillfish add marcos-dv/ampl-agents
Новичок в MCP? Начните с руководства на mcpskill.org →