City Analysis Workflow logo

City Analysis Workflow

Community
sgarcese
city-analysis-workflow

Master workflow skill for City of Boston policy analysis and civic innovation. ALWAYS use this skill for any request involving Boston city data, city services, neighborhood equity, public policy, government performance, 311 analysis, housing, safety, transportation, or any civic issue — even if the user hasn't explicitly asked for a 'full analysis'. This skill orchestrates five sub-skills: city-problem-framing (Bloomberg-inspired), city-policy-analysis (J-PAL-inspired), city-communication (GovLab/InnovateUS-inspired), city-benchmarking (cross-city comparison using San Francisco, Seattle, and DC data), and city-performance-management (Results for America / PerformanceStat). Use this skill for: 'full analysis', 'policy brief', 'data-driven recommendation', 'city improvement project', 'investigate [issue]', 'compare Boston to other cities', 'what does the data show', 'help me write a memo about', or any request that combines problem definition, data analysis, and communication for government or civic purposes.

Overview

Publishersgarcese
RepositoryCivic-Analytics-Agent-Workflow-Claude-Skill
Skill namecity-analysis-workflow
Stars
40
Forks
9
Bundled files
11
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 11 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by sgarcese on GitHub. Read the source before you install it.

Installation

Install the City Analysis Workflow AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/sgarcese/Civic-Analytics-Agent-Workflow-Claude-Skill/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/sgarcese/Civic-Analytics-Agent-Workflow-Claude-Skill.git \
  .claude/skills/city-analysis-workflow
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable City Analysis Workflow in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads City Analysis Workflow on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so City Analysis Workflow is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

City Policy Analysis — Master Orchestrator

Four-Phase Integrated Framework

PhaseSource MethodologyWhen to UseReference File
1. FRAMEBloomberg Center for Public Innovation (JHU)Problem is undefined or needs scopingProblem_Framing_Skill.md
2. ANALYZEJ-PAL, MIT — Evidence-to-PolicyRunning numbers, finding patterns, equity analysisAnalytical_Skill.md
3. COMMUNICATEThe GovLab (NYU) / InnovateUSWriting memos, briefs, dashboards, community reportsCommunication_Skill.md
4. BENCHMARKCross-city comparison using Boston + San Francisco + Seattle + DC dataComparing Boston to peer cities, learning from elsewhereBenchmarking_Skill.md
5. PERFORMResults for America / PerformanceStat (CitiStat)Budget × staffing × service outcomes: cost-per-outcome, workload-per-FTE, efficiency trendsPerformance_Management_Skill.md

Always read the relevant sub-skill file before beginning each phase.


Quick Decision Router

User Request
│
├─ "What data does Boston have on..." / "Help me define the problem"
│   → Read Problem_Framing_Skill.md → Run Phase 1
│
├─ "Analyze / run the numbers / what does the data show / is there an equity issue"
│   → Read Analytical_Skill.md → Run Phase 2
│
├─ "Write a memo / create a brief / make a dashboard / present these findings"
│   → Read Communication_Skill.md → Run Phase 3
│
├─ "Compare Boston to other cities / how does Boston rank / what works elsewhere"
│   → Read Benchmarking_Skill.md → Run Phase 4
│
├─ "Budget vs. performance / cost per outcome / workload per FTE / are we getting results / staffing efficiency / how much does it cost to / is the department understaffed / overtime analysis"
│   → Read Performance_Management_Skill.md → Run Phase 5
│
└─ "Full analysis / investigate / give me a recommendation / policy project"
    → Run all relevant phases in sequence

MCP Tool Reference — All Three Cities

Boston Open Data (Primary)

search_datasets(query)           → Discover datasets by topic
get_dataset_info(dataset_id)     → Find resource IDs and metadata
get_datastore_schema(resource_id)→ Get exact field names before querying
query_datastore(resource_id, filters={}, sort="", limit=100, date_range={})

San Francisco Open Data (Benchmarking — Socrata)

San Francisco Open Data:socrata__search_datasets(query)
San Francisco Open Data:socrata__get_dataset(dataset_id)
San Francisco Open Data:socrata__get_schema(resource_id)
San Francisco Open Data:socrata__query_dataset(resource_id, ...)
San Francisco Open Data:socrata__execute_sql(soql_query)

Seattle Open Data (Benchmarking — Socrata)

