---
name: myndigheter-monitoring
description: Swedish government agencies coverage, regulatory actions, enforcement monitoring, agency performance assessment
license: Apache-2.0
---

# 🏛️ 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

- **Agency monitoring** - Systematic tracking of major agencies
- **Regulatory process** - Rulemaking, consultations, final rules
- **Enforcement actions** - Compliance monitoring, penalties, appeals
- **Performance assessment** - Efficiency, effectiveness, service quality
- **Interagency coordination** - Collaboration and conflict resolution
- **Public accountability** - Transparency, responsiveness, integrity

## Key Swedish Agencies (Myndigheter)

### Major National Agencies

**Finance & Economy**:
- **Skatteverket** (Tax Agency) - Tax collection, enforcement
- **Ekonomistyrningsverket (ESV)** - Financial management authority
- **Riksgäldskontoret** - National Debt Office
- **Pensionsmyndigheten** - Pensions Agency
- **Arbetsförmedlingen** - Employment Agency

**Social Services**:
- **Försäkringskassan** - Social Insurance Agency
- **Socialstyrelsen** - National Board of Health and Welfare
- **Inspektionen för vård och omsorg (IVO)** - Health and social care inspectorate
- **Folkhälsomyndigheten** - Public Health Agency
- **Migrationsverket** - Migration Agency

**Law & Security**:
- **Polismyndigheten** - Police Authority
- **Kriminalvården** - Prison and Probation Service
- **Åklagarmyndigheten** - Prosecution Authority
- **Säkerhetspolisen (SÄPO)** - Security Service
- **Kustbevakningen** - Coast Guard

**Infrastructure & Environment**:
- **Trafikverket** - Transport Administration
- **Naturvårdsverket** - Environmental Protection Agency
- **Energimyndigheten** - Energy Agency
- **Boverket** - National Board of Housing
- **Post- och telestyrelsen (PTS)** - Post and Telecom Authority

**Education & Culture**:
- **Skolverket** - National Agency for Education
- **Skolinspektionen** - Schools Inspectorate
- **Universitetskanslersämbetet (UKÄ)** - Higher Education Authority
- **Vetenskapsrådet** - Swedish Research Council
- **Kulturrådet** - Arts Council

**Regulatory & Oversight**:
- **Konkurrensverket** - Competition Authority
- **Datainspektionen** - Data Protection Authority
- **Konsumentverket** - Consumer Agency
- **Finansinspektionen** - Financial Supervisory Authority
- **Arbetsmiljöverket** - Work Environment Authority

## When to Use This Skill

### Regulatory Coverage
- New rules and regulations proposed or finalized
- Public consultations (remisser) and comment periods
- Agency guidance documents and interpretations
- Enforcement policy changes

### Performance Monitoring
- Annual reports and performance metrics
- Audit findings and recommendations
- Efficiency assessments and cost-benefit analyses
- Service quality and citizen satisfaction

### Enforcement Actions
- Major penalties and sanctions
- Compliance orders and corrective actions
- Administrative appeals and judicial review
- Enforcement patterns and priorities

### Crisis Response
- Agency role in emergencies (pandemic, natural disasters)
- Coordination with other agencies and levels of government
- Resource allocation and capacity issues
- Public communication effectiveness

## Examples

### Regulatory Action Coverage
```markdown
**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
```markdown
**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
- **Open Data** - Agency performance metrics publicly available
- **Annual Reports** - Comprehensive activity and outcomes reporting
- **Consultation** - Stakeholder input on major decisions
- **Appeals Process** - Administrative and judicial review accessible
- **Whistleblower Protection** - Safe reporting of misconduct

### Performance Metrics
- **Efficiency** - Cost per output, processing times
- **Effectiveness** - Outcome achievement, goal attainment
- **Equity** - Fair treatment across demographics
- **Responsiveness** - Citizen satisfaction, complaint resolution
- **Integrity** - Ethics compliance, corruption absence

### Oversight Mechanisms
- **Riksrevisionen** (National Audit Office) - Performance audits
- **Parliamentary Committees** - Oversight hearings
- **Ombudsman** - Citizen complaint investigation
- **Courts** - Administrative law challenges
- **Media** - Investigative reporting (that's you!)

## 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 [`data/statskontoret/index.json`](../../../data/statskontoret/index.json). 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)

```bash
# 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`:
- The **Feasibility Context** table MUST include a populated `Statskontoret relevance` row (URL or `"none found"`).
- The **Administrative feasibility** section MUST cite the Statskontoret entry or explicitly state no relevant report was found.
- Both fields are enforced by the analysis gate (`05-analysis-gate.md` Check 9b).

## Remember

- **Agencies matter** - They implement policy, affect daily life directly
- **Regulatory process** - Understand rulemaking, consultation, finalization
- **Performance data** - Use official metrics, but question methodology
- **Interagency issues** - Coordination problems create citizen problems
- **Citizen perspective** - How do agency actions affect real people?
- **Comparative analysis** - Learn from other countries' agency models
- **Accountability focus** - Agencies must be transparent and responsive
- **Long-term tracking** - Agency performance trends matter
- **Stakeholder voices** - Include citizens, experts, civil society
- **Public interest** - Agencies serve citizens, not themselves

## 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:

```bash
# 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:

```typescript
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:

```markdown
*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

- [Swedish Agency Directory](https://www.regeringen.se/regeringens-politik/myndigheter-under-regeringen/)
- [National Audit Office Reports](https://www.riksrevisionen.se/)
- [Administrative Law Resources](https://www.hogstaforvaltningsdomstolen.se/)
- [OECD Public Administration Reviews](https://www.oecd.org/governance/)
- [Transparency International Sweden](https://www.transparency.se/)
- [Swedish Agency for Public Management (Statskontoret)](https://www.statskontoret.se/)
- [Statskontoret Indicators Inventory](../../../analysis/statskontoret/indicators-inventory.json)
- [fetch-statskontoret.ts](../../../scripts/fetch-statskontoret.ts) — 30-day cache module
- [statskontoret-client.ts](../../../scripts/statskontoret-client.ts) — HTTP client library

---

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