跳到正文
cccskills
免费在 GitHub 公开中文介绍

CrimeStats

从美国公开数据源整理城市犯罪率、近期事件、同比变化和地区比较,并为每项数字注明来源与数据年份,同时说明统计延迟和事件数据不完整等限制。

原文查看原文说明

Pulls US city crime statistics from public sources (FBI crime data, city police data portals, state open-data portals, rate aggregators): rates per 100K, year-over-year trends, recent incidents and city comparisons, defaulting to a configured home city. USE WHEN crime stats, crime rate, crime trends, violent crime, property crime, recent incidents, neighborhood safety, compare cities, is my city safe. NOT FOR people investigations.

danielmiessler/LifeOS星标 19,636(GitHub 19,636 + cccskills 0)

实测评分 未实测

查看安装方法

适用场景

  • 查询美国城市的犯罪率
  • 比较邻近城市的犯罪趋势
  • 查看近期报告的事件
  • 了解暴力犯罪的变化

中文介绍

功能

CrimeStats 从 FBI 犯罪统计、警察部门公开数据和州级开放数据等来源收集美国城市的犯罪信息。它可以整理每十万人犯罪率、同比变化、暴力犯罪与财产犯罪分类、近期报告的事件,并比较多个城市或地区。若未指定城市,则使用已配置的默认城市。每项数字都附有来源和数据年份,并说明相关限制,例如 FBI 数据发布延迟或事件信息仅覆盖部分机构。

适用场景

查询美国居住地或旅行目的地的犯罪状况、比较不同地区的趋势,或查看近期事件报告时,可以使用此技能。对于人口较少的城市,少数事件就可能显著改变人均比率,因此也可以同时查看事件绝对数量。

使用示例

  • “请整理我设置的城市的犯罪统计,并注明来源和数据年份。”
  • “这个地区的暴力犯罪在增加吗?”
  • “请比较这里和邻近城市的犯罪率。”

注意事项

此技能仅处理美国城市。首次使用时需要在配置文件中登记城市信息;若尚未设置,会询问城市和州。资料说明 FBI API 密钥可选,并非必需。技能不会报告或保存事件相关人员的姓名,也不用于调查个人。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

文档检查

AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。

安全性发送数据、删除文件、执行命令等是否有说明
A良好资料明确禁止报告或保存事件相关人员姓名。
安装难易度所需工具和 API 密钥是否少且有说明
A良好Setup.md 提供设置说明,FBI API 密钥为可选项。

不计入评分。 由 AI(OpenAI Codex)于 2026年10月28日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(7)

  • SKILL.md8.0 KB
  • DataSources.md11.0 KB
  • Intents/CompareRegion.md3.3 KB
  • Intents/IncidentReport.md4.4 KB
  • Intents/QuickStats.md2.8 KB
  • Intents/TrendAnalysis.md3.6 KB
  • Setup.md4.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

CrimeStats

Contents: Ideal State · Anti-criteria · Intent Routing · Data & Config · Data Storage · Gotchas · Examples

Pulls and analyzes US city crime statistics from public data sources — rates per 100K, year-over-year trends, recent incidents, and regional comparisons — for the configured default city or any named one. Crime stats live across a dozen sites that disagree with each other, FBI UCR data lags, incident feeds are partial, and a city name can be ambiguous across states, so the skill knows which source to trust for which question: the configured city's police portal (Config.md) for local incident data, AreaVibes, CrimeGrade and HomeSnacks for rate snapshots, CityRating and FBI UCR for multi-year trends, SpotCrime and Patch for recent incidents, and the state DOJ open-data CSVs for agency-level data.

Ideal State

  • The numbers are for the city the user meant: the named city verified by its state (and county and ZIP for the configured city), or the configured default city when none was named.
  • Every reported figure names its source and data year, and the answer flags the caveat that shapes it (source baselines that disagree, FBI lag, felony-only portal counts, partial incident feeds, small-city rate swings).
  • Rate answers carry, when available, the total, property, violent, burglary, robbery and vehicle theft rates per 100,000, the YoY change as a percentage, and the percentage above or below the national average, with absolute numbers alongside for small cities.
  • Each pull is saved as dated JSON under the Data Storage path, so a later run can compare against it.

Anti-criteria

  • Never reports or stores the names of people arrested, accused or involved in an incident: figures, offenses, dates and block-level locations only.

Intent Routing

IntentTriggerFile
QuickStats"crime stats", "how safe is", "crime rate for"Intents/QuickStats.md
TrendAnalysis"crime trends", "getting worse", "increasing crime"Intents/TrendAnalysis.md
IncidentReport"recent incidents", "what happened", "police reports this week"Intents/IncidentReport.md
CompareRegion"compare", "vs", "safer than", "how does X compare"Intents/CompareRegion.md
FileRead when
DataSources.mdchoosing or calling a source: URL patterns, the police-portal access patterns by type (CitizenRIMS, Socrata, ArcGIS, map-only), FBI and state DOJ access, the dated national averages
Setup.mdfirst-time setup: filling Config.md, finding the police portal type, the optional FBI API key, a proof command

Data & Config

All city-specific values (default city, county, state, ZIP, neighboring cities, the local police portal URL, and the concrete per-city source URLs) live in the principal's own config, not in this skill. First-time setup and a proof command: Setup.md.

<configRoot>/LIFEOS/USER/CUSTOMIZATIONS/SKILLS/CrimeStats/Config.md configRoot is $CLAUDE_CONFIG_DIR when set, else ~/.claude.

Default city: when no city is specified, use default_city (with its state, ZIP, and population) from Config.md. If Config.md is absent or default_city is unset, ask which city and state to use, and point at Setup.md so the answer can become the default; never guess a city. Load Config.md for the local police portal, neighboring cities, and city-resolved source URLs whenever an intent needs them. Skill files stay generic and describe the procedure against "the configured city."

