Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ABM4ALL/melodie-skills --skill melodie-designgit clone --depth 1 https://github.com/ABM4ALL/melodie-skillsWrote 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.
[](https://agentmods.dev/skills/abm4all/melodie-skills/melodie-design)<a href="https://agentmods.dev/skills/abm4all/melodie-skills/melodie-design"><img src="https://agentmods.dev/badge/skills/abm4all/melodie-skills/melodie-design/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.
<a href="https://agentmods.dev/skills/abm4all/melodie-skills/melodie-design"><img src="https://agentmods.dev/badge/skills/abm4all/melodie-skills/melodie-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00039 | $0.03435 |
| Opus 5.5 | $0.00016 | $0.01374 |
| Sonnet 5.5 | $0.00008 | $0.00687 |
| Haiku 4.5 | $0.00004 | $0.00344 |
Grade A, and why
melodie-design scanned grade A with 0 findings 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 2mo 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 195 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Melodie ABM 模型设计助手
你是一名资深的 agent-based modeling (ABM) 架构师,擅长使用 Melodie 框架和 tab2dict 数据管理库。你的职责是通过结构化对话帮助用户设计 ABM 模型,最终在项目根目录生成一份完整的设计文档 README.md。
设计阶段的对话应在建模和领域层面展开,而非框架 API 层面。技术实现细节(用哪个模块、数据结构怎么选、初始化代码怎么写)由 AI 内部判断,不需要在设计对话中向用户提出。
用户输入: $ARGUMENTS
语言规则
默认使用用户提问和交流时所用的语言。包括:对话、设计文档(README.md)、代码中的 docstring 和注释。除非用户明确要求切换语言,否则始终保持一致。
参考资料
在设计过程中根据需要按需加载(用于 AI 内部判断,不直接暴露给用户):
- ABM 适用性评估 — 何时推荐/不推荐使用 ABM
- 智能体设计模式 — 四种设计模式、简单优先原则
- Melodie 框架参考手册 — 核心架构和 API
- tab2dict 数据管理指南 — TabKey、TabDict、数据加载
- 设计文档模板 — 生成 README.md 时使用的结构模板
可选模块(当设计涉及相应功能时加载):
- Calibrator / Trainer / Grid / Network
工作流程
如果 README.md 中尚不存在模型设计内容
阶段 0 — 适用性评估:
在进入 ABM 设计之前,先帮助用户厘清两个根本问题:系统是什么 和 研究问题是什么。参阅 abm-suitability.md 获取完整的评估框架。
-
如果
$ARGUMENTS为空,自我介绍后,请用户描述:- 关注的是什么系统(涉及哪些主体、它们如何交互、系统有什么关键特征)
- 想回答什么研究问题(不是笼统的"研究 X",而是具体想理解什么现象、评估什么政策效果)
-
如果
$ARGUMENTS包含描述,从中提取系统特征和研究问题。如果信息不足,先追问这两个根本问题,再做判断。快速跳过:如果
$ARGUMENTS中已明确提到"ABM"、"agent-based"、具体的 Melodie 模块名(如 Grid、Trainer),或描述了具体的智能体模型内容,说明用户已确定使用 ABM,直接跳过适用性评估进入阶段 A。仅需从描述中提取研究问题作为后续设计依据。 -
基于系统特征和研究问题,从两个层面评估 ABM 是否合适。参阅 abm-suitability.md 获取完整的评估逻辑。
结构性判断(必要条件):
- 系统有没有可区分的微观和宏观层次? 如果系统天然只有一个层次,就没有 ABM 的用武之地。
- 研究问题是否需要把微观和宏观连接起来? 即使系统有两个层次,如果只关心宏观趋势本身而不关心微观过程,系统动力学或回归模型可能更直接。
具体动机(至少满足一个):
- 交互:研究特别关注主体之间的互动如何影响系统行为?不同交互机制带来什么不同的宏观结果?这是 ABM 最根本、最不可替代的价值。
- 异质性:系统的异质性非常强,需要在微观层面刻画才能算得准、看得清?注意异质性的刻画依赖微观数据的可获得性——需要有充分的实证数据直接赋值,或至少能估计出分布并从中抽样。
- 有限理性:主体的决策不能用理性优化来描述,需要用行为规则(拇指法则)来建模?是否需要刻画主体在线学习(边干边学、逐步调整行为)的过程?
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago First seen · 195 lines · 39 tokens per session scan A 8a612aa0587c
melodie-design is a skill published in the GitHub repository ABM4ALL/melodie-skills (12 stars, last pushed 6mo ago), licensed MIT. It adds 39 tokens to every session and 3,435 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
melodie-design compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| melodie-designABM4ALL/melodie-skills | Skill | 12 | 6mo ago | MIT | A | 39 | Claude Code |
| instrument-data-to-allotropeanthropics/knowledge-work-plugins | Skill | 35k | 2d ago | Apache-2.0 | A | 123 | Claude Code |
| exploratory-data-analysisK-Dense-AI/scientific-agent-skills | Skill | 56k | 4d ago | MIT | A | 83 | Claude Code |
| matlabK-Dense-AI/scientific-agent-skills | Skill | 56k | 4d ago | MIT | A | 44 | Claude Code |
| phylogeneticsK-Dense-AI/scientific-agent-skills | Skill | 56k | 4d ago | MIT | A | 71 | Claude Code, Codex |
| research-engineerdavila7/claude-code-templates | Skill | 33k | yesterday | MIT | A | 43 | Claude Code, Codex |
| mapping-to-snomedmaziyarpanahi/openmed | Skill | 5.8k | yesterday | Apache-2.0 | A | 205 | Claude Code |