一键导入
provincial-briefing
Generate a comprehensive federal funding briefing for a specific province or territory
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate a comprehensive federal funding briefing for a specific province or territory
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Map the gift-flow network around a charity to find connected organizations and clusters
Side-by-side comparison of multiple charities on financial and circular gifting metrics
Run the circular gifting detection pipeline and interpret the top results
Profile a charity's finances, gift network, circular flows, and accountability metrics
Analyze timing of circular gift flows - same-year symmetric and adjacent-year round-trips
Audit a federal department's grant spending - recipients, concentration, amendments, and risks
| name | provincial-briefing |
| description | Generate a comprehensive federal funding briefing for a specific province or territory |
| argument-hint | [province code, e.g. AB, ON, BC, SK] |
| disable-model-invocation | true |
Generate a provincial funding briefing for $ARGUMENTS.
node -e "const db=require('./lib/db'); db.query(\"SELECT code, name_en FROM fed.province_lookup WHERE code = '\$ARGUMENTS' OR name_en ILIKE '%\$ARGUMENTS%'\").then(r=>{console.table(r.rows);db.end();})"
node -e "const db=require('./lib/db'); db.query(\`SELECT COUNT(*) AS grants, COUNT(DISTINCT recipient_legal_name) AS recipients, ROUND(SUM(agreement_value)::numeric/1e9,2) AS total_billions, COUNT(DISTINCT owner_org) AS departments, COUNT(DISTINCT prog_name_en) AS programs FROM fed.grants_contributions WHERE recipient_province='CODE' AND is_amendment=false\`).then(r=>{console.table(r.rows);db.end();})"
Compare per-capita funding against the national average ($10,621/capita). Use population data:
Get top 15 recipients in the province:
node -e "const db=require('./lib/db'); db.query(\`SELECT recipient_legal_name AS name, recipient_type, COUNT(*) AS grants, ROUND(SUM(agreement_value)::numeric/1e6,1) AS millions, COUNT(DISTINCT owner_org) AS depts FROM fed.grants_contributions WHERE recipient_province='CODE' AND is_amendment=false AND agreement_value>0 GROUP BY recipient_legal_name, recipient_type ORDER BY SUM(agreement_value) DESC LIMIT 15\`).then(r=>{console.table(r.rows);db.end();})"
node -e "const db=require('./lib/db'); db.query(\`SELECT owner_org_title AS dept, COUNT(*) AS grants, ROUND(SUM(agreement_value)::numeric/1e6,1) AS millions FROM fed.grants_contributions WHERE recipient_province='CODE' AND is_amendment=false GROUP BY owner_org_title ORDER BY SUM(agreement_value) DESC LIMIT 10\`).then(r=>{console.table(r.rows);db.end();})"
node -e "const db=require('./lib/db'); db.query(\`SELECT recipient_legal_name AS name, COUNT(*) AS grants, ROUND(SUM(agreement_value)::numeric/1e6,1) AS millions FROM fed.grants_contributions WHERE recipient_province='CODE' AND recipient_type='F' AND is_amendment=false AND (recipient_business_number IS NULL OR recipient_business_number='') AND agreement_value>0 GROUP BY recipient_legal_name HAVING SUM(agreement_value)>=100000 ORDER BY SUM(agreement_value) DESC LIMIT 15\`).then(r=>{console.table(r.rows);db.end();})"
node -e "const r=require('./data/reports/risk-register.json'); const prov=r.top_risks.filter(e=>e.province==='CODE'); console.log('Flagged in province:', prov.length); prov.slice(0,15).forEach((e,i)=>console.log((i+1)+'. ['+e.total_score+'] '+e.recipient_type+' | $'+(e.total_value/1e6).toFixed(1)+'M | '+e.name.slice(0,50)+' | Factors: '+e.factors.join(', ')));"