Neighboring cities for comparison: the neighboring_cities list in Config.md (or, for any other target city, geographically adjacent cities of similar size).

Data Storage

Historical data persists at: ~/.claude/LIFEOS/MEMORY/DATA/CrimeStats/. The directory does not exist on a fresh install, so every intent runs mkdir -p ~/.claude/LIFEOS/MEMORY/DATA/CrimeStats before its first write.

File naming: YYYY-MM-DD_{city}_{state}_{intent}.json

Example: 2026-03-22_springfield_xx_quickstats.json

Gotchas

  • Police-portal counts are not FBI counts. Each portal publishes whatever offenses the department chooses (CitizenRIMS, for example, lists felonies only), so read a dataset's offense list before comparing its totals with FBI UCR figures, which include all reported offenses.
  • Portal date parameters are vendor-specific. CitizenRIMS wants JS toDateString() form with the correct weekday ("Tue Mar 24 2026") and returns 500 on a wrong one; generate the string, never type it (DataSources.md Tier 0). Socrata and ArcGIS take ISO timestamps.
  • FBI annual data lags the calendar year by five to eight months. The national estimates arrive as a First Look around May and the full Reported Crimes in the Nation report around August of the following year; agency-level monthly data has been on the Crime Data Explorer since August 2025. Check the CDE for the latest year before saying a year of FBI data does not exist, and name the data year with every figure.
  • AreaVibes vs NeighborhoodScout vs CrimeGrade use different baselines. Rates can differ 10-40% across sources. Always cite the source.
  • SpotCrime incident data is not comprehensive. It only shows reported incidents from participating agencies. Absence of data != absence of crime.
  • Same-name-different-state confusion is common. Many US cities share a name across states. Always verify you're pulling the configured city in its state (county + ZIP in Config.md), not a same-named city elsewhere.
  • Crime mapping sites are often paywalled or bot-protected. NeighborhoodScout limits free access. Fall back to AreaVibes or CrimeGrade.
  • State DOJ open-data portals have agency-level data where the state publishes it, but the explorers are client-rendered apps — use the downloadable CSV datasets, not web scraping.
  • Per-capita rates swing wildly for small cities. Below roughly 100,000 residents (check population in Config.md or the census figure for a named city) a handful of incidents moves the rate noticeably. Always show absolute numbers alongside per-100K rates.

Examples

Example 1: Quick city snapshot

User: "What are the crime stats for my city?"  (or a named city + state)
-> QuickStats intent (default city from Config.md if none named)
-> Rates per 100K, % vs national and YoY change for each category, a safety grade and a one-line takeaway, sources cited

Example 2: Trend analysis

User: "Is violent crime going up here?"
-> TrendAnalysis intent
-> YoY table against neighboring cities, the state and the nation, plus a multi-year table when the data exists and 3-5 key findings

Example 3: Recent incidents

User: "What crimes were reported in my city this week?"
-> IncidentReport intent
-> Incident list with dates, locations, types, a count summary and any patterns

Example 4: Regional comparison

User: "How does my city compare to the neighboring one for crime?"
-> CompareRegion intent (neighbors from Config.md)
-> Side-by-side table of every metric with the national baseline, YoY trends, victimization risk, and the safest city named

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

AnnualReports

免费有简介

按类别或厂商查找并获取网络安全报告,比较威胁、勒索软件、数据泄露、云安全和AI趋势。分析会注明每项数据的厂商、年份及报告,并分别呈现来源间的分歧。

  • 按类别查找威胁报告
  • 获取指定厂商的报告
  • 比较多家厂商的勒索软件趋势
danielmiessler/LifeOS2万2026年10月28日 更新

ApertureOscillation

免费有简介

通过三轮分析,对比单个功能或组件的设计需求与整个系统的目标,梳理两者的冲突、合适的实现范围,以及方案是否符合整体方向。

  • 判断服务或库是否应拆分
  • 比较功能需求与产品方向
  • 检查新组件是否符合现有系统
danielmiessler/LifeOS2万2026年10月28日 更新

Aphorisms

免费有简介

按文章主题寻找格言或引文,按相关程度排序,并附上作者和推荐理由。可添加带出处的引文、按主题研究思想家的言论、整理使用记录,帮助避免重复引用。

  • 为新闻简报寻找引文
  • 保存有出处且不重复的引文
  • 按主题研究思想家的言论
danielmiessler/LifeOS2万2026年10月28日 更新

Art

免费有简介

按用途选择制作流程,生成博客插图、技术图解、比较图、漫画和图标等视觉内容,并输出供预览的图像。

  • 制作博客标题图
  • 解释系统结构
  • 展示比较或时间线
danielmiessler/LifeOS2万2026年10月28日 更新

ArtDirection

免费有简介

依据简报和制作标准评估图片、影片、幻灯片及网站页面截图,由视觉评审给出评分和缺陷优先级,支持有限轮次的修改;通过评审后才能交付,并可记录人工评分供后续校准。

  • 按优先级整理图片修改项
  • 依标准评估影片或幻灯片
  • 发布前检查视觉效果
danielmiessler/LifeOS2万2026年10月28日 更新

ArXiv

免费有简介

按主题、研究领域或论文编号查找 arXiv 论文,并整理标题、作者、摘要和链接;查看新投稿,也可在有内容时获取 AlphaXiv 的人工智能生成概述。

  • 查看人工智能和机器学习新论文
  • 查找特定主题的论文
  • 按论文编号或 arXiv 网址查询
danielmiessler/LifeOS2万2026年10月28日 更新

查看 danielmiessler 的全部技能

报告此技能的问题