Token导航 LogoToken导航

Agent Skill · 研究检索

sf-civic-digest(科幻公民文摘)

sf-civic-digest 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

sf-civic-digest 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为操作浏览器;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 27,208。

总安装 3,427周安装 140GitHub Stars 公开资料未说明下载 1,098核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:sf-civic-digest(科幻公民文摘)
来源仓库:https://github.com/sgillen/sf-civic-digest
安装命令:
openclaw skills install sf-civic-digest
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install sf-civic-digest

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

跟踪旧金山市政府活动,包括监事会、规划委员会与公开听证会等政务信息。适用于公共政策研究、市政动态监控与公众参与支持等研究检索场景。通过 openclaw skills install sf-civic-digest 安装,需确认政府数据源访问权限。依赖外部政府网站与 RSS 订阅,建议检查更新频率与数据格式。

使用前请核实是否允许抓取公共数据、执行定时任务及访问外部资源,注意版权与使用条款。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install sf-civic-digest;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

sf-civic-digest 怎么安装?

在终端执行 openclaw skills install sf-civic-digest。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

sf-civic-digest 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

sf-civic-digest 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

sf-civic-digest 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

sf-civic-digest 用的人多吗?

公开数据是累计安装 3,427 次,近一周安装 140 次,下载 1,098 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

sf-civic-digest 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
sf-civic-digest

科幻公民文摘 · 本页

3,427—操作浏览器MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
sf-civic-digest
description
Track San Francisco city government activity — Board of Supervisors, Land Use committee, Public Safety committee, SFMTA Engineering Public Hearings, SF Planning Commission, Historic Preservation Commission, Zoning Administrator hearings, Planning project notices, and SF.gov district events. Fetches agendas and recaps from SF Legistar, sfmta.com, sfplanning.org, the sf.gov Wagtail CMS API (api.sf.gov), and Socrata open data via curl-based scraping. Filtered by supervisorial district, neighborhood, streets, or topic keywords. Use when a user asks what's happening at City Hall, wants to track legislation or development in their neighborhood, wants a weekly or daily SF civic digest, asks about upcoming public hearings, planning variances, or wants to know what their supervisor is working on. SF-specific.

SF Civic Digest — SKILL.md

Cold-start note: This file is designed to be self-sufficient. An agent reading only SKILL.md should be able to run reports, generate digests, and understand the full data stack. No other context required.

Quick Start

# Step 1: Find the absolute path to this skill's scripts/ directory
#         (it's always a sibling of this SKILL.md file)
SKILL_DIR="/absolute/path/to/sf-civic-digest"

# Step 2: Run scripts using that absolute path (--district N required)
python3 "$SKILL_DIR/scripts/sf_weekly_digest.py" --district 5 --json

# Step 3: Synthesize the JSON output into a narrative report (see STYLE.md)

Note: sf_weekly_digest.py makes ~22 network calls sequentially and can take 2-3 minutes. For a quick test, try a single script first: python3 "$SKILL_DIR/scripts/sf_journalism.py" --district 5 --days 7 --json

District: Pass --district N (1–11) to any script. User preferences and neighborhood context live in USER.md — read it before writing a report. There is no civic_config.json or civic_config.example.json; those files have been removed.

⚠️ Path rule — critical for any agent (any agent, IDE, or human):

  • All scripts must be run with the absolute path to the scripts/ directory
  • Find it: scripts/ is always a sibling of this SKILL.md file
  • Example: if SKILL.md is at /home/alice/.openclaw/workspace/skills/sf-civic-digest/SKILL.md, then scripts are at /home/alice/.openclaw/workspace/skills/sf-civic-digest/scripts/
  • Never use bare relative paths like scripts/foo.py — they break when the working directory is anything other than the skill root
  • When in doubt: realpath on any script path gives you the absolute path

Architecture

Scripts are data pipelines. The agent writes the narrative.

The scripts fetch, parse, dedup, and output JSON. The agent (you) reads that JSON and synthesizes it into a report following the style guide. There is no auto-generated report — the editorial judgment is yours.

sf_weekly_digest.py --json
    └── calls all subscripts → returns combined JSON
            │
            ▼
    Agent reads JSON + STYLE.md
            │
            ▼
    Agent writes narrative report

For report generation, see Report Generation section below.


All Scripts

Canonical script location: skills/sf-civic-digest/scripts/

