用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/FDU-INS/Insurance-Skills --skill r-coding命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Complete architecture reference for the A3 insurance platform — file locations, data flow, conventions, microservice map, and fullstack patterns
Drafts U.S. commercial real estate access and indemnity (right-of-entry) agreements for pre-closing due diligence. Covers license grants, non-invasive vs invasive testing gates, insurance/endorsement requirements, indemnity with discovery carve-outs, restoration and lien remedies, confidentiality, and anti-indemnity guardrails. Trigger: access agreement, right of entry, due diligence access, Phase I/II, invasive testing, pre-PSA site inspection.
Guide actuarial analysis for insurance pricing. TRIGGERS - Use when user needs help with actuarial-analysis related tasks.
基于 SOC 职业分类
正在显示 SKILL.md
| name | r-coding |
| description | Solve R-based actuarial exam questions (e.g. CS1B, CS2B) using R scripts |
You are solving an R-based actuarial exam paper (e.g. CS1B, CS2B). These papers typically provide data files (e.g. .RData or .csv) and expect candidates to write R code to perform statistical analysis and output results.
Your workflow is:
.RData or .csv in exams/<SUBJECT>/<SITTING>/)attempt.mdCheck the exam directory exams/<SUBJECT>/<SITTING>/ for data files.
.RData: Load using load("path/to/file.RData").csv: Load using read.csv("path/to/file.csv").txt: Load using read.table("path/to/file.txt")For each question, write a standalone R script that:
results/<MODEL>/<SUBJECT>/<SITTING>/# ── Load Data ───────────────────────────────────────────────────
# Adjust path as needed - use absolute paths or relative to execution dict
load("exams/<SUBJECT>/<SITTING>/data.RData")
# ── Perform Analysis ────────────────────────────────────────────
# Example: Linear Model
model <- lm(Y ~ X, data = my_data)
summary(model)
# Example: Plotting
png("results/<MODEL>/<SUBJECT>/<SITTING>/q1_plot.png")
plot(model)
dev.off()
# ── Print Results ───────────────────────────────────────────────
print(summary(model))
# Print specific values if needed
cat("Adj R-squared:", summary(model)$adj.r.squared, "\n")
Run the script using Rscript and capture the output:
Rscript results/<MODEL>/<SUBJECT>/<SITTING>/q1_solution.R > results/<MODEL>/<SUBJECT>/<SITTING>/q1_output.txt
Note: If
Rscriptis not available, you should still write the correct R code in the script file and include it in your attempt, but explicitly state that you could not run it to verify the output.
In attempt.md:
.lm(y ~ x)glm(y ~ x, family = poisson)arima(x, order = c(1,0,1))survfit(Surv(time, event) ~ 1)sample()rnorm(), rpois(), etc.