alexanderquispe/diplomado_pucp/datosabiertos-dashboard

Claude Code and agent skill by alexanderquispe/diplomado_pucp

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Builds and launches the Peru open-data Streamlit dashboard (health IPRESS + education enrollment) from datosabiertos.gob.pe via MCP. Use when the user asks for datosabiertos dashboard, panel datos abiertos, CKAN salud educación, or datosabiertos-dashboard skill.

Install

npx vskill@latest install alexanderquispe/diplomado_pucp/datosabiertos-dashboard

SKILL.md

The same SKILL.md was published earlier as d2cml-ai/data-science-python/datosabiertos-dashboard.

datosabiertos-dashboard — Panel Salud y Educación

Fetch live data from the datosabiertos MCP server, embed parsed data in dashboard.py, and launch Streamlit.

Steps

  1. Fetch data — call get_health_edu_snapshot(200) on MCP server datosabiertos.

Returns health_establishments and education_enrollment with records, fields, total, chart_hints.

  1. Parse records — each dataset has records: [{col: val, ...}, ...].
  • Skip rows where key grouping fields are null/empty.
  • Use chart_hints and inspect fields to find columns:
  • Health: Departamento, Tipo / Clasificación
  • Education: Año Matrícula, Departamento\nColegio, Género
  • For charts, aggregate with Counter or pandas value_counts (top 12–15 categories).
  1. Overwrite `dashboard.py` — full file rewrite with:
  • Embedded HEALTH_RECORDS, EDU_RECORDS as Python lists of dicts (from snapshot, max 200 rows each).
  • Embedded FETCHED_AT, HEALTH_META, EDU_META dicts.
  • No runtime API or MCP calls in Streamlit.
  • Layout:
  • Title: Panel Datos Abiertos — Salud y Educación (Perú)
  • Subtitle: Fuente: datosabiertos.gob.pe | Actualizado: <fetched_at>
  • Row 1: barras por departamento (salud) | barras por tipo (salud)
  • Row 2: línea/barras matrícula por año | barras por departamento colegio
  • Row 3: markdown con enlaces a datasets + expanders con preview tabular
  • Footer metrics: totales muestra y totales portal
  • Colors: #C8102E (red), #003087 (navy); st.set_page_config(layout="wide"); Spanish labels; x-axis 45°.
  1. Launch Streamlit (background):
powershell
.\.venv\Scripts\streamlit run dashboard.py
  1. Report — tell the user: Dashboard actualizado y lanzado en http://localhost:8501

Error handling

  • If a dataset has errors[key] or empty records, show st.warning("No disponible: <name>") in that panel.
  • If all datasets fail, write dashboard.py with only st.error() explaining the API is unreachable; still launch Streamlit.

MCP tools reference

ToolUse
get_health_edu_snapshot(limit)Preferred for this skill
datastore_search(resource_id, limit)Single resource query
search_datasets(q)Discovery (falls back to package_list filter)
get_dataset(name)Metadata and resource IDs
list_organizations()Browse publishers

Notes

  • DataStore API may return HTML errors; MCP falls back to CSV download for curated resources.
  • Workspace root must be DatosAbiertos/ so .cursor/mcp.json resolves paths.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
58
Repository forks
101
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/alexanderquispe/diplomado_pucp/datosabiertos-dashboard/badge)](https://verified-skill.com/skills/alexanderquispe/diplomado_pucp/datosabiertos-dashboard)

Something wrong with this skill or its page? Tell us.