ScriptWhat it doesMethodNotes
sf_weekly_digest.pyMaster aggregator — calls all subscripts—Use --json for machine-readable output; pass to agent for synthesis
sf_civic_digest.pyBoard of Supervisors + all committees via Legistarcurl--daily for delta only; --days N; state in sf_civic_state.json
sfmta_hearings.pySFMTA Engineering Public Hearingscurl + PDFStreet changes, parking meters, signals. Every ~2 weeks.
sf_planning_notices.pySF Planning project notices (Section 311)curlEarliest signal layer — before commission hearings. Needs Accept: text/html header.
sf_planning_commission.pyPlanning Commission, HPC, ZA full agendascurl + PDFServer-rendered HTML (no browser). --body hpc for HPC, --body za for ZA.
sf_board_of_appeals.pyBoard of AppealsWagtail APIsf.gov CMS API (api.sf.gov). 1st & 3rd Wednesdays, 5pm. No browser needed.
sf_building_permits.pyBuilding permits citywideSocrata RESTEvery permit filed. Classified HIGH/NOTABLE/noise. State-tracked.
sfgov_events.pySupervisor office hours, district eventsREST/JSONVery sparse — supervisor events only. Low signal.
sf_311.py311 service requests by districtSocrata RESTSpike detection. Query two 7-day windows for trend comparison.
sf_ethics.pyLobbyist contacts + campaign contributionsRSS + SocrataContacts: 5f5n-tdbf. Contributions: e6py-fg8b. Column names have NO underscores.
sf_rent_board.pyRent Board commission meetingsWagtail APIsf.gov CMS API (api.sf.gov). No browser needed. Rent increase: links to sf.gov (no hardcoded value).
sf_sfmta_board.pySFMTA Board of Directorscurl1st & 3rd Tuesdays 1pm. Service changes, fare decisions, bike/ped safety.
sf_rec_park.pyRec & Park Commissioncurl (Granicus)view_id=91. sfrecpark.org is unreachable from server — Granicus only.
sf_housing_pipeline.pyAB 2011 / SB 35 / density bonus housing pipelineSocrata RESTCross-refs parcels dataset for district. Watchlist tracks 400 Divisadero. State-tracked.
sf_journalism.pyNews aggregator — 5 SF outletsRSSMission Local, Streetsblog SF, SF YIMBY, 48 Hills, SF Standard. SF Examiner 404s. Archive: sf_journalism_archive.json.
sf_volunteer_cleanups.pyCommunity cleanup eventscurl/JS bundleRefuse Refuse SF + DPW Love Our City NBDs. GoDaddy SPA — data is in JS bundle, not HTML.
sf_bart_board.pyBART Board of Directors + advisory bodiesLegistar APIwebapi.legistar.com/v1/bart/Events. Board = HIGH, advisory = MEDIUM. --next for next meeting.
sf_sfusd_board.pySFUSD Board of Education meetingsGoogle Sheets + BoardDocs2nd & 4th Tuesdays 5pm. Falls back to projected schedule if sources unavailable.
sf_evictions.pyEviction notices by districtSocrata RESTDataset 5cei-gny5. Ellis Act + OMI = displacement signals. Trend comparison (two windows). --district N.
sf_sfcta.pySF County Transportation Authoritycurl (sfcta.org)Congestion pricing, Muni Forward, bike/ped funding, Prop L sales tax. Board + CAC + committees.
sf_civic_actions.pyProtests, rallies, civic actionsMobilize.us API + IndybayNo auth. Rallies/marches = HIGH, canvass/phone bank = MEDIUM. --type rally to filter.
sf_mission_local.pyMission Local news onlyRSSSubset of sf_journalism.py. Use sf_journalism.py for multi-outlet.
config_loader.pyDistrict config loader—All 11 districts pre-populated. Pass --district N to any script.

No browser required

All scripts now work without a browser. sf_board_of_appeals.py and sf_rent_board.py use the sf.gov Wagtail CMS API (api.sf.gov/api/v2/pages/). sf_planning_commission.py uses curl against server-rendered Drupal HTML (the sfplanning.org calendar pages are not JS-dependent despite initial assumptions).


District Configuration

All scripts accept --district N (1–11). That's all you need for a basic run.

User preferences and neighborhood context (streets, addresses, people to flag) live in USER.md — a human-readable profile file. There is no civic_config.json; that file has been removed. Read USER.md to understand what the user cares about before writing any report.

District→neighborhood mappings: references/sf-districts.md Build timeline benchmarks: references/sf-build-timelines.md — Read before writing about any housing project. Includes typical phase durations, financing tracking methods, and context for whether a project is on track or stalled.


