melodie-develop

melodie-develop is a skill for Claude Code from ABM4ALL/melodie-skills. It costs 31 tokens per session (5,199 once invoked), scanned A, original, MIT.

A Chinese-language assistant for turning a Melodie agent-based model design into code, test data, and documentation. Melodie is a framework for building simulations whose individual entities interact over time.

In plain words
What is it for?
Use it to create or modify model code, input and output data descriptions, tests, and documentation, including optional calibration, training, grid, or network components.
Why use it?
It translates a concept-level design into technical implementation while keeping the project documentation consistent.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to create or modify model code, input and output data descriptions, tests, and documentation, including optional calibration, training, grid, or network components.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/abm4all/melodie-skills/melodie-develop
Install

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.

Any agent
npx skills add ABM4ALL/melodie-skills --skill melodie-develop
Clone the repo
git clone --depth 1 https://github.com/ABM4ALL/melodie-skills

Made for: Claude Code.

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 melodie-develop

README.md
[![agentmods](https://agentmods.dev/badge/skills/abm4all/melodie-skills/melodie-develop/github.svg)](https://agentmods.dev/skills/abm4all/melodie-skills/melodie-develop)
Your own site
<a href="https://agentmods.dev/skills/abm4all/melodie-skills/melodie-develop"><img src="https://agentmods.dev/badge/skills/abm4all/melodie-skills/melodie-develop/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 melodie-develop

Your own site · 80×15
<a href="https://agentmods.dev/skills/abm4all/melodie-skills/melodie-develop"><img src="https://agentmods.dev/badge/skills/abm4all/melodie-skills/melodie-develop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,199 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00031 $0.05199
Opus 5 $0.00015 $0.02599
Sonnet 5 $0.00006 $0.01040
Haiku 4.5 $0.00003 $0.00520

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

Security

Grade A, and why

melodie-develop 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 9d 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.

skills_cn/melodie-develop/SKILL.md · 342 lines

How it starts

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

Melodie ABM 模型开发器

你是一名资深 ABM 开发者。你的职责是根据 README.md 中的设计文档,使用 Melodie 框架和 tab2dict 数据管理库,生成或修改模型代码

设计文档描述的是概念层面的模型设计(主体、交互、决策、政策)。开发阶段需要将概念设计翻译为技术实现——所有技术决策由 AI 自主做出。如果概念设计中有模糊或未明确的地方,按 AI 的最佳理解实现,并在最后标记出来让用户确认。

用户输入: $ARGUMENTS

语言规则

默认使用用户提问和交流时所用的语言。包括:对话、代码中的 docstring 和注释。除非用户明确要求切换语言,否则始终保持一致。

参考资料

所有参考资料位于 melodie-reference/,开发过程中根据需要加载:

  • 代码模板 — 每个核心类的完整模板及高级代码模式(tab2dict 集成、多智能体类型、Trainer 工作流等)
  • 数据文件指南 — 输入数据文件格式规范、质量检查规则
  • 智能体设计模式 — 四种设计模式、简单优先原则
  • 变更影响分析 — 每种变更类型影响哪些文件(修改现有模型时参考)

可选模块(当模型使用相应模块时加载,含完整可运行示例):

源码仓库(当上述参考资料不足以解决问题时,可通过网络搜索查看源码和示例):

  • Melodie — ABM 框架源码及示例项目
  • tab2dict — 数据管理库源码及测试用例

README.md 章节归属

README.md 的各章节分属两个 skill,本 skill 需要维护整个文档的一致性:

README 章节 归属 内容
模型概述(目的、智能体、交互机制、Melodie 模块) design 概念设计
模拟设计(时间结构、模拟循环、智能体初始化、智能体行为、情景设计、校准与验证) design 概念设计
数据设计 > 数据维度 design 概念设计
数据设计 > 输出指标 design 概念设计
模块设计(项目结构、类设计) develop 代码完成后填写
数据设计 > 输入数据文件 develop 代码完成后填写
数据设计 > 输出数据文件 develop 代码完成后填写
如何运行 develop 代码完成后填写

工作流程

第 1 步:理解请求,更新设计章节

读取项目根目录的 README.md。如果不存在或缺少"模型概述"或"模拟设计"章节,提示用户先运行 /melodie-design

然后根据 $ARGUMENTS 判断是否需要更新 README.md 的 design 归属章节

  • 有设计相关内容(用户描述了新的智能体行为、交互机制、情景、输出指标等模型设计层面的变更)→ 更新 README.md 中对应的 design 章节,使设计文档与用户的新要求对齐
  • 仅有代码层面指令(如"修复 bug"、"优化性能"、"重构某个类")→ 不更新,直接进入第 2 步
  • $ARGUMENTS(用户直接调用技能,未附带任何指令)→ 不更新,直接进入第 2 步

Read the full file on GitHub · 342 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. 9d ago First seen · 342 lines · 31 tokens per session scan A 067a829052b4

Subscribe to this mod's changes

melodie-develop is a skill published in the GitHub repository ABM4ALL/melodie-skills (12 stars, last pushed 4mo ago), licensed MIT. It adds 31 tokens to every session and 5,199 once invoked, about $0.0002 per session on Opus 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.

Related

Other skills, from other repositories

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

phylogenetics

Build and analyze phylogenetic trees using MAFFT (multiple alignment), IQ-TREE 2 (maximum likelihood), and FastTree (fast NJ/ML). Visualize with ETE3 or FigTree. For evolutionary analysis, microbial genomics, viral phylodynamics, protein family analysis, and molecular clock studies.

K-Dense-AI/scientific-agent-skills · 68 tokens

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

mapping-to-snomed

Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary. Use when the user wants to code findings, disorders, procedures, body structures, or substances to SNOMED CT, run an ECL…

maziyarpanahi/openmed · 205 tokens