City Analysis Workflowのロゴ

City Analysis Workflow

コミュニティ
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.

概要

公開者sgarcese
リポジトリCivic-Analytics-Agent-Workflow-Claude-Skill
スキル名city-analysis-workflow
スター
40
フォーク
9
同梱ファイル
11
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 11個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    sgarceseがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「City Analysis Workflow」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/sgarcese/Civic-Analytics-Agent-Workflow-Claude-Skill/tree/main
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/sgarcese/Civic-Analytics-Agent-Workflow-Claude-Skill.git \
  .claude/skills/city-analysis-workflow
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでCity Analysis Workflowを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にCity Analysis Workflowを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、City Analysis Workflowは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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, an...

TypingMindでCity Analysis Workflowを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。City Analysis Workflowはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにCity Analysis Workflowをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/sgarcese/Civic-Analytics-Agent-Workflow-Claude-Skill/tree/mainを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

City Analysis Workflowを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

City Analysis Workflowで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもCity Analysis Workflowを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「City Analysis Workflow」は無料ですか?

はい。sgarceseがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