Report Generation

Agent-driven (recommended for one-off reports)

# 1. Collect data (use absolute paths — see path rule above)
python3 /absolute/path/to/sf-civic-digest/scripts/sf_weekly_digest.py --json > /tmp/civic_data.json
python3 /absolute/path/to/sf-civic-digest/scripts/sf_housing_pipeline.py --district 5 --json >> /tmp/civic_data.json
python3 /absolute/path/to/sf-civic-digest/scripts/sf_volunteer_cleanups.py --district 5 --days 14 --json >> /tmp/civic_data.json

# 2. Agent synthesizes following STYLE.md
# Read STYLE.md, read the JSON, write narrative to reports/

Agent-driven reports (quarterly, annual, deep dives)

Give your agent the workspace path and let it orchestrate:

Read STYLE.md and USER.md. Run the scripts in scripts/ to collect data for District 5, then write a Q1 2026 civic digest. Save to reports/.

⚠️ Path gotcha: Agents default to wrong relative paths. Always resolve the absolute path to scripts/ from the location of this SKILL.md before running anything. Use full absolute paths — e.g. python3 /full/path/to/scripts/sf_housing_pipeline.py. Never just scripts/SCRIPTNAME.py.

Report style

Read STYLE.md before writing any report. Key rules:

  • TLDR (5-7 bullets) first — last bullet is always one action
  • Officials box: YOUR elected officials only (supervisor, mayor, state reps)
  • Short sections (3-5 sentences), scan-and-skip
  • Connect threads across sources (lobbying + permits + 311 + journalism = one story)
  • End each thread with a specific action (date, email address, what to say)
  • Rates over counts. "Up 15%" beats "95 reports."
  • Tone: pro-building, pro-tech, car-free lens. See STYLE.md for full framing guidance.

Reference: see STYLE.md for rules and examples.


Key Data Gotchas

These will burn you if you don't know them:

Socrata column names:

  • 311 (vw6y-z8j6): supervisor_district = '5.0' (float string), date field = requested_datetime
  • Building Permits (i98e-djp9): supervisor_district = '5'. Address split across street_number/street_name/street_suffix — no combined field. estimated_cost is a string, cast in Python.
  • Lobbyist Contacts (5f5n-tdbf): NO underscores — officialname, clientname, lobbyistname
  • Lobbyist Contributions (e6py-fg8b): same — lobbyistname, candidatename, sourceoffunds
  • Planning Records (qvu5-m3a2): pim_link returns {"url": "..."} dict, not string. No supervisor_district — cross-reference parcels (acdm-wktn) by block/lot.

Legistar: The API is broken for SF (returns "Agenda Draft Status" error). Use the RSS feed instead: https://sfgov.legistar.com/Feed.ashx?M=C&ID=17442&GUID=EEE85B7C-1A1C-4A56-873E-355A0A0DE5C3&Mode=All&Format=rss Returns ~100 meetings (~6 months). Parse meeting IDs from RSS, then fetch_meeting_detail() for agenda items.

Reddit: Direct curl blocked (403, datacenter IP). Use web_fetch tool — routes differently, works.

sfrecpark.org: Completely unreachable from this server. Granicus (view_id=91) is the only path.

311 trend pattern: Query two 7-day windows (current + prior week) and show week-over-week delta. "Encampments up 15%" is useful. "95 encampments" is not.

Journalism archive: sf_journalism.py persists articles to sf_journalism_archive.json (cap 2000). For quarterly history, use --archive --days 90.


Socrata Dataset Reference

DatasetIDKey fields
Building Permitsi98e-djp9permit_number, permit_type, address (split), supervisor_district ('5'), estimated_cost (string)
311 Casesvw6y-z8j6service_name, requested_datetime, supervisor_district ('5.0')
Planning Dept Recordsqvu5-m3a2record_id, description, record_status, project_address, block, lot, number_of_units_net, pim_link (dict)
SF Parcelsacdm-wktnblock_num, lot_num, supervisor_district, zoning_code
Lobbyist Contacts5f5n-tdbfofficialname, lobbyistname, clientname, outcomesought, subjectarea, filenumber
Lobbyist Contributionse6py-fg8blobbyistname, candidatename, sourceoffunds, committeename
Assessor Parcelsfk72-cxc3property_location, parcel_number, assessed_land_value, zoning_code
Eviction Notices5cei-gny5eviction_id, address, neighborhood, file_date, supervisor_district, ellis_act_withdrawal, owner_move_in

