CrimeStats
What it does
Pulls crime figures for US cities from public data sources and explains trends and comparisons. It is for people who want to understand safety in a city or neighborhood they live in or are considering.
When to use it
- ✓When you want to know the crime rate in a US city you are considering.
- ✓When you want to compare crime trends between two cities.
- ✓When you want to see recent incidents reported near a neighborhood.
Skill link
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/CrimeStats/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“How has the violent crime rate in Austin changed over the last few years?”
5 new skills a week. 1 minute to read.
How it works
The skill picks the source that fits each question, such as a city police data portal, rate websites or FBI data. It reports each figure with its source and data year, and points out caveats such as data lag.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
Are the numbers always up to date?
Not always. FBI data lags behind, so the skill names the data year for every figure.
Why do different sites show different numbers?
Sources use different baselines and often disagree, so the skill names which source each figure came from.
Which city does it use if I do not name one?
It uses a home city set in the skill's configuration.
Details
Original description by the author
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
Popularity
- GitHub stars
- 20k
- Ranking position
- #10419
- License
- MIT
- Updated
- 10/28/2026
Comments
- …
More skills from this repository
LifeOS
20kHelps your agent set up LifeOS, a personal system that maps your current state to your ideal state through an interview and a dashboard.
AnnualReports
20kHelps your agent find and compare cybersecurity annual reports from major vendors, such as breach and ransomware trends, with a source for every figure.
ApertureOscillation
20kTeaches your agent to test one design question at a narrow scope and a wide scope, then name where the two answers clash before you build.
Aphorisms
20kLets your agent find, match, and track attributed quotes from a curated collection, avoiding ones recently used in your newsletter.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.