Myndigheter monitoring

From Hack23/riksdagsmonitor · View interactive version

Myndigheter monitoring is an AI agent skill from the GitHub repository Hack23/riksdagsmonitor. Swedish government agencies coverage, regulatory actions, enforcement monitoring, agency performance assessment

How to use this skill

Skill file

đŸ›ïž Myndigheter Monitoring Skill

🔮 AI FIRST Quality Principle

Apply the AI FIRST principle: never accept first-pass quality. Minimum 2 iterations. Read all output, improve every section. No shortcuts.

Purpose

Provides expertise in covering Swedish government agencies (Myndigheter), their regulatory actions, enforcement activities, and performance. Essential for comprehensive government coverage beyond Riksdag and Regeringen, focusing on implementation and administration.

Core Principles

  1. Implementation Matters - Agencies translate policy into reality
  2. Accountability Focus - Monitor performance, efficiency, compliance
  3. Regulatory Transparency - Track rulemaking, enforcement, adjudication
  4. Citizen Impact - How agency actions affect daily life
  5. Cross-Agency - Understand interagency coordination and conflicts

This Skill Enforces

Key Swedish Agencies (Myndigheter)

Major National Agencies

Finance & Economy:

Social Services:

Law & Security:

Infrastructure & Environment:

Education & Culture:

Regulatory & Oversight:

When to Use This Skill

Regulatory Coverage

Performance Monitoring

Enforcement Actions

Crisis Response

Examples

Regulatory Action Coverage

**Migration Agency Tightens Family Reunification Rules**

Migrationsverket published new guidance today that significantly restricts 
family reunification for temporary protection holders, affecting an estimated 
15,000 pending applications.

**What Changed**:
- **Before**: 6-month income requirement before application
- **After**: 12-month requirement + higher income threshold (1.5x minimum)
- **Impact**: Delays family reunification by average 9 months

**Legal Basis**:
- Regeringen authorization (December 2025 decision)
- EU Temporary Protection Directive interpretation
- Swedish Aliens Act (2005:716) § 5:16

**Stakeholder Reactions**:
- **Human Rights Organizations**: "Cruel and unnecessary delay"
- **Migration Minister**: "Ensures sustainable integration"
- **Opposition (S, V, MP)**: Calls for Riksdag review
- **Asylum Advocacy Sweden**: Planning legal challenge

**International Context**:
- Denmark: 18-month requirement (strictest in EU)
- Norway: 8-month requirement
- Germany: 3-month requirement
- Sweden previously: 6 months (mid-range)

**Legal Risk**:
- Potential ECHR Article 8 (family life) challenge
- EU law conformity questions
- Swedish constitutional rights considerations

**Next Steps**:
- Rules effective March 1, 2026
- Appeals expected to Migration Court
- Parliamentary question time next week (confirmed)
- Civil society legal challenge in preparation

*Sources: Migrationsverket regulatory notice, expert interviews (3 immigration 
lawyers), stakeholder statements, comparative EU data from European Commission*

Agency Performance Investigation

**Arbetsförmedlingen Reform: 3 Years, Mixed Results**

Three years after the controversial privatization of employment services, 
data shows modest improvements in some metrics but persistent problems 
in hard-to-employ populations.

**Performance Data** (2023-2025 vs 2020-2022):

**Improved**:
- Job placement rate: 42% → 48% (+6 percentage points)
- Time to placement: 6.2 → 5.1 months (−18%)
- Cost per placement: 89,000 SEK → 76,000 SEK (−15%)

**Deteriorated**:
- Long-term unemployed >12 months: 18% → 23% (+5 pp)
- Immigrant employment gap: 12% → 15% (+3 pp)
- Youth unemployment (16-24): 18% → 21% (+3 pp)

**Analysis**:
Private providers excel at placing "job-ready" candidates (quick wins, 
lower costs). Struggle with harder cases requiring longer support. 
Payment structure incentivizes cherry-picking.

**Expert Assessment**:
- **OECD Employment Review**: "Sweden's model shows promise but needs 
  adjustment for harder-to-employ"
- **National Audit Office**: "Cost savings overstated, effectiveness for 
  vulnerable groups declining"
- **Trade Unions (LO)**: "Predicted problems materializing"

**Government Response**:
- Employment Minister: "Early days, refining payment model"
- Proposal: Bonus payments for long-term unemployed placements
- Budget: +500M SEK for vulnerable group support (2027 proposal)

**International Comparison**:
- UK: Similar problems after Work Programme privatization
- Netherlands: Hybrid public-private model performing better
- Germany: Maintained primarily public model, stable results

**Recommendation**: Payment reform urgent. Current structure creates 
perverse incentives. Consider Dutch hybrid approach.

*Sources: Arbetsförmedlingen annual reports (2020-2025), National Audit 
Office evaluation, OECD report, Statistics Sweden employment data, expert 
interviews (5 labor economists), stakeholder statements*

Agency Accountability Framework

Transparency Standards

Performance Metrics

Oversight Mechanisms

Statskontoret Enrichment Layer