Query pattern: https://data.sfgov.org/resource/{id}.json?$where=supervisor_district='5'&$order=date+DESC&$limit=50


Scraping Method Reference

Sitecurl works?Browser needed?
Legistar (sfgov.legistar.com)✅No
SFMTA (sfmta.com)✅No
SF Planning notices (sfplanning.org/notices)✅ (needs Accept header)No
SF Planning calendars (sfplanning.org/hearings-*)✅ (use -list views)No
SF.gov meetings (api.sf.gov)✅ (Wagtail API)No
Socrata (data.sfgov.org)✅No
SF Ethics (sfethics.org)✅No
Mission Local / journalism RSS✅No
Granicus (Rec & Park)✅No
Refuse Refuse SF (refuserefusesf.org)✅ (JS bundle)No
sfrb.org✅ (Wagtail API via api.sf.gov)No

Scheduling

Weekly digest (Monday morning)

{
  "schedule": { "kind": "cron", "expr": "0 14 * * 1", "tz": "America/Los_Angeles" },
  "payload": { "kind": "systemEvent", "text": "Run SF civic weekly digest and send summary" }
}

Daily delta (weekday noon check-in)

{
  "schedule": { "kind": "cron", "expr": "0 12 * * 1-5", "tz": "America/Los_Angeles" },
  "payload": { "kind": "systemEvent", "text": "Run SF civic daily delta and report any new agenda items" }
}

File Layout

skills/sf-civic-digest/
├── SKILL.md              ← you are here
├── STYLE.md              ← report style guide (read before writing any report)
├── USER.md               ← user profile: district, neighborhoods, streets, interests (fill this in)
├── .gitignore            ← excludes runtime state from version control
├── scripts/              ← all data pipeline scripts
│   ├── sf_weekly_digest.py      ← master aggregator
│   ├── sf_civic_digest.py       ← Board of Supervisors (Legistar)
│   ├── sfmta_hearings.py        ← SFMTA Engineering Hearings
│   ├── sf_planning_notices.py   ← Planning project notices
│   ├── sf_planning_commission.py← Planning Commission / HPC / ZA
│   ├── sf_board_of_appeals.py   ← Board of Appeals
│   ├── sf_building_permits.py   ← Building permits (Socrata)
│   ├── sfgov_events.py          ← Supervisor events
│   ├── sf_311.py                ← 311 service requests (Socrata)
│   ├── sf_ethics.py             ← Lobbyist contacts + contributions
│   ├── sf_rent_board.py         ← Rent Board
│   ├── sf_sfmta_board.py        ← SFMTA Board of Directors
│   ├── sf_rec_park.py           ← Rec & Park Commission
│   ├── sf_housing_pipeline.py   ← Housing pipeline (AB2011/SB35/density bonus)
│   ├── sf_journalism.py         ← News aggregator (5 outlets)
│   ├── sf_volunteer_cleanups.py ← Community cleanups (Refuse Refuse + DPW)
│   ├── sf_evictions.py          ← Eviction notices (Socrata)
│   ├── sf_bart_board.py         ← BART Board of Directors (Legistar)
│   ├── sf_sfusd_board.py        ← SFUSD Board of Education
│   ├── sf_sfcta.py              ← SF County Transportation Authority
│   └── config_loader.py         ← District config loader
├── reports/              ← generated reports
│   └── archive/          ← older versions
└── references/
    ├── sf-districts.md       ← district map, supervisor names, neighborhood lists
    └── sf-build-timelines.md ← build phase benchmarks, financing signals, project context

Participation Guide

How to comment at SFMTA Engineering Hearings

  • Online: join at sfmta.com/EngHearing when your item is called, raise hand
  • Phone: number + conference ID in hearing notice
  • Written: email the contact listed per item with "Public Hearing" in subject
  • Decisions posted the following Friday at sfmta.com/EngineeringResults

How to comment at Planning Commission / HPC

  • Written comments accepted before each hearing via sfplanning.org
  • HPC meets 1st and 3rd Wednesdays (low attendance, high impact)
  • In-person: City Hall Room 400

How to reach your supervisor

  • Mahmood (D5): bilal.mahmood@sfgov.org
  • Constituent meetings: request via supervisor's website
  • Board public comment: first Tuesday of each month, City Hall Room 250

平台分布

OpenClaw

72.51%
按下载量换算796

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills