CrimeStats
できること
このスキルは、公的なデータソースから米国の都市の犯罪数値を取得し、傾向と比較を説明します。住んでいる、または引っ越しを考えている地域の治安を知りたい人向けです。
使う場面
- ✓検討している米国の都市の犯罪発生率を知りたいとき。
- ✓二つの都市の犯罪の推移を比べたいとき。
- ✓ある地域の近くで報告された最近の事件を見たいとき。
スキルのリンク
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/CrimeStats/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“オースティンの凶悪犯罪の発生率は、ここ数年でどう変わってきましたか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、各質問に合う情報源、例えば都市の警察のデータポータル、発生率のウェブサイト、FBI のデータなどを選びます。各数字には情報源とデータの年を付け、データの遅れなどの注意点を指摘します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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
| Intent | Trigger | File |
|---|---|---|
| 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 |
| File | Read when |
|---|---|
DataSources.md |
choosing 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.md |
first-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
よくある質問
数字は常に最新ですか?
いいえ。FBI のデータは遅れるため、スキルはすべての数字にデータの年を明記します。
サイトによって数字が違うのはなぜですか?
情報源は異なる基準を使い、しばしば食い違うため、スキルは各数字がどの情報源からのものかを示します。
都市名を指定しなければ、どの都市を使いますか?
スキルの設定に定められた自宅の都市を使います。
詳細
作者による元の説明
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.
repo: danielmiessler/LifeOS
人気
- GitHubのスター
- 20k
- ランキング
- #10419
- ライセンス
- MIT
- 更新日
- 2026/10/28
コメント
- …
このリポジトリの他のスキル
LifeOS
20kインタビューとダッシュボードを通じて、現在の状態を理想の状態へ結びつける個人システム LifeOS を、エージェントが設定するのを支援します。
AnnualReports
20k主要ベンダーのサイバーセキュリティの年次レポートを探して比較し、侵害やランサムウェアの傾向などをまとめます。すべての数字に出典を付けます。
ApertureOscillation
20k一つの設計上の問いを、狭い範囲と広い範囲の両方でテストし、構築する前に二つの答えが食い違う箇所を指摘するよう、エージェントに教えます。
Aphorisms
20k新聞の編集テーマに合う、出典の確かな引用を、キュレーションされたコレクションから見つけ、照合し、最近使ったものを避けて管理するよう、エージェントを支援します。
似ているスキル
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
slacrawl
394kローカルのSlackアーカイブ内のメッセージを検索して件数を数え、アーカイブの新しさを確認し、必要に応じて更新するようエージェントを支援します。
goplaces
394kGoogle Placesを使って、場所を検索し、詳細や口コミを取得し、場所の名前を解決するようエージェントを支援します。スクリプト用にJSON出力もできます。