Borrowing it
Nothing to install: this file belongs to qingzhoupro/afsim-skill. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/qingzhoupro/afsim-skill/master/.cursor/commands/afsim.mdgit clone --depth 1 https://github.com/qingzhoupro/afsim-skillWrote 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/commands/qingzhoupro/afsim-skill/afsim)<a href="https://agentmods.dev/commands/qingzhoupro/afsim-skill/afsim"><img src="https://agentmods.dev/badge/commands/qingzhoupro/afsim-skill/afsim/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/commands/qingzhoupro/afsim-skill/afsim"><img src="https://agentmods.dev/badge/commands/qingzhoupro/afsim-skill/afsim.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.00000 | $0.00588 |
| Opus 5.5 | $0.00000 | $0.00235 |
| Sonnet 5.5 | $0.00000 | $0.00118 |
| Haiku 4.5 | $0.00000 | $0.00059 |
Grade A, and why
afsim 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 1mo 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.
What it actually says
/afsim — 主命令入口
显示 AFSIM-SKILL 命令列表和快速参考。
命令列表
| 命令 | 功能 |
|---|---|
/afsim-auto |
全自动代码生成,无需确认直接输出 |
/afsim-auto step |
半自动,逐模块确认,适合学习/复杂场景 |
/afsim-learn <文档路径或内容> |
解析 MD/PDF 文档,融入 skill |
/afsim-debug |
报错处理,粘贴 Warlock/Wizard 报错信息获取修正 |
黄金法则
不要凭空自造 AFSIM 语法,要基于验证过的模板和官方 Demo 输出!
快速开始
新建场景(推荐用 /afsim-auto step)
/afsim-auto step
按提示输入需求,例如:"做一个红方萨姆防空系统对抗蓝方战机的场景"
AI 会逐模块确认:platform_type → sensor → weapon → route → processor,每步等待你的确认。
快速生成(用 /afsim-auto)
/afsim-auto 做一个红方萨姆防空系统对抗蓝方战机的场景
AI 自动完成全流程,直接输出代码。
学习文档(用 /afsim-learn)
/afsim-learn 将这个.md文件解析进skill:f:\docs\afsim_传感器.md
AI 自动解析文档中的 AFSIM 语法要点,存入 refs/learn/ 对应分类。
报错处理(用 /afsim-debug)
/afsim-debug
粘贴 Warlock/Wizard 的报错信息,AI 会匹配 errors-ref 并激活相关教训,给出修正方案。
快速参考
AFSIM 代码的核心块结构:
radar_signature NAME
constant 10 m^2
end_radar_signature
platform_type NAME WSF_PLATFORM
side blue
icon F-18E
radar_signature NAME
mover WSF_AIR_MOVER
debug
end_mover
end_platform_type
platform instance_name TYPE
side blue
route
position 30:00:00n 120:00:00e altitude 10000 ft msl
speed 300 kts
end_route
end_platform
random_seed 1
end_time 30 sec
完整模板见
refs/quick-ref.mdDemo 速查见refs/demos-index.md
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.
- 1mo ago First seen · 86 lines · 0 tokens per session scan A 4a4c232a241e
afsim is a command published in the GitHub repository qingzhoupro/afsim-skill (63 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 588 tokens. 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.
Other commands, from other repositories
verify-math
Verify a self-authored mathematical result end to end by routing claims across adversarial review, numerical falsification, symbolic or CAS checks, and Lean, then aggregating one report. Use when a theorem, proposition, conjecture, or paper-wide mathematical argument needs the appropriate combination of verification…
diff
Quantitative volume comparison between a CadQuery model and a reference STEP file.
simulation-calibrator
Test and refine simulation accuracy with validation loops, bias detection, and continuous improvement frameworks.
arg-diagram
ARG academic-paper diagram mode — standalone structural & conceptual diagram generation.
plot
Publication Polish. Runs after results-analysis (Phase 7). Audits all tables and figures produced in Phases 4–7, upgrades them to top-journal standards by calling the table and figure skills.
graphite-morphology-classify
Classify graphite in a cast-iron micrograph per ASTM A247 / ISO 945-1, quantify nodularity, and read the matrix — the single most diagnostic observation in a cast-iron case.