CrimeStats
Что он делает
Этот скилл получает данные о преступности по городам США из открытых источников и объясняет тенденции и сравнения. Он нужен тем, кто хочет понять безопасность в городе или районе, где живёт или куда думает переехать.
Когда использовать
- ✓Когда вы хотите узнать уровень преступности в городе США, который рассматриваете.
- ✓Когда вы хотите сравнить тенденции преступности в двух городах.
- ✓Когда вы хотите увидеть недавние происшествия, о которых сообщалось рядом с районом.
Ссылка на скилл
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/CrimeStats/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Как за последние несколько лет изменился уровень насильственных преступлений в Остине?”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Скилл выбирает источник, подходящий каждому вопросу, например портал полицейских данных города, сайты с показателями или данные ФБР. Каждую цифру он приводит с источником и годом данных и указывает на оговорки, например на запаздывание данных.
Технический текст (оригинальный 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
Частые вопросы
Всегда ли цифры актуальны?
Не всегда. Данные ФБР запаздывают, поэтому скилл называет год данных для каждой цифры.
Почему разные сайты показывают разные цифры?
Источники используют разные базы и часто расходятся, поэтому скилл называет, из какого источника взята каждая цифра.
Какой город он берёт, если я не назову?
Он использует домашний город, заданный в настройках скилла.
Подробности
Оригинальное описание автора
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
- Обновлён
- 28.10.2026
Комментарии
- …
Другие скиллы из этого репозитория
LifeOS
20kПомогает вашему агенту настроить LifeOS, личную систему, которая через интервью и панель сопоставляет ваше текущее состояние с желаемым.
AnnualReports
20kПомогает вашему агенту находить и сравнивать ежегодные отчёты по кибербезопасности, с источником для каждой цифры.
ApertureOscillation
20kУчит вашего агента проверять один вопрос по проекту в узком и широком масштабе, а затем называть места, где два ответа расходятся, до начала сборки.
Aphorisms
20kПомогает вашему агенту находить, подбирать и вести учёт цитат с указанием автора из подборки, не повторяя недавно использованные.
Похожие скиллы
gitcrawl
394kПозволяет агенту искать в сохраненном архиве задач и запросов на слияние GitHub, объединять дубликаты и проверять их текущий статус на GitHub.
slacrawl
394kПозволяет агенту искать и считать сообщения в локальном архиве Slack, проверять его свежесть и при необходимости обновлять архив.
goplaces
394kПомогает агенту искать места, получать их подробности и отзывы и определять названия мест через Google Places, с выводом в JSON для скриптов.