CrimeStats
Qué hace
Obtiene cifras de criminalidad de ciudades de Estados Unidos a partir de fuentes de datos públicas y explica las tendencias y las comparaciones. Es para quienes quieren entender la seguridad de una ciudad o un barrio en el que viven o que están considerando.
Cuándo usarla
- ✓Cuando quieres conocer la tasa de criminalidad de una ciudad de Estados Unidos que estás considerando.
- ✓Cuando quieres comparar las tendencias de criminalidad entre dos ciudades.
- ✓Cuando quieres ver los incidentes recientes registrados cerca de un barrio.
Link de la skill
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/CrimeStats/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“¿Cómo ha cambiado la tasa de criminalidad violenta en Austin en los últimos años?”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La skill elige la fuente que encaja con cada pregunta, como el portal de datos de la policía de la ciudad, los sitios de tasas o los datos del FBI. Informa de cada cifra con su fuente y su año de datos, y señala advertencias como el retraso de los datos.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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
Preguntas frecuentes
¿Están siempre actualizadas las cifras?
No siempre. Los datos del FBI tienen retraso, así que la skill indica el año de datos de cada cifra.
¿Por qué distintos sitios muestran cifras distintas?
Las fuentes usan bases de cálculo diferentes y a menudo no coinciden, así que la skill indica de qué fuente procede cada cifra.
¿Qué ciudad usa si no nombro ninguna?
Usa una ciudad de residencia definida en la configuración de la skill.
Detalles
Descripción original del autor
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
Popularidad
- Estrellas en GitHub
- 20 mil
- Posición en el ranking
- #10419
- Licencia
- MIT
- Actualizada
- 28/10/2026
Comentarios
- …
Más skills de este repositorio
LifeOS
20 milAyuda a tu agente a configurar LifeOS, un sistema personal que relaciona tu situación actual con tu situación ideal mediante una entrevista y un panel.
AnnualReports
20 milAyuda a tu agente a buscar y comparar informes anuales de ciberseguridad de grandes proveedores, como las tendencias de brechas y ransomware, con una fuente para cada cifra.
ApertureOscillation
20 milEnseña a tu agente a probar una pregunta de diseño con un alcance estrecho y otro amplio, y después señalar dónde chocan las dos respuestas antes de construir.
Aphorisms
20 milPermite que tu agente busque, encuentre y registre citas atribuidas de una colección seleccionada, evitando las que se usaron hace poco en tu boletín.
Skills parecidas
gitcrawl
394 milPermite que tu agente busque en un archivo guardado de incidencias y pull requests de GitHub, agrupe duplicados y revise su estado actual en GitHub.
slacrawl
394 milPermite que tu agente busque y cuente mensajes en un archivo local de Slack, revise qué tan reciente es y lo actualice cuando haga falta.
goplaces
394 milAyuda a tu agente a buscar lugares, obtener sus detalles y reseñas, y resolver nombres de lugares usando Google Places, con salida JSON para scripts.