Seattle Open Data:socrata__search_datasets(query)
Seattle Open Data:socrata__get_dataset(dataset_id)
Seattle Open Data:socrata__get_schema(resource_id)
Seattle Open Data:socrata__query_dataset(resource_id, ...)
Seattle Open Data:socrata__execute_sql(soql_query)

DC Open Data (Benchmarking — ArcGIS)

DC Open Data:arcgis__search_datasets(query)
DC Open Data:arcgis__get_dataset(dataset_id)
DC Open Data:arcgis__query_data(dataset_id, ...)
DC Open Data:arcgis__get_aggregations(dataset_id, ...)

⚠️ ALWAYS confirm field names via schema before querying any dataset in any city.


Standard MCP Sequence (All Cities)

1. search_datasets("topic")         → find dataset IDs
2. get_dataset_info("dataset-id")   → find queryable resource IDs
3. get_datastore_schema(resource_id)→ confirm EXACT field names
4. query_datastore(resource_id, ...) → retrieve records

Boston 311 Schema Cheat Sheet (Critical)

The 311 system changed in October 2025. Field names differ:

ConceptLegacy (2011–Oct 2025)New System (Oct 2025+)
Open dateopen_dtopen_date
Close dateclosed_dtclose_date
Service typetypeservice_name
Departmentdepartmentassigned_department
Neighborhoodneighborhoodneighborhood (same)
On-timeon_timeon_time (same)

Key resource IDs: dff4d804-... (2024), 9d7c2214-... (Jan–Oct 2025), 254adca6-... (New System, Oct 2025+)


Cross-Phase Quality Standards

Rigor (J-PAL): Every claim is grounded in data or clearly labeled as interpretation. Confidence level stated. Limitations named, not buried.

Human-Centeredness (Bloomberg): Problem framed around people's lived experience. Recommendations are implementable by real city staff.

Inclusivity (GovLab): Equity lens applied. Plain-language versions exist. Feedback mechanisms included.

Transparency: Data sources cited with IDs. Methodology reproducible. Findings shareable as open knowledge.


Supporting Files in This Skill Set

FilePurpose
Problem_Framing_Skill.mdBloomberg methodology: scope, stakeholders, assumptions
Analytical_Skill.mdJ-PAL methodology: descriptive → diagnostic → equity
Communication_Skill.mdGovLab/InnovateUS: memos, briefs, dashboards, engagement
Benchmarking_Skill.mdCross-city comparison using San Francisco, Seattle, and DC data; includes Performance Management Benchmarking module
TEMPLATES.mdFill-in-the-blank templates for 6 output types
CHECKLISTS.mdPre-flight and review checklists for all phases
PROMPTS.mdExample prompts organized by phase and complexity
REFERENCE.mdBoston dataset directory, field names, cross-referencing
Performance_Management_Skill.mdResults for America / PerformanceStat: budget × staffing × outcomes efficiency analysis
EXAMPLE-311-equity.mdComplete worked example: 311 response equity analysis

When Creating Documents

  • Word docs (.docx): Also read /mnt/skills/public/docx/SKILL.md
  • Presentations (.pptx): Also read /mnt/skills/public/pptx/SKILL.md
  • Spreadsheets (.xlsx): Also read /mnt/skills/public/xlsx/SKILL.md
  • Dashboards (React/HTML): Also read /mnt/skills/public/frontend-design/SKILL.md

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the City Analysis Workflow AI skill do?

Master workflow skill for City of Boston policy analysis and civic innovation. ALWAYS use this skill for any request involving Boston city data, city services, neighborhood equity, public policy, government performance, 311 analysis, housing, safety, transportation, or any civic issue — even if the user hasn't explicitly asked for a 'full analysis'. This skill orchestrates five sub-skills: city-problem-framing (Bloomberg-inspired), city-policy-analysis (J-PAL-inspired), city-communication (GovLab/InnovateUS-inspired), city-benchmarking (cross-city comparison using San Francisco, Seattle, an...

Why use City Analysis Workflow on TypingMind?

Because you install it once and use it with any model. City Analysis Workflow is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install City Analysis Workflow in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/sgarcese/Civic-Analytics-Agent-Workflow-Claude-Skill/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use City Analysis Workflow?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with City Analysis Workflow?

As many as you like. As long as a model supports skills, you can use City Analysis Workflow with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the City Analysis Workflow AI skill free?

Yes. It is published on GitHub by sgarcese under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