The Statskontoret enrichment layer provides empirical agency-capacity evidence beneath document-level analysis. Use it whenever an implementation-feasibility.md artifact names a specific agency (KriminalvÄrden, Polismyndigheten, FörsÀkringskassan, etc.) and a feasibility claim needs grounding in published capacity data.

Index

The seed index is at CODE0. It contains the following fields per entry:

| Field | Type | Description |

|-------|------|-------------|

| title | string | Full Swedish report/dataset title |

| year | number | Publication or reference year |

| agency | string | Named agency or "*" for cross-agency |

| summary | string | One-sentence abstract |

| url | string | Canonical Statskontoret URL |

| admiralty_grade | string | Source reliability (Admiralty scale A–F / 1–6) |

| cached_at | ISO-8601 | When the entry was last verified (TTL 30 days) |

How to use in implementation-feasibility.md

  1. Look up the agency in data/statskontoret/index.json (or via a bash search on www.statskontoret.se).
  2. Populate the Statskontoret relevance row in the Feasibility Context table with the matched entry's URL and title.
  3. Cite the entry in the đŸ›ïž Administrative feasibility section, following the established "Statskontoret overlay" pattern.
  4. If no entry matches, search https://www.statskontoret.se/publikationer/ and record "none found".

CLI (fetch & persist)

# Discover downloadable links for the agency register
tsx scripts/statskontoret-fetch.ts discover --source myndighetsforteckning

# Fetch agency headcount workbook (once a URL is discovered)
tsx scripts/statskontoret-fetch.ts headcount --url <xlsx-url> --persist

# Budget outturn
tsx scripts/statskontoret-fetch.ts budget-outturn --url <xlsx-url> --source arsutfall --persist

Cache TTL

Statskontoret reports are slow-moving; refresh the index at most once every 30 days. The cached_at timestamp in each entry tracks the last verification.

Required behaviour for implementation-feasibility

When an agency is named in implementation-feasibility.md:

Remember

Statskontoret Data Integration

Statskontoret (Swedish Agency for Public Management) publishes open data that provides

authoritative, Admiralty-A1 ground truth for government-body context. Use this data

before relying on estimates or secondary sources when writing about agency headcounts,

organisational structures or central-government budget execution.

Available Datasets

| Dataset key | Title | Cadence | Primary use |

|-------------|-------|---------|-------------|

| myndighetsforteckning | Myndighetsförteckning — öppna data | Annual | Headcount by department & leadership form (2007–present) |

| arsutfall | Årsutfall för statens budget — öppna data | Annual | Annual budget outturn by appropriation & agency |

| manadsutfall | MĂ„nadsutfall för statens budget — öppna data | Monthly | High-frequency budget-execution monitoring |

| budget-time-series | Tidsserier, statens budget m.m. | Annual | Long-run central-government budget context (1995+) |

How to Fetch (agentic workflows)

The cached library helper is invoked from TypeScript code (see "Cached Fetch Module"

below). For ad-hoc CLI use, the statskontoret-fetch.ts wrapper is the entrypoint:

# CLI: list every built-in Statskontoret source
tsx scripts/statskontoret-fetch.ts list-sources

# CLI: discover downloadable files for a source
tsx scripts/statskontoret-fetch.ts discover --source myndighetsforteckning

# CLI: fetch + parse headcount workbook
tsx scripts/statskontoret-fetch.ts headcount --url <xlsx-url> --persist

# CLI: fetch + parse budget-outturn workbook
tsx scripts/statskontoret-fetch.ts budget-outturn --source arsutfall --url <xlsx-url> --doc-type Inkomst --persist

Cached Fetch Module (`scripts/fetch-statskontoret.ts`)

The fetch-statskontoret.ts module provides a 30-day TTL cache layer over the raw

HTTP client, making it suitable for agentic workflows that run daily but should only

re-download large Excel workbooks every 30 days:

import { fetchStatskontoretCached, isStatskontoretCacheFresh } from './fetch-statskontoret.js';

// Check cache freshness without a network call
if (!isStatskontoretCacheFresh('myndighetsforteckning')) {
  const payload = await fetchStatskontoretCached('myndighetsforteckning');
  // payload.fromCache === false → fresh download
  // payload.links → array of StatskontoretDownloadLink (Excel URLs)
}

On network failure the module automatically falls back to the most recent stale cache

entry, ensuring workflows remain resilient to temporary outages.

Data Provenance Rule

Any implementation-feasibility or agency-context analysis that names a Swedish

government body must annotate the headcount or budget figure with a

Statskontoret source citation:

*Headcount source: Statskontoret Myndighetsförteckning 2025
(analysis/data/statskontoret/myndighetsforteckning/) [A1]*

Admiralty grade for own-Statskontoret publications: A1 (official statistics,

primary public record).

Network Allowlist

www.statskontoret.se and statskontoret.se are included in the network.allowed

list of all 11 news-*.md agentic workflow files. No additional configuration is

required.

References


Use this skill when: Covering Swedish government agencies, analyzing regulatory actions, investigating agency performance, tracking enforcement activities, or assessing public sector accountability and effectiveness.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.